mesa/src/util
Yonggang Luo 7753e80219 util: Add multi-threaded test for util/u_debug.h and util/perf/u_trace.h
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18764>
2022-11-05 20:40:55 +00:00
..
format util: #include "c11/threads.h" instead of #include "util/u_cpu_detect.h" u_format.c 2022-10-25 11:06:05 +00:00
indices util/indicies: convert u_unfilled_gen.py to write a file 2022-10-19 20:21:08 +00:00
perf util: remove fifo class 2022-11-04 23:20:02 +00:00
sha1
tests util: Add multi-threaded test for util/u_debug.h and util/perf/u_trace.h 2022-11-05 20:40:55 +00:00
00-mesa-defaults.conf drirc: Apply fp64_workaround_enabled to DOOM Eternal 2022-10-28 10:08:50 +00:00
anon_file.c util: Add os_create_anonymous_file support on win32 2022-08-12 16:34:32 +00:00
anon_file.h util: Add os_create_anonymous_file support on win32 2022-08-12 16:34:32 +00:00
bigmath.h
bitpack_helpers.h util: Add util_bitpack_[su]fixed_clamp helpers 2022-08-30 04:28:34 +00:00
bitscan.c
bitscan.h util: remove needless c99_compat.h includes 2022-06-02 13:09:16 +00:00
bitset.h util: Constify __bitset_test_range 2022-07-19 19:19:33 +00:00
blob.c util/blob: use memcpy in read functions 2022-07-07 12:25:05 +00:00
blob.h
build_id.c
build_id.h
cnd_monotonic.h
compiler.h util: remove needless c99_compat.h includes 2022-06-02 13:09:16 +00:00
compress.c
compress.h
crc32.c
crc32.h
dag.c util/dag: Add a validation function. 2022-09-29 23:40:18 +00:00
dag.h util/dag: Add a validation function. 2022-09-29 23:40:18 +00:00
detect_os.h
disk_cache.c utils: Merge util/debug.* into util/u_debug.* and remove util/debug.* 2022-11-02 07:25:39 +00:00
disk_cache.h util/disk_cache: Add new mesa-db cache type 2022-08-04 17:52:49 +00:00
disk_cache_os.c utils: Merge util/debug.* into util/u_debug.* and remove util/debug.* 2022-11-02 07:25:39 +00:00
disk_cache_os.h util/disk_cache: Add new mesa-db cache type 2022-08-04 17:52:49 +00:00
double.c
double.h
driconf.h drirc: Add fp64_workaround_enabled option 2022-10-28 10:08:50 +00:00
driconf_static.py
enum_operators.h
fast_idiv_by_const.c util: Use util_sign_extend in fast_idiv_by_const 2022-07-06 11:23:18 +00:00
fast_idiv_by_const.h
fast_urem_by_const.h
format_r11g11b10f.h
format_rgb9e5.h include: drop c99_math.h 2022-06-02 13:09:16 +00:00
format_srgb.h util: remove needless c99_compat.h includes 2022-06-02 13:09:16 +00:00
format_srgb.py
fossilize_db.c
fossilize_db.h
futex.c util: unify FreeBSD futex_wait signature with Linux/OpenBSD/Windows 2022-10-23 10:11:01 +00:00
futex.h util: Move the implementation of futex_wake and futex_wait from futex.h to futex.c 2022-10-18 23:20:25 +00:00
glheader.h util: include gles header instead of hand crafted macros 2022-11-04 19:28:19 +00:00
glsl2spirv.py util: glsl2spirv.py: ensure '#endif' is printed in new line 2022-10-30 14:14:21 +01:00
half_float.c util: remove unused half_to_unorm8 2022-11-04 23:20:02 +00:00
half_float.h util: remove unused half_to_unorm8 2022-11-04 23:20:02 +00:00
hash_table.c
hash_table.h util: remove needless c99_compat.h includes 2022-06-02 13:09:16 +00:00
libsync.h libsync: Fix compiler warning 2022-08-02 00:59:48 +00:00
list.h util/list: rename LIST_ENTRY() to list_entry() 2022-07-28 10:10:44 +00:00
log.c
log.h util/perf: add cpu_trace.h 2022-08-26 21:47:44 +00:00
macros.h util: avoid deprecated builtin has_trivial_destructor 2022-09-08 10:53:32 +00:00
memstream.c util: Remove include of windows.h in memstream.h 2022-10-20 03:04:56 +00:00
memstream.h util: Remove include of windows.h in memstream.h 2022-10-20 03:04:56 +00:00
mesa-sha1.c
mesa-sha1.h util: remove needless c99_compat.h includes 2022-06-02 13:09:16 +00:00
mesa_cache_db.c util: fix missing fcntl.h on musl 2022-09-16 23:43:13 +00:00
mesa_cache_db.h util/disk_cache: Add new mesa-db cache type 2022-08-04 17:52:49 +00:00
meson.build util: Add multi-threaded test for util/u_debug.h and util/perf/u_trace.h 2022-11-05 20:40:55 +00:00
os_file.c
os_file.h
os_memory.h
os_memory_aligned.h
os_memory_debug.h
os_memory_fd.c
os_memory_fd.h
os_memory_stdc.h
os_misc.c meson/mesa/wide: define WIN32_LEAN_AND_MEAN with pre_args 2022-10-20 03:04:56 +00:00
os_misc.h
os_socket.c
os_socket.h
os_time.c
os_time.h
ptralloc.h util: remove needless c99_compat.h includes 2022-06-02 13:09:16 +00:00
ralloc.c util: add freelist allocator with mark/sweep 2022-08-30 18:21:44 +00:00
ralloc.h util: add freelist allocator with mark/sweep 2022-08-30 18:21:44 +00:00
rand_xor.c
rand_xor.h
rb_tree.c
rb_tree.h
reallocarray.h util/reallocarray: add errno.h include. 2022-07-29 06:47:28 +10:00
register_allocate.c
register_allocate.h
register_allocate_internal.h
rgtc.c
rgtc.h
rounding.h include: drop c99_math.h 2022-06-02 13:09:16 +00:00
rwlock.c util: Remove include of windows.h in rwlock.h 2022-10-20 03:04:56 +00:00
rwlock.h util: Remove include of windows.h in rwlock.h 2022-10-20 03:04:56 +00:00
set.c util: remove unused set_random_entry 2022-11-04 23:20:02 +00:00
set.h util: remove unused set_random_entry 2022-11-04 23:20:02 +00:00
simple_mtx.c util: Add util_call_once for optimize call to util_call_once_with_context out for hot path 2022-09-22 04:16:29 +00:00
simple_mtx.h util: #include "c11/threads.h" when necessary in simple_mtx.h 2022-10-20 03:04:56 +00:00
slab.c
slab.h
softfloat.c util: Keep quiet NaNs quiet when converting to half float. 2022-05-02 23:36:50 +00:00
softfloat.h
sparse_array.c
sparse_array.h util: use c11 alignas instead of rolling our own 2022-06-14 15:08:37 +00:00
streaming-load-memcpy.c streaming-memcpy: move to src/util/ and compile unconditionally 2022-06-07 03:33:20 +00:00
streaming-load-memcpy.h streaming-memcpy: move to src/util/ and compile unconditionally 2022-06-07 03:33:20 +00:00
string_buffer.c
string_buffer.h
strndup.h
strtod.c
strtod.h
texcompress_rgtc_tmp.h
timespec.h util: Remove unused function timespec_passed 2022-06-09 17:23:34 +00:00
u_atomic.c
u_atomic.h util: Implement atomic operations consistently across compilers and testing for it 2022-10-13 13:51:18 +00:00
u_call_once.c util: Add util_call_once for optimize call to util_call_once_with_context out for hot path 2022-09-22 04:16:29 +00:00
u_call_once.h util: Add util_call_once for optimize call to util_call_once_with_context out for hot path 2022-09-22 04:16:29 +00:00
u_cpu_detect.c util: Add macro util_get_cpu_caps in u_cpu_detect.c for avoid accidentally call it in u_cpu_detect.c 2022-09-02 01:51:42 +00:00
u_cpu_detect.h util: Move UTIL_MAX_CPUS from u_thread.h to u_cpu_detect.h 2022-10-25 11:06:05 +00:00
u_debug.c util: It's not thread safe to set initialized=true before get the real GALLIUM_PRINT_OPTIONS 2022-11-05 20:40:55 +00:00
u_debug.h util: Fixes debug_get_option_* thread safety by set initialized=true after the value get 2022-11-05 20:40:55 +00:00
u_debug_describe.c
u_debug_describe.h
u_debug_memory.c util: Remove the need of _MTX_INITIALIZER_NP by using simple_mtx_t/SIMPLE_MTX_INITIALIZER in u_debug_memory.c 2022-10-20 01:32:47 +00:00
u_debug_refcnt.c util: Remove the need of _MTX_INITIALIZER_NP by using simple_mtx_t/SIMPLE_M in u_debug_refcnt.c 2022-10-20 01:32:47 +00:00
u_debug_refcnt.h
u_debug_stack.c util: Remove the need of _MTX_INITIALIZER_NP by using simple_mtx_t/SIMPLE_MTX_INITIALIZER in u_debug_stack.c 2022-10-20 01:32:47 +00:00
u_debug_stack.h
u_debug_stack_android.cpp util: Remove the need of _MTX_INITIALIZER_NP by using simple_mtx_t/SIMPLE_MTX_INITIALIZER in u_debug_stack_android.cpp 2022-10-20 01:32:47 +00:00
u_debug_symbol.c util: Remove the need of _MTX_INITIALIZER_NP by using simple_mtx_t/SIMPLE_MTX_INITIALIZER in u_debug_symbol.c 2022-10-20 01:32:47 +00:00
u_debug_symbol.h
u_dl.c gallium/util: Move u_dl and u_pointer to src/util 2022-07-01 21:15:07 +00:00
u_dl.h gallium/util: Move u_dl and u_pointer to src/util 2022-07-01 21:15:07 +00:00
u_drm.h
u_dynarray.h
u_endian.h
u_hash_table.c
u_hash_table.h
u_idalloc.c
u_idalloc.h
u_math.c
u_math.h util,nir: Move mask_sign_extend from opt_load_store_vectorize to util 2022-07-06 11:23:18 +00:00
u_memory.h
u_memset.h
u_mm.c
u_mm.h
u_pointer.h gallium/util: Move u_dl and u_pointer to src/util 2022-07-01 21:15:07 +00:00
u_printf.c printf: extract clovers printf impl 2022-08-04 23:53:49 +00:00
u_printf.h printf: extract clovers printf impl 2022-08-04 23:53:49 +00:00
u_process.c util: Fixes memory leak in __getProgramName 2022-11-05 20:40:55 +00:00
u_process.h
u_qsort.cpp
u_qsort.h meson: Improve detection of qsort_r(). 2022-09-23 07:45:01 +00:00
u_queue.c util: Call function mtx_init on exit_mutex to replace the usage of _MTX_INITIALIZER_NP in u_queue.c 2022-10-20 01:32:47 +00:00
u_queue.h glthread,hud: draw per-frame values and expose the number of batches per frame 2022-09-26 22:58:16 +00:00
u_string.h
u_thread.c util: Move the function implementation from u_thread.h to u_thread.c 2022-10-20 03:04:56 +00:00
u_thread.h util: Move UTIL_MAX_CPUS from u_thread.h to u_cpu_detect.h 2022-10-25 11:06:05 +00:00
u_vector.c
u_vector.h
u_worklist.c
u_worklist.h
vl_rbsp.h
vl_vlc.h util/vl_vlc: Support compiling in C++ 2022-05-17 21:02:24 +00:00
vma.c
vma.h
xmlconfig.c util/xmlconfig: allow drivers to override option values 2022-08-12 06:06:48 +00:00
xmlconfig.h
xxd.py
xxhash.h