intel: Don't force a batchbuffer flush in readpixels.
authorEric Anholt <eric@anholt.net>
Wed, 19 Oct 2011 17:39:15 +0000 (10:39 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 4 Nov 2011 06:29:53 +0000 (23:29 -0700)
commitac6a376f528e4867b8422e42fd36c10e4fa79cfb
treee2665754a230ecabec79d5e27e2459f4f8bbff01
parente7349a55f75e8d1155684b5ad0f9dede55eb8549
intel: Don't force a batchbuffer flush in readpixels.

Renderbuffer mapping handles flushing the batchbuffer if required, so
all we need to do is make sure any pending rendering has reached the
batchbuffer.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_context.h
src/mesa/drivers/dri/intel/intel_pixel_read.c