summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/target-helpers/swrast_xlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/target-helpers/swrast_xlib.h')
-rw-r--r--src/gallium/auxiliary/target-helpers/swrast_xlib.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/target-helpers/swrast_xlib.h b/src/gallium/auxiliary/target-helpers/swrast_xlib.h
new file mode 100644
index 0000000000..3a0f713d54
--- /dev/null
+++ b/src/gallium/auxiliary/target-helpers/swrast_xlib.h
@@ -0,0 +1,15 @@
+#ifndef SWRAST_XLIB_HELPER_H
+#define SWRAST_XLIB_HELPER_H
+
+#include <X11/Xlib.h>
+#include "pipe/p_compiler.h"
+
+/* Helper to build the xlib winsys, choose between the software
+ * rasterizers and construct the lower part of a driver stack.
+ *
+ * Just add a state tracker.
+ */
+struct pipe_screen *swrast_xlib_create_screen( Display *display );
+
+
+#endif