From 2909e292fc53490d0bc6d433a5ecc1e51e18c34b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolai=20H=C3=A4hnle?= Date: Thu, 7 Jul 2016 09:11:17 +0200 Subject: gallium: add async flag to pipe_debug_callback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v2: fix typo db -> cb Reviewed-by: Edward O'Callaghan Reviewed-by: Marek Olšák --- src/gallium/include/pipe/p_state.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gallium/include') 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. * -- cgit v1.1