Mesa (master): Add DRI3+Present loader

Eric Anholt anholt at kemper.freedesktop.org
Fri Nov 8 03:14:09 UTC 2013


Module: Mesa
Branch: master
Commit: 2d94601582e4f0fcaf8c02a15b23cba39dec7bb1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d94601582e4f0fcaf8c02a15b23cba39dec7bb1

Author: Keith Packard <keithp at keithp.com>
Date:   Mon Nov  4 18:15:51 2013 -0800

Add DRI3+Present loader

Uses the __DRIimage loader interfaces.

v2: Fix _XIOErrors when DRI3 isn't present (change by anholt).  Apparently
    XCB just terminates your connection if you don't check for extensions
    before using them, instead of returning an error like you'd expect.

Signed-off-by: Keith Packard <keithp at keithp.com>
Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 configure.ac          |   12 +-
 src/glx/Makefile.am   |    2 +
 src/glx/dri3_common.c |  146 ++++
 src/glx/dri3_glx.c    | 1831 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/glx/dri3_priv.h   |  209 ++++++
 src/glx/glxclient.h   |    2 +
 src/glx/glxext.c      |    6 +-
 7 files changed, 2204 insertions(+), 4 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=2d94601582e4f0fcaf8c02a15b23cba39dec7bb1



More information about the mesa-commit mailing list