[Mesa-dev] [PATCH 1/6] ddebug: implement emit_string_marker
Marek Olšák
maraeo at gmail.com
Thu Jun 30 23:21:47 UTC 2016
From: Marek Olšák <marek.olsak at amd.com>
and remove some obsolete comments
---
src/gallium/drivers/ddebug/dd_context.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/gallium/drivers/ddebug/dd_context.c b/src/gallium/drivers/ddebug/dd_context.c
index f618f0c..5fe423b 100644
--- a/src/gallium/drivers/ddebug/dd_context.c
+++ b/src/gallium/drivers/ddebug/dd_context.c
@@ -662,6 +662,15 @@ dd_context_get_device_reset_status(struct pipe_context *_pipe)
}
static void
+dd_context_emit_string_marker(struct pipe_context *_pipe,
+ const char *string, int len)
+{
+ struct pipe_context *pipe = dd_context(_pipe)->pipe;
+
+ pipe->emit_string_marker(pipe, string, len);
+}
+
+static void
dd_context_dump_debug_state(struct pipe_context *_pipe, FILE *stream,
unsigned flags)
{
@@ -761,15 +770,13 @@ dd_context_create(struct dd_screen *dscreen, struct pipe_context *pipe)
CTX_INIT(memory_barrier);
/* create_video_codec */
/* create_video_buffer */
- /* create_compute_state */
- /* bind_compute_state */
- /* delete_compute_state */
/* set_compute_resources */
/* set_global_binding */
CTX_INIT(get_sample_position);
CTX_INIT(invalidate_resource);
CTX_INIT(get_device_reset_status);
CTX_INIT(dump_debug_state);
+ CTX_INIT(emit_string_marker);
dd_init_draw_functions(dctx);
--
2.7.4
More information about the mesa-dev
mailing list