8#ifndef skgpu_graphite_PaintParamsKey_DEFINED
9#define skgpu_graphite_PaintParamsKey_DEFINED
28class ShaderCodeDictionary;
31class UniquePaintParamsID;
75 return fData.
size() == that.fData.
size() &&
179 void pushStack(int32_t codeSnippetID);
185 int fNumExpectedChildren;
186 int fNumActualChildren = 0;
189 const ShaderCodeDictionary* fDict;
191 bool fLocked =
false;
199 , fKey(
builder->lockAsKey()) {}
SkDEBUGCODE(SK_SPI) SkThreadID SkGetThreadID()
static void dump(const float m[20], SkYUVColorSpace cs, bool rgb2yuv)
constexpr T * data() const
constexpr bool empty() const
constexpr size_t size_bytes() const
constexpr size_t size() const
const PaintParamsKey & operator*() const
AutoLockBuilderAsKey(PaintParamsKeyBuilder *builder)
const PaintParamsKey * operator->() const
void addBlock(BuiltInCodeSnippetID id)
void beginBlock(int32_t codeSnippetID)
void addData(SkSpan< const uint32_t > data)
PaintParamsKeyBuilder(const ShaderCodeDictionary *dict)
void beginBlock(BuiltInCodeSnippetID id)
constexpr PaintParamsKey(const PaintParamsKey &)=default
bool operator==(const PaintParamsKey &that) const
PaintParamsKey clone(SkArenaAlloc *) const
PaintParamsKey & operator=(const PaintParamsKey &)=default
SkString toString(const ShaderCodeDictionary *dict, bool includeData) const
static constexpr PaintParamsKey Invalid()
SkSpan< const ShaderNode * > getRootNodes(const ShaderCodeDictionary *, SkArenaAlloc *) const
bool operator!=(const PaintParamsKey &that) const
~PaintParamsKey()=default
uint32_t Hash32(const void *data, size_t bytes, uint32_t seed)
uint32_t operator()(const PaintParamsKey &k) const
std::shared_ptr< const fml::Mapping > data