Lines Matching refs:GrUniqueKey
238 class GrUniqueKey : public GrResourceKey {
248 GrUniqueKey() : fTag(nullptr) {} in GrUniqueKey() function
250 GrUniqueKey(const GrUniqueKey& that) { *this = that; } in GrUniqueKey() function
257 GrUniqueKey& operator=(const GrUniqueKey& that) {
264 bool operator==(const GrUniqueKey& that) const { return this->INHERITED::operator==(that); }
265 bool operator!=(const GrUniqueKey& that) const { return !(*this == that); }
281 Builder(GrUniqueKey* key, Domain type, int data32Count, const char* tag = nullptr)
287 Builder(GrUniqueKey* key, const GrUniqueKey& innerKey, Domain domain, int extraData32Cnt,
300 static int Data32CntForInnerKey(const GrUniqueKey& innerKey) { in Data32CntForInnerKey()
322 static SkAlignedSTStorage<1, GrUniqueKey> name##_storage; \
324 static const GrUniqueKey& name = *reinterpret_cast<GrUniqueKey*>(name##_storage.get())
326 static inline void gr_init_static_unique_key_once(SkAlignedSTStorage<1, GrUniqueKey>* keyStorage) { in gr_init_static_unique_key_once()
327 GrUniqueKey* key = new (keyStorage->get()) GrUniqueKey; in gr_init_static_unique_key_once()
328 GrUniqueKey::Builder builder(key, GrUniqueKey::GenerateDomain(), 0); in gr_init_static_unique_key_once()
335 GrUniqueKeyInvalidatedMessage(const GrUniqueKey& key, uint32_t contextUniqueID) in GrUniqueKeyInvalidatedMessage()
344 const GrUniqueKey& key() const { return fKey; } in key()
348 GrUniqueKey fKey;