mesa/src/util
Timothy Arceri 4a98764da8 util/disk_cache: make use of the new compression helpers
This makes compression use more consistent between the zstd and
zlib libraries. It also reduces the amount of code required for
zlib use.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9593>
2021-03-15 03:34:48 +00:00
..
format u_format: Mark the generated pack/unpack src/dst args as restrict. 2021-03-11 23:26:34 +00:00
sha1
tests util/disk_cache: move cache tests to the util directory 2021-03-02 02:39:05 +00:00
00-mesa-defaults.conf driconf: add performance tweaks for viewperf 2021-03-08 10:33:33 +00:00
Android.mk android: driconf: Generate a static table when no xmlconfig 2021-03-01 20:52:28 +00:00
anon_file.c
anon_file.h
bigmath.h
bitscan.c
bitscan.h util/bitscan: add u_foreach_bit macros 2021-02-24 17:11:44 +00:00
bitset.h util/bitset: add a new last bit api 2021-03-10 06:16:05 +10:00
bitset_test.cpp
blob.c
blob.h
blob_test.c
build_id.c
build_id.h
cnd_monotonic.h
compiler.h util: Disable [[fallthrough]] for C17 2020-12-02 19:35:59 +00:00
compress.c util: create some standalone compression helpers 2021-03-15 03:34:48 +00:00
compress.h util: create some standalone compression helpers 2021-03-15 03:34:48 +00:00
crc32.c
crc32.h
dag.c
dag.h
debug.c
debug.h
detect_os.h
disk_cache.c util/disk_cache: make MESA_DISK_CACHE_READ_ONLY_FOZ_DBS a relative path 2021-03-04 04:07:46 +00:00
disk_cache.h util/disk_cache: use a new cache dir for the single file cache feature 2021-02-21 02:50:45 +00:00
disk_cache_os.c util/disk_cache: make use of the new compression helpers 2021-03-15 03:34:48 +00:00
disk_cache_os.h util/disk_cache: make MESA_DISK_CACHE_READ_ONLY_FOZ_DBS a relative path 2021-03-04 04:07:46 +00:00
double.c
double.h
driconf.h st/nine: Add driconf option to limit texture memory 2021-03-07 13:13:53 +00:00
driconf_static.py driconf: avoid Non-ASCII character error in driconf_static.py 2021-03-01 20:52:28 +00:00
enum_operators.h
fast_idiv_by_const.c
fast_idiv_by_const.h
fast_urem_by_const.h
format_r11g11b10f.h
format_rgb9e5.h
format_srgb.h
format_srgb.py
fossilize_db.c util/disk_cache: make MESA_DISK_CACHE_READ_ONLY_FOZ_DBS a relative path 2021-03-04 04:07:46 +00:00
fossilize_db.h util/disk_cache: make MESA_DISK_CACHE_READ_ONLY_FOZ_DBS a relative path 2021-03-04 04:07:46 +00:00
futex.h
half_float.c
half_float.h util: Add accessor for util_cpu_caps 2021-02-26 18:31:19 +00:00
hash_table.c util/hash_table: optimize rehash for empty table and no-func clears 2021-01-14 13:51:35 +00:00
hash_table.h util/hash_table: add _mesa_hash_data_with_seed function 2020-12-08 10:10:47 +01:00
libsync.h
list.h util/list: use helper function in list_is_singular 2020-12-18 01:46:00 +00:00
log.c
log.h
macros.h macros: Add thread-safety annotation macros 2021-02-18 00:27:49 +00:00
Makefile.sources android: driconf: Generate a static table when no xmlconfig 2021-03-01 20:52:28 +00:00
memstream.c util: Disable memstream for Apple builds 2021-01-08 09:37:14 +00:00
memstream.h
mesa-sha1.c util/mesa_sha1: add helper to reconvert sha1 hex strings 2021-02-21 02:50:45 +00:00
mesa-sha1.h util/mesa_sha1: add helper to reconvert sha1 hex strings 2021-02-21 02:50:45 +00:00
mesa-sha1_test.c
meson.build util: create some standalone compression helpers 2021-03-15 03:34:48 +00:00
os_file.c util: Make os_read_file use O_BINARY on Windows 2021-03-11 23:43:47 +00:00
os_file.h util: Make os_read_file use O_BINARY on Windows 2021-03-11 23:43:47 +00:00
os_memory.h
os_memory_aligned.h
os_memory_debug.h
os_memory_stdc.h
os_misc.c util: fix parsing of /proc/meminfo MemAvailable value 2021-02-17 08:06:15 +01:00
os_misc.h util: Add os_get_page_size query 2020-12-02 10:12:27 -08:00
os_socket.c
os_socket.h
os_time.c
os_time.h
process_test.c
ralloc.c
ralloc.h
rand_xor.c
rand_xor.h
rb_tree.c
rb_tree.h
rb_tree_test.c
register_allocate.c
register_allocate.h
rgtc.c
rgtc.h
roundeven_test.c
rounding.h util: When building 'ARM64EC', don't use x64 intrinsics which need to be emulated 2021-01-22 17:56:08 +00:00
rwlock.h
SConscript scons: Add u_format_pack.h include path. 2021-02-24 20:48:47 +00:00
set.c util/set: split off create() into an init() function 2021-01-14 13:51:35 +00:00
set.h util/set: split off create() into an init() function 2021-01-14 13:51:35 +00:00
simple_list.h
simple_mtx.h
slab.c util/slab: do not dereference NULL-pointer 2020-12-01 18:03:31 +00:00
slab.h
softfloat.c softfloat: Silence a warning at -Og 2021-02-18 20:59:43 +00:00
softfloat.h
sparse_array.c
sparse_array.h
string_buffer.c
string_buffer.h
strndup.h
strtod.c
strtod.h
texcompress_rgtc_tmp.h
timespec.h
u_atomic.c
u_atomic.h util: Use explicit relaxed reads for u_queue 2021-01-28 18:07:09 +00:00
u_atomic_test.c
u_cpu_detect.c util: Add accessor for util_cpu_caps 2021-02-26 18:31:19 +00:00
u_cpu_detect.h util: Add accessor for util_cpu_caps 2021-02-26 18:31:19 +00:00
u_debug.c
u_debug.h util: Add helper to get FILE* options 2020-12-03 21:19:57 +00:00
u_debug_memory.c
u_debug_stack.c util: Fix pointer to integer conversion error when using libunwind 2021-01-15 20:00:20 +00:00
u_debug_stack.h
u_debug_stack_android.cpp
u_debug_stack_test.cpp
u_debug_symbol.c
u_debug_symbol.h
u_drm.h
u_dynarray.h
u_endian.h
u_idalloc.c
u_idalloc.h
u_math.c util: Add accessor for util_cpu_caps 2021-02-26 18:31:19 +00:00
u_math.h
u_memory.h
u_memset.h util: add optimised memset64 2021-02-22 00:30:46 +00:00
u_mm.c
u_mm.h
u_printf.cpp util: add printf specifier shared helper code. 2020-12-29 09:07:23 +10:00
u_printf.h util: add printf specifier shared helper code. 2020-12-29 09:07:23 +10:00
u_process.c util: implement GET_PROGRAM_NAME for Haiku 2021-01-09 20:51:03 -06:00
u_process.h
u_queue.c util: Always use timespec_get on Windows. 2021-03-02 14:37:46 +00:00
u_queue.h util: Use explicit relaxed reads for u_queue 2021-01-28 18:07:09 +00:00
u_string.h util: fix gcc vsnprintf overflow 2021-02-19 11:05:38 +00:00
u_thread.h util: Extract thread-id helpers from u_current 2021-03-11 04:42:15 +00:00
u_vector.c
u_vector.h util: Promote __builtin_types_compatible_p compat 2020-12-10 16:48:36 +00:00
vma.c
vma.h
xmlconfig.c meson/xmlconfig: win32 regex fallback 2021-02-25 14:03:27 +00:00
xmlconfig.h xmlconfig: Disable WITH_XMLCONFIG on Windows 2020-12-14 17:28:04 +00:00
xxd.py
xxhash.h xxhash: update fallthrough comments 2020-12-01 10:04:41 +01:00