diff options
Diffstat (limited to 'src/gallium/drivers/ddebug/dd_pipe.h')
-rw-r--r-- | src/gallium/drivers/ddebug/dd_pipe.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/gallium/drivers/ddebug/dd_pipe.h b/src/gallium/drivers/ddebug/dd_pipe.h index 69d5c4e2216..072e9ac9e20 100644 --- a/src/gallium/drivers/ddebug/dd_pipe.h +++ b/src/gallium/drivers/ddebug/dd_pipe.h @@ -74,11 +74,8 @@ struct dd_state } state; }; -struct dd_context +struct dd_draw_state { - struct pipe_context base; - struct pipe_context *pipe; - struct { struct dd_query *query; bool condition; @@ -115,10 +112,18 @@ struct dd_context struct pipe_viewport_state viewports[PIPE_MAX_VIEWPORTS]; float tess_default_levels[6]; - unsigned num_draw_calls; unsigned apitrace_call_number; }; +struct dd_context +{ + struct pipe_context base; + struct pipe_context *pipe; + + struct dd_draw_state draw_state; + unsigned num_draw_calls; +}; + struct pipe_context * dd_context_create(struct dd_screen *dscreen, struct pipe_context *pipe); |