glx: Provide the __DRI_USE_INVALIDATE extension to the driver when we can
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 11 May 2010 13:42:57 +0000 (09:42 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 11 May 2010 14:23:53 +0000 (10:23 -0400)
commit4258e3a2e1c3278694ed10f7fc544d2154d91a96
tree4d58bff9d09f8d9a888d13b85bb0781b185fe322
parent97a6cbc6dd8e62653d7481c6f651f2a5fb10aa0e
glx: Provide the __DRI_USE_INVALIDATE extension to the driver when we can

When we have DRI2 protocol at least 2.3, we get an event from the
server when the back buffers get invalidated.  When that's the case
let the driver know that it can rely on invalidate instead of the
glViewport polling.
src/glx/dri2_glx.c