xserver/hw/xfree86
Ian Romanick ff6c7764c2 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-04-24 12:49:19 -07:00
..
common randr: Accept gamma set requests from XF86VidMode clients too 2009-04-17 17:47:54 -04:00
ddc DDC: Redo extended device probe slightly. 2009-02-27 12:45:19 -05:00
dixmods Fix byte swapping of XF86VidMode{Get,Set}GammaRamp 2009-04-24 00:23:50 -07:00
doc Remove references to rgb.txt from files section of Xserver and Xorg man pages 2009-02-27 14:42:59 +00:00
dri DRI1: Make DRICreateDrawable return TRUE for pixmaps. 2009-02-23 16:52:51 +01:00
dri2 DRI2: Implement protocol for DRI2GetBuffersWithFormat 2009-04-24 12:49:19 -07:00
exa Revert "EXA: Handle separate alpha maps properly in Composite fallback." 2009-02-27 16:37:27 +01:00
fbdevhw fbdevHWGetRec() doesn't return the private data 2009-02-04 09:53:03 +10:00
i2c Use libtool convenience libraries and better "symbol" table. 2008-12-07 02:22:19 -02:00
int10 Fix "warning: XXX defined but not used" 2009-02-04 09:41:40 +10:00
loader Add casts to generated entries in sdksyms.c to silence type mismatch warnings 2009-04-24 00:23:51 -07:00
modes Bug#21324: Add quirk for Iiyama Vision Master 450 2009-04-22 20:02:38 +02:00
os-support Correct fcntl(F_SETOWN) error check in non-Solaris sigio code 2009-04-24 10:12:26 -07:00
parser config: fix crash caused by strdup(NULL) 2009-04-09 02:29:28 -04:00
ramdac xfree86: ANSI cleanups 2009-01-11 08:54:11 +01:00
shadowfb xfree86: don't mix declarations and code 2009-01-11 08:54:11 +01:00
utils Make cvt complain about invalid arguments more often. 2009-01-06 08:58:53 -08:00
vbe Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
vgahw xfree86: ANSI cleanups 2009-01-11 08:54:11 +01:00
x86emu Convert libx86emu.a to a "libtool convenience library". 2008-12-07 18:31:32 -02:00
xaa Don't enable XAA offscreen pixmaps with Option "XaaOffscreenPixmaps" "no". 2009-02-03 13:49:19 -08:00
xf8_16bpp Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
Makefile.am Explicitly add libxorg_la_LIBADD to libxorg_la_DEPENDENCIES 2009-01-25 19:19:01 -02:00
xorgconf.cpp Update sample xorg.conf file 2008-12-02 14:35:45 -08:00