mesa/src/util
Dylan Baker 0abce6d770 utils/u_math: break dependency on gallium/utils
Currently u_math needs gallium utils for cpu detection.  Most of what
u_math uses out of u_cpu_detection is duplicated in src/mesa/x86
(surprise!), so I've just reworked it as much as possible to use the
x86/common_x86_features.h macros instead of the gallium ones. The mesa
implementation is a header only approach, with no external dependencies.
There is one small function that was copied over, as promoting
u_cpu_detection is itself a fairly hefty undertaking, as it depends on
u_debug, and this fixes the bug for now.

bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107870
Tested-by: Vinson Lee <vlee@freedesktop.org>
2018-09-20 05:52:23 -07:00
..
sha1 util: Fix SHA1 implementation on big endian 2017-11-25 12:30:46 -08:00
tests util/string_buffer: fix warning in tests 2018-07-18 08:29:51 -07:00
xmlpool mesa: move legacy dri config option texture_depth 2018-09-18 19:43:05 +10:00
.gitignore
00-mesa-defaults.conf util: use force_compat_profile for Wolfenstein The Old Blood 2018-09-18 19:34:54 +10:00
Android.mk util: Android.mk: Convert implicit rules to static pattern rules 2018-08-02 15:42:23 -06:00
bitscan.c
bitscan.h util/u_math: Implement a logbase2 function for unsigned long 2018-05-29 13:37:45 +02:00
bitset.h util/bitset: include util/macro.h 2018-06-15 11:26:30 +01:00
build_id.c util/macros: Import ALIGN_POT from ralloc.c 2018-07-02 12:09:14 -07:00
build_id.h
crc32.c util: use faster zlib's CRC32 implementaion 2018-01-14 19:10:33 +02:00
crc32.h
debug.c
debug.h
disk_cache.c Shorten u_queue names 2018-07-04 22:03:35 -04:00
disk_cache.h util/disk_cache: Fix disk_cache_get_function_timestamp with disabled cache. 2018-07-20 12:09:19 +02:00
format_r11g11b10f.h
format_rgb9e5.h
format_srgb.h util/srgb: Add a float sRGB -> linear helper 2018-04-24 13:41:14 -07:00
format_srgb.py python: Use the print function 2018-07-06 10:04:22 -07:00
futex.h util/u_queue: add util_queue_fence_wait_timeout 2017-11-09 13:58:10 +01:00
half_float.c util: mark s as MAYBE_UNUSED in _mesa_half_to_unorm8 2018-08-18 10:34:12 +10:00
half_float.h mesa: add ASTC 2D LDR decoder 2018-07-31 18:09:57 -04:00
hash_table.c util/hash_table: add helper to remove entry by key 2018-07-13 14:20:49 -07:00
hash_table.h util/hash_table: add helper to remove entry by key 2018-07-13 14:20:49 -07:00
list.h util/list: Make some helpers take const lists 2018-07-29 13:39:35 -07:00
macros.h Require Visual Studio 2015. 2018-09-10 10:10:16 +01:00
Makefile.am Revert "configure: allow building with python3" 2018-08-24 11:14:15 +01:00
Makefile.sources move u_math to src/util 2018-09-07 10:21:26 -07:00
merge_driinfo.py
mesa-sha1.c
mesa-sha1.h
mesa-sha1_test.c util: Add a SHA1 unit test program 2017-11-25 12:30:46 -08:00
meson.build mesa/meson: 32bit xmlconfig linkage 2018-09-10 08:57:42 -07:00
os_time.c util: use clock_gettime() on PIPE_OS_BSD 2018-03-01 18:44:38 +00:00
os_time.h
ralloc.c util/macros: Import ALIGN_POT from ralloc.c 2018-07-02 12:09:14 -07:00
ralloc.h
rand_xor.c
rand_xor.h
rb_tree.c util: rb-tree: A simple, invasive, red-black tree 2018-07-05 11:57:45 +01:00
rb_tree.h util: rb_tree: add safe iterators 2018-08-22 17:49:36 +01:00
register_allocate.c mesa: include mtypes.h less 2018-04-12 19:31:30 -04:00
register_allocate.h
rgtc.c
rgtc.h
roundeven_test.c
rounding.h
SConscript util: scons: wire up the sha1 test 2017-12-15 19:01:12 +00:00
set.c util/set: helper to remove entry by key 2018-07-12 14:03:51 -07:00
set.h util/set: helper to remove entry by key 2018-07-12 14:03:51 -07:00
simple_list.h
simple_mtx.h src/util/simple_mtx.h: Fix two -Wunused-param warnings. 2017-11-17 09:27:57 -07:00
slab.c util/macros: Import ALIGN_POT from ralloc.c 2018-07-02 12:09:14 -07:00
slab.h
string_buffer.c
string_buffer.h
strndup.h
strtod.c
strtod.h
texcompress_rgtc_tmp.h
u_atomic.c
u_atomic.h
u_atomic_test.c
u_dynarray.h util/dynarray: add a clone function 2018-08-22 14:41:26 -07:00
u_endian.h meson/configure: detect endian.h instead of trying to guess when it's available 2018-03-23 11:44:21 +00:00
u_math.c utils/u_math: break dependency on gallium/utils 2018-09-20 05:52:23 -07:00
u_math.h move u_math to src/util 2018-09-07 10:21:26 -07:00
u_process.c util: better handle program names from wine 2018-08-18 09:20:39 +10:00
u_process.h util: move process.[ch] to u_process.[ch] 2018-08-01 12:47:16 -07:00
u_queue.c kutil/queue: use util_snprintf() in util_queue_init 2018-08-02 10:06:44 +03:00
u_queue.h kutil/queue: add a process name into a thread name 2018-07-04 21:54:39 -04:00
u_string.h mesa/util: add missing va_end() after va_copy() 2018-09-06 17:33:27 +01:00
u_thread.h move pthread_setaffinity_np check to the build system 2018-09-17 13:16:46 -07:00
u_vector.c util: Use util_is_power_of_two_nonzero in u_vector 2018-03-29 14:09:28 -07:00
u_vector.h
vma.c util: Add a virtual memory allocator 2018-05-31 16:17:35 -07:00
vma.h util: Add a virtual memory allocator 2018-05-31 16:17:35 -07:00
xmlconfig.c xmlconfig: add kernel_driver device attribute 2018-08-17 17:16:32 +01:00
xmlconfig.h xmlconfig: add kernel_driver device attribute 2018-08-17 17:16:32 +01:00
xmlpool.h