Lines Matching refs:resource
97 GrTGpuResourceRef(T* resource, GrIOType ioType) : INHERITED(resource, ioType) { } in GrTGpuResourceRef() argument
103 void set(T* resource, GrIOType ioType) { this->setResource(resource, ioType); } in set() argument
158 GrPendingIOResource(T* resource = NULL) : fResource(NULL) { in fResource()
159 this->reset(resource); in fResource()
162 void reset(T* resource) { in reset() argument
163 if (resource) { in reset()
166 resource->addPendingRead(); in reset()
169 resource->addPendingWrite(); in reset()
172 resource->addPendingRead(); in reset()
173 resource->addPendingWrite(); in reset()
178 fResource = resource; in reset()