st/mesa: move bitmap cache flushing out of state validation
authorBrian Paul <brianp@vmware.com>
Wed, 6 Jan 2016 01:28:57 +0000 (18:28 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 6 Jan 2016 22:53:46 +0000 (15:53 -0700)
commitb6bcf0864138787c21b19cda3749c80c6ad74604
tree68d6fe7fbb4c362e04883ac6d029841591288d3d
parentc28d72a3473ad0127c82c1244b6688dcc184e85e
st/mesa: move bitmap cache flushing out of state validation

Just do it where needed (before drawing, clearing, etc).

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_atom.c
src/mesa/state_tracker/st_cb_clear.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_drawtex.c
src/mesa/state_tracker/st_draw.c
src/mesa/state_tracker/st_draw_feedback.c