summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/trace/tr_context.h
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-06-04 23:40:10 +0100
committerJakob Bornecrantz <jakob@vmware.com>2009-06-04 23:45:29 +0100
commit76b3072e9b7b8f98e926d531c0d63a0cb294e56d (patch)
treefcbe74a06a28bffeb1750b94a2dd5eabc8d0506b /src/gallium/drivers/trace/tr_context.h
parent384bbe278d7e634cf1af5f786bfbde651c14df62 (diff)
trace/rbug: Add new contexts functions to trace rbug
Diffstat (limited to 'src/gallium/drivers/trace/tr_context.h')
-rw-r--r--src/gallium/drivers/trace/tr_context.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/drivers/trace/tr_context.h b/src/gallium/drivers/trace/tr_context.h
index 86827f97b2..770e975a14 100644
--- a/src/gallium/drivers/trace/tr_context.h
+++ b/src/gallium/drivers/trace/tr_context.h
@@ -50,8 +50,16 @@ struct trace_context
struct {
struct trace_shader *fs;
struct trace_shader *vs;
+
+ unsigned nr_cbufs;
+ struct trace_texture *cbufs[PIPE_MAX_COLOR_BUFS];
+ struct trace_texture *zsbuf;
} curr;
+ pipe_mutex draw_mutex;
+ int draw_blocker;
+ int draw_blocked;
+
/* for list on screen */
struct tr_list list;
@@ -75,6 +83,9 @@ struct pipe_context *
trace_context_create(struct pipe_screen *screen,
struct pipe_context *pipe);
+void
+trace_rbug_notify_draw_blocked(struct trace_context *tr_ctx);
+
#ifdef __cplusplus
}