Home
last modified time | relevance | path

Searched refs:cache_item_metadata (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/util/
Ddisk_cache.c118 struct cache_item_metadata cache_item_metadata; member
778 struct cache_item_metadata *cache_item_metadata) in create_put_job() argument
791 if (cache_item_metadata) { in create_put_job()
792 dc_job->cache_item_metadata.type = cache_item_metadata->type; in create_put_job()
793 if (cache_item_metadata->type == CACHE_ITEM_TYPE_GLSL) { in create_put_job()
794 dc_job->cache_item_metadata.num_keys = in create_put_job()
795 cache_item_metadata->num_keys; in create_put_job()
796 dc_job->cache_item_metadata.keys = (cache_key *) in create_put_job()
797 malloc(cache_item_metadata->num_keys * sizeof(cache_key)); in create_put_job()
799 if (!dc_job->cache_item_metadata.keys) in create_put_job()
[all …]
Ddisk_cache.h53 struct cache_item_metadata { struct
160 struct cache_item_metadata *cache_item_metadata);
227 struct cache_item_metadata *cache_item_metadata) in disk_cache_put() argument
/external/mesa3d/src/compiler/glsl/
Dshader_cache.cpp107 struct cache_item_metadata cache_item_metadata; in shader_cache_write_program_metadata() local
108 cache_item_metadata.type = CACHE_ITEM_TYPE_GLSL; in shader_cache_write_program_metadata()
109 cache_item_metadata.keys = in shader_cache_write_program_metadata()
111 cache_item_metadata.num_keys = prog->NumShaders; in shader_cache_write_program_metadata()
113 if (!cache_item_metadata.keys) in shader_cache_write_program_metadata()
119 memcpy(cache_item_metadata.keys[i], prog->Shaders[i]->sha1, in shader_cache_write_program_metadata()
128 &cache_item_metadata); in shader_cache_write_program_metadata()
136 free(cache_item_metadata.keys); in shader_cache_write_program_metadata()