summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace/tr_screen.h
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-06-01 11:19:55 +0100
committerJakob Bornecrantz <[email protected]>2009-06-01 11:19:56 +0100
commit01fa34cb98d9ea6008c7108b6112348e278864f4 (patch)
tree65d9c60496942630978d93e044c4caa342589848 /src/gallium/drivers/trace/tr_screen.h
parentdfa4ebcbcc9c7e9e7562f73a4ddc367756623e5e (diff)
trace/rbug: Add rbug integration for remote debugging
Diffstat (limited to 'src/gallium/drivers/trace/tr_screen.h')
-rw-r--r--src/gallium/drivers/trace/tr_screen.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/src/gallium/drivers/trace/tr_screen.h b/src/gallium/drivers/trace/tr_screen.h
index 7fae1829858..dba8cd7c653 100644
--- a/src/gallium/drivers/trace/tr_screen.h
+++ b/src/gallium/drivers/trace/tr_screen.h
@@ -57,6 +57,9 @@ struct trace_screen
struct pipe_screen *screen;
+ /* remote debugger */
+ struct trace_rbug *rbug;
+
pipe_mutex list_mutex;
int num_buffers;
int num_contexts;
@@ -72,20 +75,33 @@ struct trace_screen
/*
+ * tr_rbug.c
+ */
+
+
+struct trace_rbug;
+
+struct trace_rbug *
+trace_rbug_start(struct trace_screen *tr_scr);
+
+void
+trace_rbug_stop(struct trace_rbug *tr_rbug);
+
+
+/*
* tr_screen.c
*/
+
boolean
trace_enabled(void);
struct trace_screen *
trace_screen(struct pipe_screen *screen);
-
struct pipe_screen *
trace_screen_create(struct pipe_screen *screen);
-
void
trace_screen_user_buffer_update(struct pipe_screen *screen,
struct pipe_buffer *buffer);
@@ -106,6 +122,7 @@ trace_screen_user_buffer_update(struct pipe_screen *screen,
pipe_mutex_unlock(tr_scr->list_mutex); \
} while (0)
+
#ifdef __cplusplus
}
#endif