ddebug: implement emit_string_marker
authorMarek Olšák <marek.olsak@amd.com>
Wed, 29 Jun 2016 21:30:12 +0000 (23:30 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 4 Jul 2016 22:47:12 +0000 (00:47 +0200)
and remove some obsolete comments

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/ddebug/dd_context.c

index f618f0cc8d80742044febc346affe8f27b341125..5fe423b1778cb8462571a61d86b85513b5c2c03b 100644 (file)
@@ -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);