8#ifndef SmallPathShapeData_DEFINED
9#define SmallPathShapeData_DEFINED
11#if !defined(SK_ENABLE_OPTIMIZE_SIZE)
25 memcpy(fKey.
get(), that.fKey.
get(), fKey.
count() *
sizeof(uint32_t));
38 0 == memcmp(fKey.
get(), that.fKey.
get(),
sizeof(uint32_t) * fKey.
count());
42 const uint32_t*
data()
const {
return fKey.
get(); }
const uint32_t * data() const
bool operator==(const SmallPathShapeDataKey &that) const
SmallPathShapeDataKey & operator=(const SmallPathShapeDataKey &)=delete
SmallPathShapeDataKey(const SmallPathShapeDataKey &that)
skgpu::AtlasLocator fAtlasLocator
static uint32_t Hash(const SmallPathShapeDataKey &key)
SK_DECLARE_INTERNAL_LLIST_INTERFACE(SmallPathShapeData)
static const SmallPathShapeDataKey & GetKey(const SmallPathShapeData &data)
SmallPathShapeData(const SmallPathShapeDataKey &key)
const SmallPathShapeDataKey fKey
uint32_t Hash32(const void *data, size_t bytes, uint32_t seed)