summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl/vl_winsys.h
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2016-03-07 14:51:32 -0500
committerLeo Liu <[email protected]>2016-05-16 16:28:51 -0400
commit12e5220e34677e19b7dfce95c9370bab814d2ee8 (patch)
tree7e1a58efb77e848b23570c41788e74c8550a5796 /src/gallium/auxiliary/vl/vl_winsys.h
parent30e437bd76c6eb9a8e46b1c96e313b8eafd0b798 (diff)
vl/dri3: add DRI3 support and implement create and destroy
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 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_winsys.h')
-rw-r--r--src/gallium/auxiliary/vl/vl_winsys.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/vl/vl_winsys.h b/src/gallium/auxiliary/vl/vl_winsys.h
index 1af7653d650..26db9f26346 100644
--- a/src/gallium/auxiliary/vl/vl_winsys.h
+++ b/src/gallium/auxiliary/vl/vl_winsys.h
@@ -69,4 +69,9 @@ vl_dri2_screen_create(Display *display, int screen);
struct vl_screen *
vl_drm_screen_create(int fd);
+#if defined(HAVE_DRI3)
+struct vl_screen *
+vl_dri3_screen_create(Display *display, int screen);
+#endif
+
#endif