Searched refs:cache_item_metadata (Results 1 – 3 of 3) sorted by relevance
118 struct cache_item_metadata cache_item_metadata; member778 struct cache_item_metadata *cache_item_metadata) in create_put_job() argument791 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 …]
53 struct cache_item_metadata { struct160 struct cache_item_metadata *cache_item_metadata);227 struct cache_item_metadata *cache_item_metadata) in disk_cache_put() argument
107 struct cache_item_metadata cache_item_metadata; in shader_cache_write_program_metadata() local108 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()