summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl/vl_winsys.h
diff options
context:
space:
mode:
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 77277cefe8b..bfb60180079 100644
--- a/src/gallium/auxiliary/vl/vl_winsys.h
+++ b/src/gallium/auxiliary/vl/vl_winsys.h
@@ -68,9 +68,14 @@ struct vl_screen
struct pipe_screen *pscreen;
struct pipe_loader_device *dev;
+
+ void *xcb_screen;
};
#ifdef HAVE_X11_PLATFORM
+uint32_t
+vl_dri2_format_for_depth(struct vl_screen *vscreen, int depth);
+
struct vl_screen *
vl_dri2_screen_create(Display *display, int screen);
#else