mesa/src/util
Timothy Arceri 22fa3d90a9 util/disk_cache: remove percentage based max cache limit
The more I think about it the more this seems like a bad idea.
When we were deleting old cache dirs this wasn't so bad as it
was unlikely we would ever hit the actual limit before things
were cleaned up. Now that we only start cleaning up old cache
items once the limit is reached the a percentage based max
cache limit is more risky.

For the inital release of shader cache I think its better to
stick to a more conservative cache limit, at least until we
have some way of cleaning up the cache more aggressively.

Cc: "17.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2017-04-28 14:35:27 +10:00
..
sha1 util/sha1: add non-typedef name for the SHA1_CTX struct 2017-03-15 11:15:53 +00:00
tests/hash_table mesa: Add .gitignore entries for make check binaries 2016-05-25 09:41:44 -07:00
.gitignore mesa: Add .gitignore entries for make check binaries 2016-05-25 09:41:44 -07:00
Android.mk Android: remove host libmesa_util 2017-03-22 17:52:23 +00:00
bitscan.c util/bitscan: use correct signature for ffs/ffsll 2017-03-13 11:16:34 +00:00
bitscan.h util/bitscan: use correct signature for ffs/ffsll 2017-03-13 11:16:34 +00:00
bitset.h util/bitset: Allow iterating over const bitsets 2016-03-24 15:20:44 -07:00
build_id.c util/build-id: check dlpi_name before strstr call 2017-03-17 07:34:26 +02:00
build_id.h util: consistently use ifndef guards over pragma once 2017-03-22 16:55:22 +00:00
crc32.c util: import CRC32 implementation from gallium 2016-11-22 18:05:51 +01:00
crc32.h util: import CRC32 implementation from gallium 2016-11-22 18:05:51 +01:00
debug.c util: move brw_env_var_as_boolean() to util 2015-11-24 10:02:55 -05:00
debug.h util: Include <stdbool.h> in debug.h. 2015-11-24 10:05:32 -08:00
disk_cache.c util/disk_cache: remove percentage based max cache limit 2017-04-28 14:35:27 +10:00
disk_cache.h util/disk_cache: hash pointer size and gpu name into cache keys 2017-03-24 11:20:09 +11:00
format_r11g11b10f.h util: consistently use ifndef guards over pragma once 2017-03-22 16:55:22 +00:00
format_rgb9e5.h util/format: Use explicitly sized types 2016-08-05 09:07:04 -07:00
format_srgb.h util: Tiny optimisation for the linear→srgb conversion 2015-11-27 10:55:22 +01:00
format_srgb.py util: remove shebang from format_srgb.py 2017-03-10 14:12:48 +00:00
half_float.c glsl: move half<->float convertion to util 2015-10-16 19:33:37 -04:00
half_float.h glsl: move half<->float convertion to util 2015-10-16 19:33:37 -04:00
hash_table.c util: add assert that key cannot be NULL on insertion 2016-08-22 07:37:55 +03:00
hash_table.h util: Move hash_table_call_foreach to util hash table 2016-09-12 10:48:35 +10:00
list.h util: #include "c99_compat.h" to fix Windows build 2017-04-03 13:09:05 -06:00
macros.h mesa: removed redundant #else 2016-11-21 12:44:46 -06:00
Makefile.am util/disk_cache: compress individual cache entries 2017-03-03 12:09:08 +11:00
Makefile.sources util/u_atomic: provide 64bit atomics where they're missing 2017-04-03 10:52:41 -07:00
mesa-sha1.c util/sha1: harmonize _mesa_sha1_* wrappers 2017-03-22 11:33:51 +00:00
mesa-sha1.h util: #include "c99_compat.h" to fix Windows build 2017-04-03 13:09:05 -06:00
ralloc.c ralloc: don't leave out the alignment factor 2017-03-06 11:28:48 -08:00
ralloc.h ralloc: Delete autofree handling. 2017-02-27 15:46:12 -08:00
rand_xor.c util/rand_xor: add function to seed rand 2017-03-23 08:16:29 +11:00
rand_xor.h util/rand_xor: add function to seed rand 2017-03-23 08:16:29 +11:00
register_allocate.c util/ra: (trivial) fix c99 loop variable initialization 2015-08-19 04:17:49 +02:00
register_allocate.h util: consistently use ifndef guards over pragma once 2017-03-22 16:55:22 +00:00
rgtc.c util: move shared rgtc code to util (v2) 2014-09-17 11:27:25 +10:00
rgtc.h util: move shared rgtc code to util (v2) 2014-09-17 11:27:25 +10:00
roundeven_test.c util: Add a roundeven test. 2015-03-18 21:06:26 -07:00
rounding.h util: try to use SSE instructions with MSVC and 32-bit gcc 2016-08-17 12:53:20 -06:00
SConscript util: import sha1 implementation from OpenBSD 2017-01-18 19:07:23 +00:00
set.c util/set: don't compare against deleted entries 2016-02-02 14:42:32 -05:00
set.h util/hash_set: Rework the API to know about hashing 2015-01-15 13:21:27 -08:00
simple_list.h mesa: Port a variant of 68afbe89c7 to util/ 2015-01-28 16:33:34 -08:00
slab.c util: remove unused variable 2016-10-07 21:24:50 +11:00
slab.h util/slab: re-design to allow migration between pools (v3) 2016-10-05 15:40:40 +02:00
string_to_uint_map.cpp mesa/glsl: Move string_to_uint_map into the util folder 2016-09-12 10:48:35 +10:00
string_to_uint_map.h mesa/glsl: Move string_to_uint_map into the util folder 2016-09-12 10:48:35 +10:00
strndup.h util/strndup: move header inclusion as applicable 2017-03-22 16:55:23 +00:00
strtod.c mesa/main: free locale at exit 2015-06-29 09:06:40 -07:00
strtod.h mesa/main: free locale at exit 2015-06-29 09:06:40 -07:00
texcompress_rgtc_tmp.h util: move shared rgtc code to util (v2) 2014-09-17 11:27:25 +10:00
u_atomic.c util/u_atomic: provide 64bit atomics where they're missing 2017-04-03 10:52:41 -07:00
u_atomic.h util: use GCC atomic intrinsics with explicit memory model 2016-10-05 15:39:39 +02:00
u_atomic_test.c util: fix comment typo 2015-12-04 14:06:41 +00:00
u_endian.h u_endian: add android to glibc clause 2016-09-13 10:04:13 +10:00
u_queue.c util/queue: don't hang at exit 2017-04-18 16:32:00 -04:00
u_queue.h util/u_queue: make u_queue accessible to cpp 2017-03-13 09:50:26 +11:00
u_string.h gallium/util: move u_string.h to src/util/u_string.h 2017-03-12 17:43:06 +11:00
u_thread.h util/u_thread.h: Include stdint.h for int64_t definition. 2017-03-13 12:23:11 +00:00
u_vector.c util: add vector util code. 2016-10-19 09:05:25 +10:00
u_vector.h util: fix MSVC warning in u_align_u32() 2017-04-03 13:09:05 -06:00
vk_alloc.h util/vk_alloc: Add a vk_zalloc2 helper 2016-11-17 12:03:24 -08:00
vk_util.h util/vk: Add helpers for finding an extension struct 2017-03-15 08:22:02 +10:00