Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
skgpu::ganesh::SmallPathShapeData Class Reference

#include <SmallPathShapeData.h>

Public Member Functions

 SmallPathShapeData (const SmallPathShapeDataKey &key)
 
 SK_DECLARE_INTERNAL_LLIST_INTERFACE (SmallPathShapeData)
 

Static Public Member Functions

static const SmallPathShapeDataKeyGetKey (const SmallPathShapeData &data)
 
static uint32_t Hash (const SmallPathShapeDataKey &key)
 

Public Attributes

const SmallPathShapeDataKey fKey
 
SkRect fBounds
 
skgpu::AtlasLocator fAtlasLocator
 

Detailed Description

Definition at line 51 of file SmallPathShapeData.h.

Constructor & Destructor Documentation

◆ SmallPathShapeData()

skgpu::ganesh::SmallPathShapeData::SmallPathShapeData ( const SmallPathShapeDataKey key)
inline

Definition at line 53 of file SmallPathShapeData.h.

53: fKey(key) {}
const SmallPathShapeDataKey fKey

Member Function Documentation

◆ GetKey()

static const SmallPathShapeDataKey & skgpu::ganesh::SmallPathShapeData::GetKey ( const SmallPathShapeData data)
inlinestatic

Definition at line 61 of file SmallPathShapeData.h.

61 {
62 return data.fKey;
63 }
std::shared_ptr< const fml::Mapping > data
Definition: texture_gles.cc:63

◆ Hash()

static uint32_t skgpu::ganesh::SmallPathShapeData::Hash ( const SmallPathShapeDataKey key)
inlinestatic

Definition at line 65 of file SmallPathShapeData.h.

65 {
66 return SkChecksum::Hash32(key.data(), sizeof(uint32_t) * key.count32());
67 }
uint32_t Hash32(const void *data, size_t bytes, uint32_t seed)
Definition: SkChecksum.cpp:113

◆ SK_DECLARE_INTERNAL_LLIST_INTERFACE()

skgpu::ganesh::SmallPathShapeData::SK_DECLARE_INTERNAL_LLIST_INTERFACE ( SmallPathShapeData  )

Member Data Documentation

◆ fAtlasLocator

skgpu::AtlasLocator skgpu::ganesh::SmallPathShapeData::fAtlasLocator

Definition at line 57 of file SmallPathShapeData.h.

◆ fBounds

SkRect skgpu::ganesh::SmallPathShapeData::fBounds

Definition at line 56 of file SmallPathShapeData.h.

◆ fKey

const SmallPathShapeDataKey skgpu::ganesh::SmallPathShapeData::fKey

Definition at line 55 of file SmallPathShapeData.h.


The documentation for this class was generated from the following file: