summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-08-10 16:42:26 +0100
committerKeith Whitwell <[email protected]>2007-08-10 16:44:07 +0100
commit39407fd85467141fceafbedf52d9e55e008eb011 (patch)
treec3580533e9e37c1d410eb6bb8f24fd192f27dbcc /src/mesa/drivers
parent1c8bcc733d695732ca704565b3a10ac5f4172ea3 (diff)
Move string functions to state_tracker, add queries to pipe, winsys.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c b/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c
index 015d8fc2bbf..eb64f5aa201 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c
+++ b/src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c
@@ -185,6 +185,12 @@ intel_printf( struct pipe_winsys *sws, const char *fmtString, ... )
va_end( args );
}
+static const char *
+intel_get_name( struct pipe_winsys *sws )
+{
+ return "Intel/DRI/ttm";
+}
+
struct pipe_winsys *
intel_create_pipe_winsys( struct intel_context *intel )
@@ -209,6 +215,7 @@ intel_create_pipe_winsys( struct intel_context *intel )
iws->winsys.flush_frontbuffer = intel_flush_frontbuffer;
iws->winsys.wait_idle = intel_wait_idle;
iws->winsys.printf = intel_printf;
+ iws->winsys.get_name = intel_get_name;
iws->intel = intel;
return &iws->winsys;