i965: Move pre-draw resolve buffers to dd::UpdateState
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 8 Aug 2014 23:24:00 +0000 (16:24 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 15 Aug 2014 17:33:41 +0000 (10:33 -0700)
commit388f02729bbf88ba104f4f8ee1fdf005a240969c
tree4aa2a05995b44121a90ab65f250dd1490ab42c9c
parentcf89b29d2f87be8ca437049e5cf3df9f54a806b2
i965: Move pre-draw resolve buffers to dd::UpdateState

No functional change except for glBegin/glEnd style rendering, where we now
do the resolves at glBegin time instead of FLUSH_VERTICES time.  This is also
the reason for this change, so that when we later switch fast clear resolve to
use meta, we won't be doing meta operations in the middle of a begin/end
sequence.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_draw.c