summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_context.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2015-08-10 11:41:29 -0400
committerRob Clark <[email protected]>2016-01-21 17:19:56 -0500
commitd6408372eb359d972614838f838776f1695e3c99 (patch)
tree1c611c9212efa5d57b4f51b0fcd848ed6b3a5fb4 /src/gallium/include/pipe/p_context.h
parenta6a99fbf05865efcb628ecb2a19d1d77db34c865 (diff)
gallium: add GREMEDY_string_marker
Since the GREMEDY extensions are normally only exposed by the gremedy debugger (and could possibly trigger debug paths in the app), we don't expose the extension by default, but instead only with ST_DEBUG=gremedy. Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe/p_context.h')
-rw-r--r--src/gallium/include/pipe/p_context.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h
index 4b551ed0b41..f69a75be50e 100644
--- a/src/gallium/include/pipe/p_context.h
+++ b/src/gallium/include/pipe/p_context.h
@@ -679,6 +679,13 @@ struct pipe_context {
unsigned flags);
/**
+ * Emit string marker in cmdstream
+ */
+ void (*emit_string_marker)(struct pipe_context *ctx,
+ const char *string,
+ int len);
+
+ /**
* Generate mipmap.
* \return TRUE if mipmap generation succeeds, FALSE otherwise
*/