diff options
author | 2024-11-21 15:32:32 -0700 | |
---|---|---|
committer | 2024-11-28 17:00:06 -0700 | |
commit | 99e8f2c5a719e463093e280a283963e26a2a222a (patch) | |
tree | 89385ee920f9dc7bfbf6d35b4786d10f193a7aa8 /libs/gui/ConsumerBase.cpp | |
parent | 6aebcf249ce1fe01d08f300bee65c7730b24e0bf (diff) |
EGL Multifile Blobcache: Fix applyLRU
This CL contains updates our cache eviction to be an actual
LRU instead of random.
* Entries are now tracked in a sorted map such that old entries
are accessed first in applyLRU.
* Access and update times are tracked with nanosecond accuracy.
Additional tests:
* CacheEvictionIsLRU
Based on work by: Igor Nazarov <i.nazarov@samsung.com>
Test: libEGL_test, EGL_test, ANGLE trace tests, apps
Bug: b/351867582, b/380483358
Flag: com.android.graphics.egl.flags.multifile_blobcache_advanced_usage
Change-Id: I0b6f407b6d5a29f9487f7d7604d723e701c6f6d5
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions