Home | History | Annotate | Download | only in vk

Lines Matching refs:gpu

114         Any GPU data associated with this resource will be freed before it's deleted.
116 void unref(const GrVkGpu* gpu) const {
118 SkASSERT(gpu);
123 this->internal_dispose(gpu);
127 /** Unref without freeing GPU data. Used only when we're abandoning the resource */
154 virtual void freeGPUData(const GrVkGpu* gpu) const = 0;
166 void internal_dispose(const GrVkGpu* gpu) const {
167 this->freeGPUData(gpu);
203 void recycle(GrVkGpu* gpu) const {
205 this->onRecycle(gpu);
207 this->unref(gpu);
212 virtual void onRecycle(GrVkGpu* gpu) const = 0;