xserver/hw
Ian Romanick 4fad615d68 DRI2: Implement protocol for DRI2GetBuffersWithFormat
This change implements the protocol for DRI2GetBuffersWithFormat, but
the bulk of the differences are the changes to the extension / driver
interface to make this function work.  The old CreateBuffers and
DeleteBuffers routines are replaced with CreateBuffer and DeleteBuffer
(both singular).

This allows drivers to allocate buffers for a drawable one at a time.
As a result, 3D drivers can now allocate the (fake) front-buffer for a
window only when it is needed.  Since 3D drivers only ask for the
front-buffer on demand, the real front-buffer is always created.  This
allows CopyRegion impelemenations of SwapBuffers to continue working.
As with previous version of this code, if the client asks for the
front-buffer for a window, we instead give it the fake front-buffer.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kristian Høgsberg <krh@redhat.com>
2009-06-11 22:46:00 -07:00
..
dmx Fix dmx compile on 1.6 branch. 2009-01-12 10:57:11 -08:00
kdrive Refix Sun bug #6685465: Xephyr uses wrong or bad colortable in 8-bit mode 2008-11-25 16:31:11 -08:00
vfb vfb: Fix depth setup. 2009-06-11 15:19:47 -04:00
xfree86 DRI2: Implement protocol for DRI2GetBuffersWithFormat 2009-06-11 22:46:00 -07:00
xnest Warning fix 2008-11-25 15:05:18 -05:00
xquartz XQuartz: Re-enable support for capslock 2009-02-25 11:35:19 -08:00
xwin xalloc+memset(0) -> xcalloc 2008-10-06 15:36:51 -04:00
Makefile.am Remove xgl. 2008-06-12 16:00:50 -04:00