Home
last modified time | relevance | path

Searched refs:disk_shader_cache (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_screen.c745 disk_cache_destroy(screen->disk_shader_cache); in llvmpipe_destroy_screen()
819 screen->disk_shader_cache = disk_cache_create("llvmpipe", cache_id, 0); in lp_disk_cache_create()
826 return screen->disk_shader_cache; in lp_get_disk_shader_cache()
835 if (!screen->disk_shader_cache) in lp_disk_cache_find_shader()
837 disk_cache_compute_key(screen->disk_shader_cache, ir_sha1_cache_key, 20, sha1); in lp_disk_cache_find_shader()
840 uint8_t *buffer = disk_cache_get(screen->disk_shader_cache, sha1, &binary_size); in lp_disk_cache_find_shader()
857 if (!screen->disk_shader_cache || !cache->data_size || cache->dont_cache) in lp_disk_cache_insert_shader()
859 disk_cache_compute_key(screen->disk_shader_cache, ir_sha1_cache_key, 20, sha1); in lp_disk_cache_insert_shader()
860 disk_cache_put(screen->disk_shader_cache, sha1, cache->data, cache->data_size, NULL); in lp_disk_cache_insert_shader()
Dlp_screen.h67 struct disk_cache *disk_shader_cache; member
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_screen.c75 return nouveau_screen(pscreen)->disk_shader_cache; in nouveau_screen_get_disk_shader_cache()
178 screen->disk_shader_cache = in nouveau_disk_cache_create()
371 disk_cache_destroy(screen->disk_shader_cache); in nouveau_screen_fini()
Dnouveau_screen.h69 struct disk_cache *disk_shader_cache; member
/external/mesa3d/src/gallium/drivers/r300/
Dr300_screen.c109 r300screen->disk_shader_cache = in r300_disk_cache_create()
118 return r300screen->disk_shader_cache; in r300_get_disk_shader_cache()
659 disk_cache_destroy(r300screen->disk_shader_cache); in r300_destroy_screen()
Dr300_screen.h48 struct disk_cache *disk_shader_cache; member
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_program.c574 struct disk_cache *disk_shader_cache, in nvc0_program_translate() argument
646 if (disk_shader_cache) { in nvc0_program_translate()
650 disk_cache_compute_key(disk_shader_cache, blob.data, blob.size, key); in nvc0_program_translate()
651 cached_data = disk_cache_get(disk_shader_cache, key, &cache_size); in nvc0_program_translate()
673 if (disk_shader_cache) { in nvc0_program_translate()
675 disk_cache_put(disk_shader_cache, key, blob.data, blob.size, NULL); in nvc0_program_translate()
Dnvc0_shader_state.c58 nvc0->screen->base.disk_shader_cache, &nvc0->base.debug); in nvc0_program_validate()
Dnvc0_state.c619 nvc0_context(pipe)->screen->base.disk_shader_cache, in nvc0_sp_state_create()
759 nvc0_context(pipe)->screen->base.disk_shader_cache, in nvc0_cp_state_create()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe_common.c793 rscreen->disk_shader_cache = in r600_disk_cache_create()
802 return rscreen->disk_shader_cache; in r600_get_disk_shader_cache()
1372 disk_cache_destroy(rscreen->disk_shader_cache); in r600_destroy_common_screen()
Dr600_pipe_common.h343 struct disk_cache *disk_shader_cache; member
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c239 if (sscreen->disk_shader_cache && insert_into_disk_cache) { in si_shader_cache_insert_shader()
240 disk_cache_compute_key(sscreen->disk_shader_cache, ir_sha1_cache_key, 20, key); in si_shader_cache_insert_shader()
241 disk_cache_put(sscreen->disk_shader_cache, key, hw_binary, *((uint32_t *)hw_binary), NULL); in si_shader_cache_insert_shader()
258 if (!sscreen->disk_shader_cache) in si_shader_cache_load_shader()
262 disk_cache_compute_key(sscreen->disk_shader_cache, ir_sha1_cache_key, 20, sha1); in si_shader_cache_load_shader()
265 uint8_t *buffer = disk_cache_get(sscreen->disk_shader_cache, sha1, &binary_size); in si_shader_cache_load_shader()
279 disk_cache_remove(sscreen->disk_shader_cache, sha1); in si_shader_cache_load_shader()
Dsi_get.c885 return sscreen->disk_shader_cache; in si_get_disk_shader_cache()
Dsi_pipe.c854 disk_cache_destroy(sscreen->disk_shader_cache); in si_destroy_screen()
946 sscreen->disk_shader_cache = disk_cache_create(sscreen->info.name, cache_id, in si_disk_cache_create()
Dsi_pipe.h493 struct disk_cache *disk_shader_cache; member