xserver/hw/xfree86/dri2
Kristian Høgsberg 421606a8ef dri2: Send out event when auxillary buffers are invalidated
This lets the DRI2 clients rely on the server to notify them when they
need to get new buffers.  Without this, OpenGL clients poll the server
in glViewport() which can be a performance problems and also isn't
completely correct behaviour.

We bump the DRI2 protocol minor to indicate the availability of the
event, which the DRI2 clients can use to avoid polling.  This speeds up
various piglit and oglc test cases as well as real applications.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-05-13 06:32:04 -07:00
..
Makefile.am Don't reuse PKG_CHECK_MODULES identifiers 2009-01-18 09:49:06 -08:00
dri2.c dri2: Send out event when auxillary buffers are invalidated 2010-05-13 06:32:04 -07:00
dri2.h dri2: Send out event when auxillary buffers are invalidated 2010-05-13 06:32:04 -07:00
dri2ext.c dri2: Send out event when auxillary buffers are invalidated 2010-05-13 06:32:04 -07:00