diff options
author | Yonggang Luo <luoyonggang@gmail.com> | 2022-03-30 06:10:25 +0800 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-04-01 01:52:43 +0000 |
commit | be1b30393bdb59863eb06106614b37c71f471993 (patch) | |
tree | 17b17d0bdd88d8957de591b137bfa27a4b768c63 /src/gallium/include/pipe | |
parent | b2ece67f11cede6d052cda4d81c9aa946c15cad7 (diff) |
util: Getting u_debug.h not depends on pipe/*
Move pipe_debug_type into u_debug.h
Move pipe_debug_callback into u_debug.h
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15657>
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r-- | src/gallium/include/pipe/p_state.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index b2ab438677e..99ae182999c 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -1001,37 +1001,6 @@ struct pipe_compute_state }; /** - * Structure that contains a callback for debug messages from the driver back - * to the gallium frontend. - */ -struct util_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 gallium frontend. - * - * \param data user-supplied data pointer - * \param id message type identifier, if pointed value is 0, then a - * new id is assigned - * \param type UTIL_DEBUG_TYPE_* - * \param format printf-style format string - * \param args args for format string - */ - void (*debug_message)(void *data, - unsigned *id, - enum util_debug_type type, - const char *fmt, - va_list args); - void *data; -}; - -/** * Structure that contains a callback for device reset messages from the driver * back to the gallium frontend. * |