diff options
author | José Fonseca <[email protected]> | 2008-08-15 10:31:23 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-08-15 10:35:19 +0100 |
commit | f40de50def1b7ee75dd320b151c025b7ddff45be (patch) | |
tree | a1c12271055e5703e1da3627148f5f304c9f9dc4 /src/gallium/drivers/trace/tr_screen.h | |
parent | f121d0e54f39d8f6361dcf0bf4d938ccb5ae4b5e (diff) |
trace: Wrap all textures and surface created by the pipe driver.
That is,
Unfortunately, this causes a regression in softpipe, where the
output gets tyled.
Diffstat (limited to 'src/gallium/drivers/trace/tr_screen.h')
-rw-r--r-- | src/gallium/drivers/trace/tr_screen.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/gallium/drivers/trace/tr_screen.h b/src/gallium/drivers/trace/tr_screen.h index 90103aa922d..698b84811d2 100644 --- a/src/gallium/drivers/trace/tr_screen.h +++ b/src/gallium/drivers/trace/tr_screen.h @@ -29,31 +29,19 @@ #define TR_SCREEN_H_ -#include "pipe/p_compiler.h" -#include "pipe/p_debug.h" #include "pipe/p_screen.h" -struct hash_table; - - struct trace_screen { struct pipe_screen base; struct pipe_screen *screen; - - struct hash_table *surface_maps; }; -static INLINE struct trace_screen * -trace_screen(struct pipe_screen *screen) -{ - assert(screen); - return (struct trace_screen *)screen; -} - +struct trace_screen * +trace_screen(struct pipe_screen *screen); struct pipe_screen * |