summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2016-07-07 09:11:17 +0200
committerNicolai Hähnle <nicolai.haehnle@amd.com>2016-07-08 10:58:52 +0200
commit2909e292fc53490d0bc6d433a5ecc1e51e18c34b (patch)
treea2444d607ee76ab271f7508a6f94ff51fa147289 /src/gallium/include
parent5bcfbf91e53e4f66310fc4ab63a7caf931a1e45c (diff)
downloadexternal_mesa3d-2909e292fc53490d0bc6d433a5ecc1e51e18c34b.zip
external_mesa3d-2909e292fc53490d0bc6d433a5ecc1e51e18c34b.tar.gz
external_mesa3d-2909e292fc53490d0bc6d433a5ecc1e51e18c34b.tar.bz2
gallium: add async flag to pipe_debug_callback
v2: fix typo db -> cb Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_state.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index ad7bf0f..a73a771 100644
--- a/src/gallium/include/pipe/p_state.h
+++ b/src/gallium/include/pipe/p_state.h
@@ -810,6 +810,12 @@ struct pipe_compute_state
struct pipe_debug_callback
{
/**
+ * When set to \c true, the callback may be called asynchronously from a
+ * driver-created thread.
+ */
+ bool async;
+
+ /**
* Callback for the driver to report debug/performance/etc information back
* to the state tracker.
*