Lines Matching defs:resource
35 // Only the cache should be able to add the first ref to a resource.
226 * Retrieves the amount of GPU memory used by this resource in bytes. It is
265 /** Returns the current unique key for the resource. It will be invalid if the resource has no
270 * Internal-only helper class used for manipulations of the resource by the cache.
277 * Internal-only helper class used for manipulations of the resource by GrSurfaceProxy.
283 * Internal-only helper class used for manipulations of the resource by internal code.
297 * Describes the type of gpu resource that is represented by the implementing
308 * Set the resource tag.
313 * Get the resource tag.
347 * Returns a string that uniquely identifies this resource.
366 * Called by the registerWithCache if the resource is available to be used as scratch.
399 // An index into a heap when this resource is purgeable or an array when not. This is maintained
402 // This value reflects how recently this resource was accessed in the cache. This is maintained
432 ProxyAccess(GrGpuResource* resource) : fResource(resource) {}
434 /** Proxies are allowed to take a resource from no refs to one ref. */