Lines Matching refs:resource
23 explicit GrPendingIOResource(T* resource) { this->reset(resource); } in GrPendingIOResource() argument
24 GrPendingIOResource(sk_sp<T> resource) { *this = std::move(resource); } in GrPendingIOResource() argument
28 GrPendingIOResource& operator=(sk_sp<T> resource) {
29 this->reset(resource.get());
33 void reset(T* resource = nullptr) {
34 if (resource) {
37 resource->addPendingRead();
40 resource->addPendingWrite();
43 resource->addPendingRead();
44 resource->addPendingWrite();
49 fResource = resource;