OSDN Git Service

st/xlib: Flush the front buffer before doing CopySubBuffer
authorStéphane Marchesin <marcheu@chromium.org>
Sat, 11 May 2013 01:30:46 +0000 (18:30 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Sat, 8 Jun 2013 01:53:54 +0000 (18:53 -0700)
commit4f905d4900ea962876eb5933dd00d4b251767f71
tree699a04bb8683fc9ebc60bc1eceaab13d254f8dae
parent4e5416b0e2e0aedbed48acabe31a68fe1b37b61a
st/xlib: Flush the front buffer before doing CopySubBuffer

We flush pending rendering before running CopySubBuffer, which
ensures that the right bits get to the screen.

NOTE: This is a candidate for stable release branches.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/state_trackers/glx/xlib/xm_api.c