summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace/tr_context.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-06-07 16:51:32 +1000
committerDave Airlie <airlied@redhat.com>2009-06-07 16:51:32 +1000
commit545e574cd9a2a659cd9a93879dff8884bd247558 (patch)
treef56d65eaa851edfb1248a6fc8ac0bae4cc98eff5 /src/gallium/drivers/trace/tr_context.h
parente2aedfa62079ff1a333e1f4e56faea303cc36edb (diff)
parentf1edfa09ea50e8833ddbf241da4d36fd38685e9d (diff)
downloadexternal_mesa3d-545e574cd9a2a659cd9a93879dff8884bd247558.zip
external_mesa3d-545e574cd9a2a659cd9a93879dff8884bd247558.tar.gz
external_mesa3d-545e574cd9a2a659cd9a93879dff8884bd247558.tar.bz2
Merge remote branch 'origin/master' into radeon-rewrite
Diffstat (limited to 'src/gallium/drivers/trace/tr_context.h')
-rw-r--r--src/gallium/drivers/trace/tr_context.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/drivers/trace/tr_context.h b/src/gallium/drivers/trace/tr_context.h
index 86827f9..0c2bf27 100644
--- a/src/gallium/drivers/trace/tr_context.h
+++ b/src/gallium/drivers/trace/tr_context.h
@@ -50,8 +50,17 @@ 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_condvar draw_cond;
+ pipe_mutex draw_mutex;
+ int draw_blocker;
+ int draw_blocked;
+
/* for list on screen */
struct tr_list list;
@@ -75,6 +84,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
}