aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/g3dvl/vl_winsys.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/g3dvl/vl_winsys.h')
-rw-r--r--src/gallium/winsys/g3dvl/vl_winsys.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gallium/winsys/g3dvl/vl_winsys.h b/src/gallium/winsys/g3dvl/vl_winsys.h
new file mode 100644
index 00000000000..c83db28dd98
--- /dev/null
+++ b/src/gallium/winsys/g3dvl/vl_winsys.h
@@ -0,0 +1,14 @@
+#ifndef vl_winsys_h
+#define vl_winsys_h
+
+#include <X11/Xlib.h>
+
+struct pipe_context;
+
+struct pipe_context* create_pipe_context(Display *display, int screen);
+int destroy_pipe_context(struct pipe_context *pipe);
+int bind_pipe_drawable(struct pipe_context *pipe, Drawable drawable);
+int unbind_pipe_drawable(struct pipe_context *pipe);
+
+#endif
+