summaryrefslogtreecommitdiff
path: root/include/resource.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-05-11 10:52:18 -0400
committerKeith Packard <keithp@keithp.com>2010-05-13 06:32:04 -0700
commit421606a8ef447d10c2ee0986f20e752056a47675 (patch)
treee09232e529f07bc0d3a85d42323c40177c721fc3 /include/resource.h
parentf281db9a5e400c822e03a19937247baa20ecc213 (diff)
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>
Diffstat (limited to 'include/resource.h')
0 files changed, 0 insertions, 0 deletions