xserver/hw/xfree86
Eric Anholt cac4b064f9 modesetting: Add support for DRI2 with glamor.
This is derived from the intel driver DRI2 code, with swapchain and
pageflipping dropped, functions renamed, and vblank event management
shared code moved to a vblank.c for reuse by Present.

This allows AIGLX to load, which means that you get appropriate
visuals exposed in GL, along with many extensions under
direct-rendering that require presence in GLX (which aren't supported
in glxdriswrast.c).

v2: Drop unused header includes in pageflip.c, wrap in #ifdef GLAMOR.
    Drop triple-buffering, which was totally broken in practice (I'll
    try to fix this later).  Fix up some style nits.  Document the
    general flow of pageflipping and why, rename the DRI2 frame event
    type enums to reflect what they're for, and handle them in a
    single switch statement so you can understand the state machine
    more easily.
v3: Drop pageflipping entirely -- it's unstable on my Intel laptop
    (not that the normal 2D driver is stable with pageflipping for
    me), and I won't get it fixed before the merge window.  It now
    passes all of the OML_sync_control tests from Jamey and Theo
    (except for occasional warns in timing -fullscreen -divisor 2).
v4: Fix doxygen at the top of vblank.c

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2014-10-27 13:16:43 -07:00
..
common Merge remote-tracking branch 'ajax/dead-code' 2014-10-09 15:08:31 +02:00
ddc xfree86: Remove DisplayID support 2014-09-26 15:27:18 -04:00
dixmods xfree86: Delete file modinit.h 2014-10-02 10:17:03 -07:00
doc xfree86: Remove the memory of MTRR awareness 2014-09-16 11:58:53 -04:00
dri dix: Drop the third argument from WindowExposuresProcPtr 2014-10-09 11:14:44 +02:00
dri2 dri2: Automatically fill in the driver name if the DDX doesn't provide it. 2014-10-27 13:16:23 -07:00
drivers modesetting: Add support for DRI2 with glamor. 2014-10-27 13:16:43 -07:00
exa xfree86/exa: xf86GetOptValString returns const char * now 2014-01-12 10:14:50 -08:00
fbdevhw xfree86/fbdevhw: Fix warnings 2014-01-12 10:14:50 -08:00
glamor_egl glamor: Share code for put_image handling. 2014-06-15 23:20:09 +01:00
i2c xfree86: Remove i2c multimedia modules 2014-07-24 16:49:22 -07:00
int10 int10: Port off xf86ReadBIOS 2014-09-16 11:58:53 -04:00
loader loader: Remove some baklava code 2014-10-08 10:10:39 +02:00
man xfree86: Remove Option "TextClockFreq" 2014-09-26 15:27:18 -04:00
modes xfree86: Remove DisplayID support 2014-09-26 15:27:18 -04:00
os-support xserver: Move 'pragma GCC diagnostic' outside functions 2014-09-18 22:28:27 -07:00
parser xfree86: Remove Option "TextClockFreq" 2014-09-26 15:27:18 -04:00
ramdac xfree86: Remove #include "compiler.h" from places that don't need it 2014-07-28 12:18:03 -07:00
shadowfb shadowfb: Fix initialization 2014-05-22 17:56:24 -07:00
utils Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
vbe Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
vgahw vgahw: Nuke unused vgaCmap.c 2014-07-29 09:52:24 -04:00
x86emu x86emu: Undefine _NO_INLINE 2014-09-26 15:27:18 -04:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
Makefile.am modesetting: Connect the driver to the build. 2014-09-16 16:28:42 -07:00
Xorg.sh.in Xorg: Add a suid root wrapper 2014-03-12 08:50:05 +01:00
sdksyms.sh xfree86 warning reduction 2014-01-12 10:14:49 -08:00
xorg-wrapper.c Xorg.wrap: Make the console check portable 2014-04-18 11:40:09 +02:00
xorgconf.cpp xfree86: fix wrong DontZap documentation (#71113) 2014-05-24 20:02:56 +10:00