intel-gem: Emit an MI_FLUSH at glFlush() so frontbuffer rendering is flushed.
authorEric Anholt <eric@anholt.net>
Wed, 2 Jul 2008 18:16:30 +0000 (11:16 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 2 Jul 2008 18:16:30 +0000 (11:16 -0700)
commita995bdced20a55759dffd901c10ec5fb251191cf
treea7c51208f53c2de07875842f761b5509f6f54f87
parent4b3ed4d2d16811a624857519e95303017f4160b5
intel-gem: Emit an MI_FLUSH at glFlush() so frontbuffer rendering is flushed.

We have something similar in the X Server that covers X Server rendering, this
is the equivalent here for rendering to the front buffer.  If we cared about
avoiding this at glFlush time, we could only do this when some actual
frontbuffer rendering had occurred.

Bug #16392.
src/mesa/drivers/dri/intel/intel_context.c