glx: Support direct rendering pbuffers
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 9 Apr 2010 21:16:33 +0000 (17:16 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 9 Apr 2010 21:16:33 +0000 (17:16 -0400)
commit5a43dbac687c63ea543035319e44ca7a0acf9ff9
treec9726410d59f0452cf90300ec0f0e2f7ad3f452f
parentedb5253dfa0751e451dca7c9a494be4609390545
glx: Support direct rendering pbuffers

We've supported indirect rendering pbuffers for a while, but not direct
rendering pbuffers.  The way we do this is by creating a hidden pixmap
and wrap that in a GLX pbuffer.  This only works when we have DRI2 on
the server, but if the server doesn't have DRI2, it won't expose configs
with pbuffer bits enabled.
src/glx/glx_pbuffer.c