Home
last modified time | relevance | path

Searched refs:tex_cache (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_context.c101 for (sh = 0; sh < ARRAY_SIZE(softpipe->tex_cache); sh++) { in softpipe_destroy()
102 for (i = 0; i < ARRAY_SIZE(softpipe->tex_cache[0]); i++) { in softpipe_destroy()
103 sp_destroy_tex_tile_cache(softpipe->tex_cache[sh][i]); in softpipe_destroy()
166 for (sh = 0; sh < ARRAY_SIZE(softpipe->tex_cache); sh++) { in softpipe_is_resource_referenced()
167 for (i = 0; i < ARRAY_SIZE(softpipe->tex_cache[0]); i++) { in softpipe_is_resource_referenced()
168 if (softpipe->tex_cache[sh][i] && in softpipe_is_resource_referenced()
169 softpipe->tex_cache[sh][i]->texture == texture) in softpipe_is_resource_referenced()
267 for (sh = 0; sh < ARRAY_SIZE(softpipe->tex_cache); sh++) { in softpipe_create_context()
268 for (i = 0; i < ARRAY_SIZE(softpipe->tex_cache[0]); i++) { in softpipe_create_context()
269 softpipe->tex_cache[sh][i] = sp_create_tex_tile_cache(&softpipe->pipe); in softpipe_create_context()
[all …]
Dsp_flush.c59 for (sh = 0; sh < ARRAY_SIZE(softpipe->tex_cache); sh++) { in softpipe_flush()
61 sp_flush_tex_tile_cache(softpipe->tex_cache[sh][i]); in softpipe_flush()
177 for (sh = 0; sh < ARRAY_SIZE(softpipe->tex_cache); sh++) { in softpipe_texture_barrier()
179 sp_flush_tex_tile_cache(softpipe->tex_cache[sh][i]); in softpipe_texture_barrier()
Dsp_state_sampler.c120 sp_tex_tile_cache_set_sampler_view(softpipe->tex_cache[shader][start + i], in softpipe_set_sampler_views()
131 sp_sviewdst->cache = softpipe->tex_cache[shader][start + i]; in softpipe_set_sampler_views()
Dsp_state_derived.c316 for (sh = 0; sh < ARRAY_SIZE(softpipe->tex_cache); sh++) { in update_tgsi_samplers()
318 struct softpipe_tex_tile_cache *tc = softpipe->tex_cache[sh][i]; in update_tgsi_samplers()
Dsp_context.h206 struct softpipe_tex_tile_cache *tex_cache[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_SAMPLER_VIEWS]; member
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_texture.c155 hash_table_foreach(fd6_ctx->tex_cache, entry) { in fd6_sampler_state_delete()
161 _mesa_hash_table_remove(fd6_ctx->tex_cache, entry); in fd6_sampler_state_delete()
370 hash_table_foreach(fd6_ctx->tex_cache, entry) { in fd6_sampler_view_destroy()
376 _mesa_hash_table_remove(fd6_ctx->tex_cache, entry); in fd6_sampler_view_destroy()
441 _mesa_hash_table_search_pre_hashed(fd6_ctx->tex_cache, hash, &key); in fd6_texture_state()
459 _mesa_hash_table_insert_pre_hashed(fd6_ctx->tex_cache, hash, in fd6_texture_state()
480 hash_table_foreach (fd6_ctx->tex_cache, entry) { in fd6_rebind_resource()
486 _mesa_hash_table_remove(fd6_ctx->tex_cache, entry); in fd6_rebind_resource()
509 fd6_ctx->tex_cache = _mesa_hash_table_create(NULL, key_hash, key_equals); in fd6_texture_init()
517 hash_table_foreach(fd6_ctx->tex_cache, entry) { in fd6_texture_fini()
[all …]
Dfd6_context.h107 struct hash_table *tex_cache; member