summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace/tr_screen.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-08-09 11:53:56 +0100
committerJosé Fonseca <[email protected]>2008-08-09 14:10:25 +0100
commit376f2cbb190389807c8ba6df401e06743ead9eb8 (patch)
tree6f8a51d1edbdc091c39cf01a1905b5359ef62be6 /src/gallium/drivers/trace/tr_screen.c
parentdc31bb5076df914ad16e063fdcc46fd2ecba9dbb (diff)
trace: Prevent tracing internal pipe driver calls.
Diffstat (limited to 'src/gallium/drivers/trace/tr_screen.c')
-rw-r--r--src/gallium/drivers/trace/tr_screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/trace/tr_screen.c b/src/gallium/drivers/trace/tr_screen.c
index b40d56bcff3..de885abae2c 100644
--- a/src/gallium/drivers/trace/tr_screen.c
+++ b/src/gallium/drivers/trace/tr_screen.c
@@ -376,5 +376,8 @@ trace_screen_create(struct pipe_screen *screen)
if(!tr_scr->stream)
return NULL;
+ /* We don't want to trace the internal pipe calls */
+ screen->winsys = trace_winsys(screen->winsys)->winsys;
+
return &tr_scr->base;
}