diff options
author | Jakob Bornecrantz <[email protected]> | 2009-05-15 05:30:43 +0200 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-05-16 01:50:53 +0100 |
commit | 3b4da4e9dac00f181380a9896ef3329964432c43 (patch) | |
tree | cc2b4da8a5c9a195cc286e6b42c2b00984ae7b9e /src/gallium/drivers/trace/tr_context.h | |
parent | c30f66118974f41f57e86d49f372b7c78f891223 (diff) |
trace: Put shaders on a list in the context
Diffstat (limited to 'src/gallium/drivers/trace/tr_context.h')
-rw-r--r-- | src/gallium/drivers/trace/tr_context.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/trace/tr_context.h b/src/gallium/drivers/trace/tr_context.h index 2512a0a2328..a7da7b95269 100644 --- a/src/gallium/drivers/trace/tr_context.h +++ b/src/gallium/drivers/trace/tr_context.h @@ -33,6 +33,7 @@ #include "util/u_debug.h" #include "pipe/p_context.h" +#include "tr_screen.h" #ifdef __cplusplus extern "C" { @@ -45,7 +46,13 @@ struct trace_context struct pipe_context *pipe; + /* for list on screen */ struct tr_list list; + + /* list of state objects */ + pipe_mutex list_mutex; + unsigned num_shaders; + struct tr_list shaders; }; |