glx: Only call DRI2 invalidate when necessary
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 10 May 2010 19:51:31 +0000 (15:51 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 10 May 2010 21:48:11 +0000 (17:48 -0400)
commit2d00d16da7f5d2255cb37b48edaf4cbb9ca7e930
treeb81c77833ec954bd3601a94163e0c67e2a97b0cd
parent7c5152c1994487a42b90b068fdc5101dbef63d36
glx: Only call DRI2 invalidate when necessary

We only need this when the server may have swapped the buffers or
when we receive an invalidate event from the server.  The default
behaviour is still that the DRI driver will invalidate its own buffers
when glViewport is called.

https://bugs.freedesktop.org/show_bug.cgi?id=27277
src/glx/dri2_glx.c