Lines Matching refs:UniqueID
271 class UniqueID {
273 static UniqueID InvalidID() { in InvalidID()
274 return UniqueID(uint32_t(SK_InvalidUniqueID)); in InvalidID()
278 explicit UniqueID(const GrGpuResource::UniqueID& id) : fID(id.asUInt()) { } in UniqueID() function
280 UniqueID() : fID(GrGpuResource::CreateUniqueID()) { } in UniqueID() function
284 bool operator==(const UniqueID& other) const {
287 bool operator!=(const UniqueID& other) const {
295 explicit UniqueID(uint32_t id) : fID(id) {} in UniqueID() function
315 UniqueID uniqueID() const { return fUniqueID; } in uniqueID()
317 UniqueID underlyingUniqueID() const { in underlyingUniqueID()
319 return UniqueID(fTarget->uniqueID()); in underlyingUniqueID()
493 const UniqueID fUniqueID; // set from the backing resource for wrapped resources