Lines Matching defs:UniqueID
157 class UniqueID {
159 static UniqueID InvalidID() {
160 return UniqueID(uint32_t(SK_InvalidUniqueID));
164 explicit UniqueID(const GrGpuResource::UniqueID& id) : fID(id.asUInt()) { }
166 UniqueID() : fID(GrGpuResource::CreateUniqueID()) { }
170 bool operator==(const UniqueID& other) const {
173 bool operator!=(const UniqueID& other) const {
181 explicit UniqueID(uint32_t id) : fID(id) {}
201 UniqueID uniqueID() const { return fUniqueID; }
203 UniqueID underlyingUniqueID() const {
205 return UniqueID(fTarget->uniqueID());
365 // Deferred version - takes a new UniqueID from the shared resource/proxy pool.
373 // Lazy-callback version - takes a new UniqueID from the shared resource/proxy pool.
383 // Wrapped version - shares the UniqueID of the passed surface.
444 const UniqueID fUniqueID; // set from the backing resource for wrapped resources