util: Rename pipe_debug_type to util_debug_type

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>
This commit is contained in:
Yonggang Luo
2022-03-31 04:23:16 +08:00
committed by Marge Bot
parent dca7ea4a12
commit ab225a1e36
8 changed files with 8 additions and 8 deletions

View File

@@ -32,7 +32,7 @@
#include "util/u_string.h"
static void
u_async_debug_message(void *data, unsigned *id, enum pipe_debug_type type,
u_async_debug_message(void *data, unsigned *id, enum util_debug_type type,
const char *fmt, va_list args)
{
struct util_async_debug_callback *adbg = data;

View File

@@ -43,7 +43,7 @@ extern "C" {
struct util_debug_message {
unsigned *id;
enum pipe_debug_type type;
enum util_debug_type type;
char *msg;
};

View File

@@ -32,7 +32,7 @@ namespace {
void
debug_notify_callback(void *data,
unsigned *id,
enum pipe_debug_type type,
enum util_debug_type type,
const char *fmt,
va_list args) {
const command_queue *queue = (const command_queue *)data;

View File

@@ -1025,7 +1025,7 @@ struct util_debug_callback
*/
void (*debug_message)(void *data,
unsigned *id,
enum pipe_debug_type type,
enum util_debug_type type,
const char *fmt,
va_list args);
void *data;

View File

@@ -687,7 +687,7 @@ debug_pop_group(struct gl_debug_state *debug)
static void
_debug_message(void *data,
unsigned *id,
enum pipe_debug_type ptype,
enum util_debug_type ptype,
const char *fmt,
va_list args)
{

View File

@@ -428,7 +428,7 @@ u_uintN_max(unsigned bit_size)
/* TODO: In future we should try to move this to u_debug.h once header
* dependencies are reorganised to allow this.
*/
enum pipe_debug_type
enum util_debug_type
{
PIPE_DEBUG_TYPE_OUT_OF_MEMORY = 1,
PIPE_DEBUG_TYPE_ERROR,

View File

@@ -68,7 +68,7 @@ _debug_vprintf(const char *format, va_list ap)
void
_util_debug_message(struct util_debug_callback *cb,
unsigned *id,
enum pipe_debug_type type,
enum util_debug_type type,
const char *fmt, ...)
{
va_list args;

View File

@@ -281,7 +281,7 @@ void
_util_debug_message(
struct util_debug_callback *cb,
unsigned *id,
enum pipe_debug_type type,
enum util_debug_type type,
const char *fmt, ...) _util_printf_format(4, 5);