From 861ecf1ca98b0db0aeec186a212ac6285dfa47f6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 29 Jun 2016 23:30:12 +0200 Subject: [PATCH] ddebug: implement emit_string_marker MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit and remove some obsolete comments Reviewed-by: Bas Nieuwenhuizen Reviewed-by: Nicolai Hähnle --- 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