summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-06-29 23:30:12 +0200
committerMarek Olšák <[email protected]>2016-07-05 00:47:12 +0200
commit861ecf1ca98b0db0aeec186a212ac6285dfa47f6 (patch)
tree759bfe1ead0d35f2860b00c5ccebd7b77d98f246 /src/gallium
parenta446c40e0a7a2659e0eb89f8d1ede90d502e2589 (diff)
ddebug: implement emit_string_marker
and remove some obsolete comments Reviewed-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/ddebug/dd_context.c13
1 files changed, 10 insertions, 3 deletions
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
@@ -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);