From: Marek Olšák Date: Wed, 29 Jun 2016 21:30:12 +0000 (+0200) Subject: ddebug: implement emit_string_marker X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=861ecf1ca98b0db0aeec186a212ac6285dfa47f6;p=mesa.git ddebug: implement emit_string_marker and remove some obsolete comments Reviewed-by: Bas Nieuwenhuizen Reviewed-by: Nicolai Hähnle --- diff --git a/src/gallium/drivers/ddebug/dd_context.c b/src/gallium/drivers/ddebug/dd_context.c index f618f0cc8d8..5fe423b1778 100644 --- a/src/gallium/drivers/ddebug/dd_context.c +++ b/src/gallium/drivers/ddebug/dd_context.c @@ -661,6 +661,15 @@ dd_context_get_device_reset_status(struct pipe_context *_pipe) return pipe->get_device_reset_status(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);