• Home
  • Raw
  • Download

Lines Matching full:resources

30  * Resources may have optionally have two types of keys:
31 * 1) A scratch key. This is for resources whose allocations are cached but not their contents.
32 * Multiple resources can share the same scratch key. This is so a caller can have two
35 * should never change. Resources need not have a scratch key.
55 // Default maximum number of budgeted resources in the cache.
57 // Default maximum number of bytes of gpu memory of budgeted resources in the cache.
59 // Default number of flushes a budgeted resources can go unused in the cache before it is
70 * Sets the cache limits in terms of number of resources, max gpu memory byte size, and number
78 * Returns the number of resources.
85 * Returns the number of resources that count against the budget.
90 * Returns the number of bytes consumed by resources.
95 * Returns the number of bytes consumed by budgeted resources.
100 * Returns the cached resources count budget.
105 * Returns the number of bytes consumed by cached resources.
110 * Abandons the backend API resources owned by all GrGpuResource objects and removes them from
116 * Releases the backend API resources owned by all GrGpuResource objects and removes them from
122 /** Preferentially returns scratch resources with no pending IO. */
124 /** Will not return any resources that match but have pending IO. */
160 /** Purges resources to become under budget and processes resources with invalidated unique
164 /** Purges all resources that don't have external owners. */
176 * any resources newly freed by the callback.
239 // Enumerates all cached resources and dumps their details to traceMemoryDump.
310 // purgeable resources by this value, and thus is used to purge resources in LRU order.
315 // This map holds all resources that can be used as scratch resources.
317 // This holds all resources that have unique keys.
332 // our current stats for all resources
336 // our current stats for resources that count against the budget
374 * Notifications that should be sent to the cache when the ref/io cnt status of resources