summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2010-03-09 17:27:58 +0000
committerKeith Whitwell <[email protected]>2010-03-09 17:32:10 +0000
commitd0aea650320fec0b8e01110eeee22b1f3700d587 (patch)
tree9957f1c5d2d8bf897d994b6f5430665aa2e8533b /src/gallium/include
parentc27ffc5215573d6ff106d4770168117adea884f9 (diff)
gallium: create helper for swrast+xlib combination
Several targets may want to reuse this code. It's pretty simple, not sure if this is really a win.
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/state_tracker/xlib_sw_winsys.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/gallium/include/state_tracker/xlib_sw_winsys.h b/src/gallium/include/state_tracker/xlib_sw_winsys.h
index 13dc8377126..f22c22bb620 100644
--- a/src/gallium/include/state_tracker/xlib_sw_winsys.h
+++ b/src/gallium/include/state_tracker/xlib_sw_winsys.h
@@ -9,8 +9,9 @@ struct pipe_screen;
struct pipe_surface;
/* This is what the xlib software winsys expects to find in the
- * "private" field of flush_frontbuffers(). Xlib-based state trackers
- * somehow need to know this.
+ * "private" field of flush_frontbuffers().
+ *
+ * Xlib-based state trackers somehow need to know this.
*/
struct xlib_drawable {
Visual *visual;
@@ -18,12 +19,6 @@ struct xlib_drawable {
Drawable drawable;
};
-/* This is the interface required by the glx/xlib state tracker. Why
- * is it being defined in this file?
- */
-struct xm_driver {
- struct pipe_screen *(*create_pipe_screen)( Display *display );
-};
/* This is the public interface to the ws/xlib module. Why isn't it
* being defined in that directory?