util: import u_debug_refcnt, u_hash_table, u_debug_describe from gallium

to allow pipe_*_reference to be called in src/mesa/vbo.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13050>
This commit is contained in:
Marek Olšák 2021-09-30 10:34:38 -04:00 committed by Marge Bot
parent bec054ec63
commit 6e69acad82
8 changed files with 7 additions and 8 deletions

View File

@ -238,14 +238,10 @@ files_libgallium = files(
'util/u_cache.h',
'util/u_compute.c',
'util/u_compute.h',
'util/u_debug_describe.c',
'util/u_debug_describe.h',
'util/u_debug_flush.c',
'util/u_debug_flush.h',
'util/u_debug_image.c',
'util/u_debug_image.h',
'util/u_debug_refcnt.c',
'util/u_debug_refcnt.h',
'util/u_dirty_flags.h',
'util/u_dirty_surfaces.h',
'util/u_dl.c',
@ -266,8 +262,6 @@ files_libgallium = files(
'util/u_gen_mipmap.h',
'util/u_handle_table.c',
'util/u_handle_table.h',
'util/u_hash_table.c',
'util/u_hash_table.h',
'util/u_helpers.c',
'util/u_helpers.h',
'util/u_index_modify.c',

View File

@ -117,9 +117,15 @@ files_mesa_util = files(
'timespec.h',
'u_atomic.c',
'u_atomic.h',
'u_debug_describe.c',
'u_debug_describe.h',
'u_debug_refcnt.c',
'u_debug_refcnt.h',
'u_dynarray.h',
'u_endian.h',
'u_fifo.h',
'u_hash_table.c',
'u_hash_table.h',
'u_queue.c',
'u_queue.h',
'u_string.h',

View File

@ -43,8 +43,7 @@
#include "util/u_debug_symbol.h"
#include "util/u_string.h"
#include "util/u_hash_table.h"
#include "os/os_thread.h"
#include "pipe/p_config.h"
#include "util/u_thread.h"
int debug_refcnt_state;