summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/sw/sw_public.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2010-03-28 09:53:58 -0700
committerKeith Whitwell <[email protected]>2010-03-28 10:42:38 -0700
commitdb5c2235d1accc2adcf1746aec2342bfa67237ba (patch)
tree1dcfbcda4288341b53f51c9f88c8ac2fae978f3a /src/gallium/drivers/sw/sw_public.h
parentf97f46f269666b289f9af977e238ccda9b483c44 (diff)
gallium: new raw gallium interface to support standalone tests
Provides basic window system integration behind a simple interface, allowing tests to be written without dependency on either the driver or window system. With a lot of work, could turn into something like glut for gallium.
Diffstat (limited to 'src/gallium/drivers/sw/sw_public.h')
-rw-r--r--src/gallium/drivers/sw/sw_public.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gallium/drivers/sw/sw_public.h b/src/gallium/drivers/sw/sw_public.h
new file mode 100644
index 00000000000..7085c5c85a0
--- /dev/null
+++ b/src/gallium/drivers/sw/sw_public.h
@@ -0,0 +1,13 @@
+#ifndef SW_PUBLIC_H
+#define SW_PUBLIC_H
+
+/* A convenience library, primarily to isolate the logic required to
+ * figure out which if any software rasterizers have been built and
+ * select between them.
+ */
+struct sw_winsys;
+
+struct pipe_screen *
+swrast_create_screen(struct sw_winsys *winsys);
+
+#endif