Searched refs:cache (Results 1 - 25 of 1272) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_cache.c30 * Improved cache implementation.
76 /** Max entries in the cache */
82 /** Number of entries in the cache */
91 ensure_sanity(const struct util_cache *cache);
96 * Create a new cache with 'size' entries. Also provide functions for
105 struct util_cache *cache; local in function:util_cache_create
107 cache = CALLOC_STRUCT(util_cache);
108 if (!cache)
111 cache->hash = hash;
112 cache
135 util_cache_entry_get(struct util_cache * cache,uint32_t hash,const void * key) argument
172 util_cache_entry_destroy(struct util_cache * cache,struct util_cache_entry * entry) argument
197 util_cache_set(struct util_cache * cache,void * key,void * value) argument
237 util_cache_get(struct util_cache * cache,const void * key) argument
263 util_cache_clear(struct util_cache * cache) argument
286 util_cache_destroy(struct util_cache * cache) argument
318 util_cache_remove(struct util_cache * cache,const void * key) argument
342 ensure_sanity(const struct util_cache * cache) argument
[all...]
H A Du_cache.h30 * Simple cache.
48 * Least Recently Used (LRU) cache.
54 * Create a cache.
68 util_cache_set(struct util_cache *cache,
73 util_cache_get(struct util_cache *cache,
77 util_cache_clear(struct util_cache *cache);
80 util_cache_destroy(struct util_cache *cache);
83 util_cache_remove(struct util_cache *cache,
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_cache.c30 * Improved cache implementation.
76 /** Max entries in the cache */
82 /** Number of entries in the cache */
91 ensure_sanity(const struct util_cache *cache);
96 * Create a new cache with 'size' entries. Also provide functions for
105 struct util_cache *cache; local in function:util_cache_create
107 cache = CALLOC_STRUCT(util_cache);
108 if (!cache)
111 cache->hash = hash;
112 cache
135 util_cache_entry_get(struct util_cache * cache,uint32_t hash,const void * key) argument
172 util_cache_entry_destroy(struct util_cache * cache,struct util_cache_entry * entry) argument
197 util_cache_set(struct util_cache * cache,void * key,void * value) argument
237 util_cache_get(struct util_cache * cache,const void * key) argument
263 util_cache_clear(struct util_cache * cache) argument
286 util_cache_destroy(struct util_cache * cache) argument
318 util_cache_remove(struct util_cache * cache,const void * key) argument
342 ensure_sanity(const struct util_cache * cache) argument
[all...]
H A Du_cache.h30 * Simple cache.
48 * Least Recently Used (LRU) cache.
54 * Create a cache.
68 util_cache_set(struct util_cache *cache,
73 util_cache_get(struct util_cache *cache,
77 util_cache_clear(struct util_cache *cache);
80 util_cache_destroy(struct util_cache *cache);
83 util_cache_remove(struct util_cache *cache,
H A Du_vertex_state_cache.c46 util_vertex_state_cache_init(struct util_vertex_state_cache *cache, argument
50 simple_mtx_init(&cache->lock, mtx_plain);
51 cache->set = _mesa_set_create(NULL, key_hash, key_equals);
52 cache->create = create;
53 cache->destroy = destroy;
57 util_vertex_state_cache_deinit(struct util_vertex_state_cache *cache) argument
59 if (cache->set) {
60 set_foreach(cache->set, entry) {
61 fprintf(stderr, "mesa: vertex state cache should be empty\n");
62 assert(!"vertex state cache shoul
71 util_vertex_state_cache_get(struct pipe_screen * screen,struct pipe_vertex_buffer * buffer,const struct pipe_vertex_element * elements,unsigned num_elements,struct pipe_resource * indexbuf,uint32_t full_velem_mask,struct util_vertex_state_cache * cache) argument
120 util_vertex_state_destroy(struct pipe_screen * screen,struct util_vertex_state_cache * cache,struct pipe_vertex_state * state) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/shared/
H A Dpan_minmax_cache.c27 /* Index buffer min/max cache. We need to calculate the min/max for arbitrary
29 * be quite expensive, we cache. Conceptually, we just use a hash table mapping
34 * PANFROST_MINMAX_SIZE constant (so this is a tradeoff between cache hit/miss
35 * ratio and cache search speed). Note that keys are adjacent so we get cache
36 * line alignment benefits. Insertion is O(1) and in-order until the cache
44 panfrost_minmax_cache_get(struct panfrost_minmax_cache *cache, unsigned start, unsigned count, argument
50 if (!cache)
53 for (unsigned i = 0; i < cache->size; ++i) {
54 if (cache
68 panfrost_minmax_cache_add(struct panfrost_minmax_cache * cache,unsigned start,unsigned count,unsigned min_index,unsigned max_index) argument
95 panfrost_minmax_cache_invalidate(struct panfrost_minmax_cache * cache,struct pipe_transfer * transfer) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/
H A Dtu_pipeline_cache.c48 tu_pipeline_cache_init(struct tu_pipeline_cache *cache, argument
51 cache->device = device;
52 pthread_mutex_init(&cache->mutex, NULL);
54 cache->modified = false;
55 cache->kernel_count = 0;
56 cache->total_size = 0;
57 cache->table_size = 1024;
58 const size_t byte_size = cache->table_size * sizeof(cache->hash_table[0]);
59 cache
71 tu_pipeline_cache_finish(struct tu_pipeline_cache * cache) argument
93 tu_pipeline_cache_search_unlocked(struct tu_pipeline_cache * cache,const unsigned char * sha1) argument
118 tu_pipeline_cache_search(struct tu_pipeline_cache * cache,const unsigned char * sha1) argument
133 tu_pipeline_cache_set_entry(struct tu_pipeline_cache * cache,struct cache_entry * entry) argument
155 tu_pipeline_cache_grow(struct tu_pipeline_cache * cache) argument
187 tu_pipeline_cache_add_entry(struct tu_pipeline_cache * cache,struct cache_entry * entry) argument
201 tu_pipeline_cache_load(struct tu_pipeline_cache * cache,const void * data,size_t size) argument
252 struct tu_pipeline_cache *cache; local in function:tu_CreatePipelineCache
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/
H A Ddisk_cache.c51 /* The cache version should be bumped whenever a change is made to the
52 * structure of cache entries or the index. This will give any 3rd party
53 * applications reading the cache entries a chance to adjust to the changes.
55 * - The cache version is checked internally when reading a cache entry. If we
56 * ever have a mismatch we are in big trouble as this means we had a cache
60 * - There is no strict requirement that cache versions be backwards
76 struct disk_cache *cache = NULL; local in function:disk_cache_create
91 cache = rzalloc(NULL, struct disk_cache);
92 if (cache
231 disk_cache_destroy(struct disk_cache * cache) argument
247 disk_cache_wait_for_idle(struct disk_cache * cache) argument
253 disk_cache_remove(struct disk_cache * cache,const cache_key key) argument
264 create_put_job(struct disk_cache * cache,const cache_key key,void * data,size_t size,struct cache_item_metadata * cache_item_metadata,bool take_ownership) argument
362 disk_cache_put(struct disk_cache * cache,const cache_key key,const void * data,size_t size,struct cache_item_metadata * cache_item_metadata) argument
385 disk_cache_put_nocopy(struct disk_cache * cache,const cache_key key,void * data,size_t size,struct cache_item_metadata * cache_item_metadata) argument
411 disk_cache_get(struct disk_cache * cache,const cache_key key,size_t * size) argument
450 disk_cache_put_key(struct disk_cache * cache,const cache_key key) argument
477 disk_cache_has_key(struct disk_cache * cache,const cache_key key) argument
497 disk_cache_compute_key(struct disk_cache * cache,const void * data,size_t size,cache_key key) argument
510 disk_cache_set_callbacks(struct disk_cache * cache,disk_cache_put_cb put,disk_cache_get_cb get) argument
[all...]
/xsrc/external/mit/freetype/dist/src/cache/
H A Dftccache.c5 * The FreeType internal cache interface (body).
27 #define FT_COMPONENT cache
86 /* get a top bucket for specified hash from cache,
87 * body for FTC_NODE_TOP_FOR_HASH( cache, hash )
90 ftc_get_top_node_for_hash( FTC_Cache cache, argument
97 idx = hash & cache->mask;
98 if ( idx < cache->p )
99 idx = hash & ( 2 * cache->mask + 1 );
100 pnode = cache->buckets + idx;
112 ftc_cache_resize( FTC_Cache cache ) argument
223 ftc_node_hash_unlink(FTC_Node node0,FTC_Cache cache) argument
256 ftc_node_hash_link(FTC_Node node,FTC_Cache cache) argument
275 FTC_Cache cache; local in function:ftc_node_destroy
327 FTC_Cache_Init(FTC_Cache cache) argument
334 ftc_cache_init(FTC_Cache cache) argument
350 FTC_Cache_Clear(FTC_Cache cache) argument
388 ftc_cache_done(FTC_Cache cache) argument
408 FTC_Cache_Done(FTC_Cache cache) argument
415 ftc_cache_add(FTC_Cache cache,FT_Offset hash,FTC_Node node) argument
443 FTC_Cache_NewNode(FTC_Cache cache,FT_Offset hash,FT_Pointer query,FTC_Node * anode) argument
482 FTC_Cache_Lookup(FTC_Cache cache,FT_Offset hash,FT_Pointer query,FTC_Node * anode) argument
563 FTC_Cache_RemoveFaceID(FTC_Cache cache,FTC_FaceID face_id) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
H A Dprog_cache.c83 rehash(struct gl_program_cache *cache) argument
89 cache->last = NULL;
91 size = cache->size * 3;
95 for (i = 0; i < cache->size; i++)
96 for (c = cache->items[i]; c; c = next) {
102 free(cache->items);
103 cache->items = items;
104 cache->size = size;
109 clear_cache(struct gl_context *ctx, struct gl_program_cache *cache, argument
115 cache
142 struct gl_program_cache *cache = CALLOC_STRUCT(gl_program_cache); local in function:_mesa_new_program_cache
157 _mesa_delete_program_cache(struct gl_context * ctx,struct gl_program_cache * cache) argument
165 _mesa_delete_shader_cache(struct gl_context * ctx,struct gl_program_cache * cache) argument
175 _mesa_search_program_cache(struct gl_program_cache * cache,const void * key,GLuint keysize) argument
203 _mesa_program_cache_insert(struct gl_context * ctx,struct gl_program_cache * cache,const void * key,GLuint keysize,struct gl_program * program) argument
232 _mesa_shader_cache_insert(struct gl_context * ctx,struct gl_program_cache * cache,const void * key,GLuint keysize,struct gl_shader_program * program) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/program/
H A Dprog_cache.c84 rehash(struct gl_program_cache *cache) argument
90 cache->last = NULL;
92 size = cache->size * 3;
96 for (i = 0; i < cache->size; i++)
97 for (c = cache->items[i]; c; c = next) {
103 free(cache->items);
104 cache->items = items;
105 cache->size = size;
110 clear_cache(struct gl_context *ctx, struct gl_program_cache *cache, argument
116 cache
143 struct gl_program_cache *cache = CALLOC_STRUCT(gl_program_cache); local in function:_mesa_new_program_cache
158 _mesa_delete_program_cache(struct gl_context * ctx,struct gl_program_cache * cache) argument
166 _mesa_delete_shader_cache(struct gl_context * ctx,struct gl_program_cache * cache) argument
176 _mesa_search_program_cache(struct gl_program_cache * cache,const void * key,GLuint keysize) argument
204 _mesa_program_cache_insert(struct gl_context * ctx,struct gl_program_cache * cache,const void * key,GLuint keysize,struct gl_program * program) argument
233 _mesa_shader_cache_insert(struct gl_context * ctx,struct gl_program_cache * cache,const void * key,GLuint keysize,struct gl_shader_program * program) argument
[all...]
/xsrc/external/mit/libXfont/dist/src/util/
H A Dpatcache.c64 /* Empty cache (for rehash) */
66 EmptyFontPatternCache (FontPatternCachePtr cache) argument
71 cache->buckets[i] = 0;
74 cache->entries[i].next = &cache->entries[i+1];
75 cache->entries[i].prev = 0;
76 cache->entries[i].pFont = 0;
77 free ((void *) cache->entries[i].pattern);
78 cache->entries[i].pattern = 0;
79 cache
89 FontPatternCachePtr cache; local in function:MakeFontPatternCache
105 FreeFontPatternCache(FontPatternCachePtr cache) argument
130 CacheFontPattern(FontPatternCachePtr cache,const char * pattern,int patlen,FontPtr pFont) argument
176 FindCachedFontPattern(FontPatternCachePtr cache,const char * pattern,int patlen) argument
198 RemoveCachedFontPattern(FontPatternCachePtr cache,FontPtr pFont) argument
[all...]
/xsrc/external/mit/libXfont2/dist/src/util/
H A Dpatcache.c65 /* Empty cache (for rehash) */
67 xfont2_empty_font_pattern_cache(xfont2_pattern_cache_ptr cache) argument
72 cache->buckets[i] = 0;
75 cache->entries[i].next = &cache->entries[i+1];
76 cache->entries[i].prev = 0;
77 cache->entries[i].pFont = 0;
78 free ((void *) cache->entries[i].pattern);
79 cache->entries[i].pattern = 0;
80 cache
90 xfont2_pattern_cache_ptr cache; local in function:xfont2_make_font_pattern_cache
106 xfont2_free_font_pattern_cache(xfont2_pattern_cache_ptr cache) argument
131 xfont2_cache_font_pattern(xfont2_pattern_cache_ptr cache,const char * pattern,int patlen,FontPtr pFont) argument
177 xfont2_find_cached_font_pattern(xfont2_pattern_cache_ptr cache,const char * pattern,int patlen) argument
199 xfont2_remove_cached_font_pattern(xfont2_pattern_cache_ptr cache,FontPtr pFont) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/tests/
H A Dcache_test.c24 /* A collection of unit tests for cache.c */
151 does_cache_contain(struct disk_cache *cache, const cache_key key) argument
155 result = disk_cache_get(cache, key, NULL);
166 wait_until_file_written(struct disk_cache *cache, const cache_key key) argument
177 if (does_cache_contain(cache, key)) {
186 cache_exists(struct disk_cache *cache) argument
191 if (!cache)
194 disk_cache_put(cache, dummy_key, data, sizeof(data), NULL);
195 wait_until_file_written(cache, dummy_key);
196 return disk_cache_get(cache, dummy_ke
204 struct disk_cache *cache; local in function:test_disk_cache_create
266 struct disk_cache *cache; local in function:test_put_and_get
448 struct disk_cache *cache; local in function:test_put_key_and_get_key
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dxmlconfig.h68 /** \brief Option cache
103 /** \brief Initialize option cache from info and parse configuration files
107 void driParseConfigFiles (driOptionCache *cache, const driOptionCache *info,
114 /** \brief Destroy option cache
117 void driDestroyOptionCache (driOptionCache *cache);
120 unsigned char driCheckOption (const driOptionCache *cache, const char *name,
124 unsigned char driQueryOptionb (const driOptionCache *cache, const char *name);
126 int driQueryOptioni (const driOptionCache *cache, const char *name);
128 float driQueryOptionf (const driOptionCache *cache, const char *name);
130 char *driQueryOptionstr (const driOptionCache *cache, cons
136 driComputeOptionsSha1(const driOptionCache * cache,unsigned char * sha1) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/virgl/common/
H A Dvirgl_resource_cache.c27 /* Checks whether the resource represented by a cache entry is able to hold
50 virgl_resource_cache_entry_release(struct virgl_resource_cache *cache, argument
54 cache->entry_release_func(entry, cache->user_data);
58 virgl_resource_cache_destroy_expired(struct virgl_resource_cache *cache, int64_t now) argument
61 entry, &cache->resources, head) {
67 virgl_resource_cache_entry_release(cache, entry);
72 virgl_resource_cache_init(struct virgl_resource_cache *cache, argument
78 list_inithead(&cache->resources);
79 cache
86 virgl_resource_cache_add(struct virgl_resource_cache * cache,struct virgl_resource_cache_entry * entry) argument
103 virgl_resource_cache_remove_compatible(struct virgl_resource_cache * cache,struct virgl_resource_params params) argument
149 virgl_resource_cache_flush(struct virgl_resource_cache * cache) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dbrw_program_cache.c34 * This file implements a simple program cache for 965. The consumers can
37 * data) in return. Objects in the cache may not have relocations
43 * Replacement is not implemented. Instead, when the cache gets too
44 * big we throw out all of the cache data and let it get regenerated.
146 search_cache(struct brw_cache *cache, GLuint hash, argument
154 for (c = cache->items[hash % cache->size]; c; c = c->next)
157 fprintf(stderr, "bucket %d/%d = %d/%d items\n", hash % cache->size,
158 cache->size, bucketcount, cache
171 rehash(struct brw_cache * cache) argument
197 brw_search_cache(struct brw_cache * cache,enum brw_cache_id cache_id,const void * key,GLuint key_size,uint32_t * inout_offset,void * inout_prog_data,bool flag_state) argument
230 brw_cache_new_bo(struct brw_cache * cache,uint32_t new_size) argument
272 brw_lookup_prog(const struct brw_cache * cache,enum brw_cache_id cache_id,const void * data,unsigned data_size) argument
293 brw_alloc_item_data(struct brw_cache * cache,uint32_t size) argument
316 brw_find_previous_compile(struct brw_cache * cache,enum brw_cache_id cache_id,unsigned program_string_id) argument
333 brw_upload_cache(struct brw_cache * cache,enum brw_cache_id cache_id,const void * key,GLuint key_size,const void * data,GLuint data_size,const void * prog_data,GLuint prog_data_size,uint32_t * out_offset,void * out_prog_data) argument
397 struct brw_cache *cache = &brw->cache; local in function:brw_init_caches
416 brw_clear_cache(struct brw_context * brw,struct brw_cache * cache) argument
485 brw_destroy_cache(struct brw_context * brw,struct brw_cache * cache) argument
540 const struct brw_cache *cache = &brw->cache; local in function:brw_print_program_cache
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_program_cache.c34 * This file implements a simple program cache for 965. The consumers can
37 * data) in return. Objects in the cache may not have relocations
43 * Replacement is not implemented. Instead, when the cache gets too
44 * big we throw out all of the cache data and let it get regenerated.
119 search_cache(struct brw_cache *cache, GLuint hash, argument
127 for (c = cache->items[hash % cache->size]; c; c = c->next)
130 fprintf(stderr, "bucket %d/%d = %d/%d items\n", hash % cache->size,
131 cache->size, bucketcount, cache
144 rehash(struct brw_cache * cache) argument
170 brw_search_cache(struct brw_cache * cache,enum brw_cache_id cache_id,const void * key,GLuint key_size,uint32_t * inout_offset,void * inout_prog_data,bool flag_state) argument
203 brw_cache_new_bo(struct brw_cache * cache,uint32_t new_size) argument
245 brw_lookup_prog(const struct brw_cache * cache,enum brw_cache_id cache_id,const void * data,unsigned data_size) argument
266 brw_alloc_item_data(struct brw_cache * cache,uint32_t size) argument
289 brw_find_previous_compile(struct brw_cache * cache,enum brw_cache_id cache_id,unsigned program_string_id) argument
306 brw_upload_cache(struct brw_cache * cache,enum brw_cache_id cache_id,const void * key,GLuint key_size,const void * data,GLuint data_size,const void * prog_data,GLuint prog_data_size,uint32_t * out_offset,void * out_prog_data) argument
370 struct brw_cache *cache = &brw->cache; local in function:brw_init_caches
389 brw_clear_cache(struct brw_context * brw,struct brw_cache * cache) argument
458 brw_destroy_cache(struct brw_context * brw,struct brw_cache * cache) argument
513 const struct brw_cache *cache = &brw->cache; local in function:brw_print_program_cache
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/translate/
H A Dtranslate_cache.c42 struct translate_cache *cache = MALLOC_STRUCT(translate_cache); local in function:translate_cache_create
43 if (!cache) {
47 cache->hash = cso_hash_create();
48 return cache;
52 static inline void delete_translates(struct translate_cache *cache) argument
54 struct cso_hash *hash = cache->hash;
65 void translate_cache_destroy(struct translate_cache *cache) argument
67 delete_translates(cache);
68 cso_hash_delete(cache->hash);
69 FREE(cache);
90 translate_cache_find(struct translate_cache * cache,struct translate_key * key) argument
[all...]
H A Dtranslate_cache.h29 * Translate cache.
30 * Simply used to cache created translates. Avoids unecessary creation of
42 void translate_cache_destroy(struct translate_cache *cache);
46 * If such a structure doesn't exist in the cache the function
47 * will automatically create it, insert it in the cache and
51 struct translate *translate_cache_find(struct translate_cache *cache,
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/translate/
H A Dtranslate_cache.c42 struct translate_cache *cache = MALLOC_STRUCT(translate_cache); local in function:translate_cache_create
43 if (!cache) {
47 cso_hash_init(&cache->hash);
48 return cache;
52 static inline void delete_translates(struct translate_cache *cache) argument
54 struct cso_hash *hash = &cache->hash;
65 void translate_cache_destroy(struct translate_cache *cache) argument
67 delete_translates(cache);
68 cso_hash_deinit(&cache->hash);
69 FREE(cache);
90 translate_cache_find(struct translate_cache * cache,struct translate_key * key) argument
[all...]
H A Dtranslate_cache.h29 * Translate cache.
30 * Simply used to cache created translates. Avoids unecessary creation of
42 void translate_cache_destroy(struct translate_cache *cache);
46 * If such a structure doesn't exist in the cache the function
47 * will automatically create it, insert it in the cache and
51 struct translate *translate_cache_find(struct translate_cache *cache,
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_pipeline_cache.c46 radv_pipeline_cache_lock(struct radv_pipeline_cache *cache) argument
48 if (cache->flags & VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT_EXT)
51 mtx_lock(&cache->mutex);
55 radv_pipeline_cache_unlock(struct radv_pipeline_cache *cache) argument
57 if (cache->flags & VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT_EXT)
60 mtx_unlock(&cache->mutex);
64 radv_pipeline_cache_init(struct radv_pipeline_cache *cache, struct radv_device *device) argument
66 vk_object_base_init(&device->vk, &cache->base, VK_OBJECT_TYPE_PIPELINE_CACHE);
68 cache->device = device;
69 mtx_init(&cache
89 radv_pipeline_cache_finish(struct radv_pipeline_cache * cache) argument
182 radv_pipeline_cache_search_unlocked(struct radv_pipeline_cache * cache,const unsigned char * sha1) argument
206 radv_pipeline_cache_search(struct radv_pipeline_cache * cache,const unsigned char * sha1) argument
220 radv_pipeline_cache_set_entry(struct radv_pipeline_cache * cache,struct cache_entry * entry) argument
241 radv_pipeline_cache_grow(struct radv_pipeline_cache * cache) argument
273 radv_pipeline_cache_add_entry(struct radv_pipeline_cache * cache,struct cache_entry * entry) argument
295 radv_create_shader_variants_from_pipeline_cache(struct radv_device * device,struct radv_pipeline_cache * cache,const unsigned char * sha1,struct radv_shader_variant ** variants,struct radv_pipeline_shader_stack_size ** stack_sizes,uint32_t * num_stack_sizes,bool * found_in_application_cache) argument
387 radv_pipeline_cache_insert_shaders(struct radv_device * device,struct radv_pipeline_cache * cache,const unsigned char * sha1,struct radv_shader_variant ** variants,struct radv_shader_binary * const * binaries,const struct radv_pipeline_shader_stack_size * stack_sizes,uint32_t num_stack_sizes) argument
499 radv_pipeline_cache_load(struct radv_pipeline_cache * cache,const void * data,size_t size) argument
546 struct radv_pipeline_cache *cache; local in function:radv_CreatePipelineCache
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_batch_cache.h59 #define foreach_batch(batch, cache, mask) \
60 for (uint32_t _m = (mask); _m && ((batch) = (cache)->batches[u_bit_scan(&_m)]); _m &= (mask))
62 void fd_bc_init(struct fd_batch_cache *cache);
63 void fd_bc_fini(struct fd_batch_cache *cache);
65 void fd_bc_flush(struct fd_batch_cache *cache, struct fd_context *ctx);
66 void fd_bc_flush_deferred(struct fd_batch_cache *cache, struct fd_context *ctx);
71 struct fd_batch * fd_bc_alloc_batch(struct fd_batch_cache *cache, struct fd_context *ctx, bool nondraw);
73 struct fd_batch * fd_batch_from_fb(struct fd_batch_cache *cache,
/xsrc/external/mit/xorg-server/dist/hw/xwin/glx/
H A Dglthunk.c43 glWinResolveHelper(PROC * cache, const char *symbol) argument
48 if ((*cache) == NULL) {
51 (*cache) = (PROC) - 1;
54 (*cache) = proc;
58 else if ((*cache) == (PROC) - 1) {
63 proc = (*cache);
70 static PROC cache = NULL; \
71 __stdcall proctype proc = (proctype)glWinResolveHelper(&cache, symbol); \

Completed in 41 milliseconds

1234567891011>>