Lines Matching defs:cache
72 // Default maximum number of bytes of gpu memory of budgeted resources in the cache.
81 * Get current resource tag for gpu cache recycle.
86 * Set current resourcetag for gpu cache recycle.
98 /** Sets the max gpu memory byte size of the cache. */
142 * the cache.
148 * the cache.
153 * Release GrGpuResource objects and removes them from the cache by tag.
182 SK_LOGD("OHOS resource is not in cache, return nullptr!");
187 * Query whether a unique key exists in the cache.
231 * Purge unlocked resources from the cache until the the provided byte count has been reached
242 /** Returns true if the cache would like a flush to occur in order to make more resources
506 // Whenever a resource is added to the cache or the result of a cache lookup, fTimestamp is
584 ResourceAccess(GrResourceCache* cache) : fCache(cache) { }
589 * Insert a resource into the cache.
594 * Removes a resource from the cache.
605 * Get current resource tag for gpu cache recycle.
610 * Notifications that should be sent to the cache when the ref/io cnt status of resources