aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ddebug/dd_pipe.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-10-22 17:39:01 +0200
committerNicolai Hähnle <[email protected]>2017-11-09 14:01:03 +0100
commit18fd2a859de51353187f993ea2852bebe1ea5734 (patch)
tree0515d25993b5fa51916cb697eefaced7abb702ac /src/gallium/drivers/ddebug/dd_pipe.h
parentba2f2b6f2aa05dab01389cf27a5001d0d43adcb4 (diff)
ddebug: dump context and before/after times of draws
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ddebug/dd_pipe.h')
-rw-r--r--src/gallium/drivers/ddebug/dd_pipe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/ddebug/dd_pipe.h b/src/gallium/drivers/ddebug/dd_pipe.h
index d1965be9a14..607ebbb2b96 100644
--- a/src/gallium/drivers/ddebug/dd_pipe.h
+++ b/src/gallium/drivers/ddebug/dd_pipe.h
@@ -224,6 +224,8 @@ struct dd_draw_record {
struct list_head list;
struct dd_context *dctx;
+ int64_t time_before;
+ int64_t time_after;
unsigned draw_call;
struct pipe_fence_handle *prev_bottom_of_pipe;