/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_screen.c | 745 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()
|
D | lp_screen.h | 67 struct disk_cache *disk_shader_cache; member
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_screen.c | 75 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()
|
D | nouveau_screen.h | 69 struct disk_cache *disk_shader_cache; member
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_screen.c | 109 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()
|
D | r300_screen.h | 48 struct disk_cache *disk_shader_cache; member
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_program.c | 574 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()
|
D | nvc0_shader_state.c | 58 nvc0->screen->base.disk_shader_cache, &nvc0->base.debug); in nvc0_program_validate()
|
D | nvc0_state.c | 619 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/ |
D | r600_pipe_common.c | 793 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()
|
D | r600_pipe_common.h | 343 struct disk_cache *disk_shader_cache; member
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_shaders.c | 239 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()
|
D | si_get.c | 885 return sscreen->disk_shader_cache; in si_get_disk_shader_cache()
|
D | si_pipe.c | 854 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()
|
D | si_pipe.h | 493 struct disk_cache *disk_shader_cache; member
|