Lines Matching defs:cache

43 /* Size of cache keys in bytes. */
51 /* WARNING: 3rd party applications might be reading the cache item metadata.
68 * The cache item type. This could be used to identify a GLSL cache item,
74 /** GLSL cache item metadata */
75 cache_key *keys; /* sha1 list of shaders that make up the cache item */
110 fprintf(stderr, "Mesa: The provided filesystem timestamp for the cache "
111 "is bogus! Disabling On-disk cache.\n");
148 /* Provide inlined stub functions if the shader cache is disabled. */
153 * Create a new cache object.
158 * This cache provides two distinct operations:
183 * Destroy a cache object, (freeing all associated resources).
186 disk_cache_destroy(struct disk_cache *cache);
192 disk_cache_wait_for_idle(struct disk_cache *cache);
195 * Remove the item in the cache under the name \key.
198 disk_cache_remove(struct disk_cache *cache, const cache_key key);
201 * Store an item in the cache under the name \key.
207 * evicted from the cache.
210 disk_cache_put(struct disk_cache *cache, const cache_key key,
215 * Store an item in the cache under the name \key without copying the data param.
221 * evicted from the cache.
226 disk_cache_put_nocopy(struct disk_cache *cache, const cache_key key,
231 * Retrieve an item previously stored in the cache with the name <key>.
244 disk_cache_get(struct disk_cache *cache, const cache_key key, size_t *size);
247 * Store the name \key within the cache, (without any associated data).
253 * evicted from the cache.
256 disk_cache_put_key(struct disk_cache *cache, const cache_key key);
259 * Test whether the name \key was previously recorded in the cache.
269 disk_cache_has_key(struct disk_cache *cache, const cache_key key);
275 disk_cache_compute_key(struct disk_cache *cache, const void *data, size_t size,
279 disk_cache_set_callbacks(struct disk_cache *cache, disk_cache_put_cb put,
292 disk_cache_destroy(struct disk_cache *cache) {
297 disk_cache_put(struct disk_cache *cache, const cache_key key,
305 disk_cache_put_nocopy(struct disk_cache *cache, const cache_key key,
313 disk_cache_remove(struct disk_cache *cache, const cache_key key)
319 disk_cache_get(struct disk_cache *cache, const cache_key key, size_t *size)
325 disk_cache_put_key(struct disk_cache *cache, const cache_key key)
331 disk_cache_has_key(struct disk_cache *cache, const cache_key key)
337 disk_cache_compute_key(struct disk_cache *cache, const void *data, size_t size,
344 disk_cache_set_callbacks(struct disk_cache *cache, disk_cache_put_cb put,