summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_public.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2010-03-09 15:25:42 +0000
committerKeith Whitwell <[email protected]>2010-03-09 15:33:21 +0000
commit3c57c01a44c294e69d902207b2ec94d28a397a51 (patch)
tree9f5d0ef67957185193699d18a7cb27ac7d2be7f4 /src/gallium/drivers/softpipe/sp_public.h
parent27a7f9454f190ebb51834e9d2d74c55766cbb29f (diff)
ws/xlib: remove self-knowledge about users of xlib winsys
Several software rasterizers can make use of this winsys, but there isn't any reason why the winsys itself should know about them. This change moves that information into the libgl-xlib target. Need to fix up other targets making use of this winsys.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_public.h')
-rw-r--r--src/gallium/drivers/softpipe/sp_public.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_public.h b/src/gallium/drivers/softpipe/sp_public.h
new file mode 100644
index 00000000000..62d0903d87a
--- /dev/null
+++ b/src/gallium/drivers/softpipe/sp_public.h
@@ -0,0 +1,10 @@
+#ifndef SP_PUBLIC_H
+#define SP_PUBLIC_H
+
+struct pipe_screen;
+struct sw_winsys;
+
+struct pipe_screen *
+softpipe_create_screen(struct sw_winsys *winsys);
+
+#endif