st/mesa: invalidate readpixels cache
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 9 Jun 2016 10:16:26 +0000 (12:16 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 21 Jun 2016 08:54:19 +0000 (10:54 +0200)
commita571859fc446a9ba106ba4586603b5a01e7cc52a
tree5a0cb9e25e4ae2ff81cffb6462b4eb0ec8e8d2c3
parent615ba115632c602d2a77535c1d52024f827a0ace
st/mesa: invalidate readpixels cache

Whenever a draw happens or some other function call might change the result
of future glReadPixels calls, we must invalidate the cache.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
12 files changed:
src/mesa/state_tracker/st_atom_framebuffer.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_blit.c
src/mesa/state_tracker/st_cb_clear.c
src/mesa/state_tracker/st_cb_compute.c
src/mesa/state_tracker/st_cb_copyimage.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_drawtex.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_draw.c
src/mesa/state_tracker/st_draw_feedback.c
src/mesa/state_tracker/st_gen_mipmap.c