8#ifndef GrProgramDesc_DEFINED
9#define GrProgramDesc_DEFINED
45 return this->fKey == that.fKey;
49 return !(*
this == other);
105 uint32_t fInitialKeyLength = 0;
static constexpr bool SkIsAlign4(T x)
constexpr int SkToInt(S x)
constexpr uint32_t SkToU32(S x)
static bool BuildFromData(GrProgramDesc *desc, const void *keyData, size_t keyLength)
uint32_t keyLength() const
bool operator==(const GrProgramDesc &that) const
GrProgramDesc(const GrProgramDesc &other)=default
GrProgramDesc & operator=(const GrProgramDesc &other)=default
uint32_t initialKeyLength() const
const uint32_t * asKey() const
static void Build(GrProgramDesc *, const GrProgramInfo &, const GrCaps &)
bool operator!=(const GrProgramDesc &other) const
static SkString Describe(const GrProgramInfo &, const GrCaps &)