Home
last modified time | relevance | path

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

/third_party/mesa3d/src/util/
Ddisk_cache.c269 struct disk_cache_put_job *dc_job = (struct disk_cache_put_job *) in create_put_job() local
272 if (dc_job) { in create_put_job()
273 dc_job->cache = cache; in create_put_job()
274 memcpy(dc_job->key, key, sizeof(cache_key)); in create_put_job()
276 dc_job->data = data; in create_put_job()
278 dc_job->data = dc_job + 1; in create_put_job()
279 memcpy(dc_job->data, data, size); in create_put_job()
281 dc_job->size = size; in create_put_job()
285 dc_job->cache_item_metadata.type = cache_item_metadata->type; in create_put_job()
287 dc_job->cache_item_metadata.num_keys = in create_put_job()
[all …]
Ddisk_cache_os.c596 create_cache_item_header_and_blob(struct disk_cache_put_job *dc_job, in create_cache_item_header_and_blob() argument
601 size_t max_buf = util_compress_max_compressed_len(dc_job->size); in create_cache_item_header_and_blob()
607 util_compress_deflate(dc_job->data, dc_job->size, in create_cache_item_header_and_blob()
616 if (!blob_write_bytes(cache_blob, dc_job->cache->driver_keys_blob, in create_cache_item_header_and_blob()
617 dc_job->cache->driver_keys_blob_size)) in create_cache_item_header_and_blob()
624 if (!blob_write_uint32(cache_blob, dc_job->cache_item_metadata.type)) in create_cache_item_header_and_blob()
627 if (dc_job->cache_item_metadata.type == CACHE_ITEM_TYPE_GLSL) { in create_cache_item_header_and_blob()
628 if (!blob_write_uint32(cache_blob, dc_job->cache_item_metadata.num_keys)) in create_cache_item_header_and_blob()
632 dc_job->cache_item_metadata.num_keys * sizeof(cache_key); in create_cache_item_header_and_blob()
633 if (!blob_write_bytes(cache_blob, dc_job->cache_item_metadata.keys[0], in create_cache_item_header_and_blob()
[all …]
Ddisk_cache_os.h117 disk_cache_write_item_to_disk_foz(struct disk_cache_put_job *dc_job);
120 disk_cache_write_item_to_disk(struct disk_cache_put_job *dc_job,