From 12e5220e34677e19b7dfce95c9370bab814d2ee8 Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Mon, 7 Mar 2016 14:51:32 -0500 Subject: vl/dri3: add DRI3 support and implement create and destroy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Required functions into place for implementation, create screen with device fd returned from X server, also bail out to DRI2 with certain conditions. v2: -organize the error out path (Axel) -squash previous patch 1 and 2 into one (Emil) Signed-off-by: Leo Liu Reviewed-by: Alex Deucher Reviewed-by: Christian König --- src/gallium/auxiliary/Makefile.sources | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallium/auxiliary/Makefile.sources') diff --git a/src/gallium/auxiliary/Makefile.sources b/src/gallium/auxiliary/Makefile.sources index 84da85c5b96..44b3fec60d8 100644 --- a/src/gallium/auxiliary/Makefile.sources +++ b/src/gallium/auxiliary/Makefile.sources @@ -354,6 +354,11 @@ VL_WINSYS_SOURCES := \ vl/vl_winsys_dri.c \ vl/vl_winsys_drm.c +if HAVE_DRI3 +VL_WINSYS_SOURCES += \ + vl/vl_winsys_dri3.c +endif + VL_STUB_SOURCES := \ vl/vl_stubs.c -- cgit v1.2.3