Lines Matching refs:softpipe
51 struct softpipe_context *softpipe = softpipe_context(pipe); in softpipe_flush() local
54 draw_flush(softpipe->draw); in softpipe_flush()
59 for (sh = 0; sh < ARRAY_SIZE(softpipe->tex_cache); sh++) { in softpipe_flush()
60 for (i = 0; i < softpipe->num_sampler_views[sh]; i++) { in softpipe_flush()
61 sp_flush_tex_tile_cache(softpipe->tex_cache[sh][i]); in softpipe_flush()
71 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++) in softpipe_flush()
72 if (softpipe->cbuf_cache[i]) in softpipe_flush()
73 sp_flush_tile_cache(softpipe->cbuf_cache[i]); in softpipe_flush()
75 if (softpipe->zsbuf_cache) in softpipe_flush()
76 sp_flush_tile_cache(softpipe->zsbuf_cache); in softpipe_flush()
78 softpipe->dirty_render_cache = FALSE; in softpipe_flush()
86 debug_dump_surface_bmp(pipe, filename, softpipe->framebuffer.cbufs[0]); in softpipe_flush()
88 debug_dump_surface_bmp(pipe, filename, softpipe->framebuffer.zsbuf); in softpipe_flush()
174 struct softpipe_context *softpipe = softpipe_context(pipe); in softpipe_texture_barrier() local
177 for (sh = 0; sh < ARRAY_SIZE(softpipe->tex_cache); sh++) { in softpipe_texture_barrier()
178 for (i = 0; i < softpipe->num_sampler_views[sh]; i++) { in softpipe_texture_barrier()
179 sp_flush_tex_tile_cache(softpipe->tex_cache[sh][i]); in softpipe_texture_barrier()
183 for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++) in softpipe_texture_barrier()
184 if (softpipe->cbuf_cache[i]) in softpipe_texture_barrier()
185 sp_flush_tile_cache(softpipe->cbuf_cache[i]); in softpipe_texture_barrier()
187 if (softpipe->zsbuf_cache) in softpipe_texture_barrier()
188 sp_flush_tile_cache(softpipe->zsbuf_cache); in softpipe_texture_barrier()
190 softpipe->dirty_render_cache = FALSE; in softpipe_texture_barrier()