Searched defs:GrCacheID (Results 1 – 1 of 1) sorted by relevance
478 struct GrCacheID { struct493 GrCacheID() { fDomain = kInvalid_Domain; } in GrCacheID() argument498 GrCacheID(Domain domain, const Key& key) { in GrCacheID() function503 void reset(Domain domain, const Key& key) { in reset()509 bool isValid() const { return kInvalid_Domain != fDomain; } in isValid()511 const Key& getKey() const { GrAssert(this->isValid()); return fKey; } in getKey()512 Domain getDomain() const { GrAssert(this->isValid()); return fDomain; } in getDomain()519 Domain fDomain;521 static const Domain kInvalid_Domain = 0;