summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple/i915_winsys.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-08-10 09:58:17 +0100
committerKeith Whitwell <[email protected]>2007-08-10 10:15:31 +0100
commitcb2d95ba68affe665619cc0ec7b74fd0aaae7fc2 (patch)
tree900bb15edc1cc39986315f8d4bd2452ad18fd414 /src/mesa/pipe/i915simple/i915_winsys.h
parentaf25ca6e69cef93e19bfb118111ffbaedf354f03 (diff)
Add a printf method to winsys and use for all debugging.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_winsys.h')
-rw-r--r--src/mesa/pipe/i915simple/i915_winsys.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/pipe/i915simple/i915_winsys.h b/src/mesa/pipe/i915simple/i915_winsys.h
index 50cb231422d..887308f5dda 100644
--- a/src/mesa/pipe/i915simple/i915_winsys.h
+++ b/src/mesa/pipe/i915simple/i915_winsys.h
@@ -50,6 +50,10 @@ struct pipe_buffer_handle;
struct i915_winsys {
+ /* debug output
+ */
+ void (*printf)( struct i915_winsys *sws,
+ const char *, ... );
/* Many of the winsys's are probably going to have a similar
* buffer-manager interface, as something almost identical is