summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Cody Northrop <cnorthrop@google.com> 2024-11-08 15:55:30 -0700
committer Cody Northrop <cnorthrop@google.com> 2024-11-27 22:50:47 -0700
commit6aebcf249ce1fe01d08f300bee65c7730b24e0bf (patch)
treeef0b60d544b6e8dde468b338b41ef38b4701991f /libs/gui/ConsumerBase.cpp
parent4ee63869b1be41e002733a520ade5ba48abc8c8c (diff)
EGL Multifile Blobcache: Clean up key reuse
This CL contains multiple fixes that allow key reuse. * set() now checks whether an entry is already present, and if so removes it from hotcache and tracking before adding them. * trackEntry and removeEntry now update the total cache size. * applyLRU now correctly removes entries from all tracking. Additional tests: * SameKeyDifferentValues * SameKeyLargeValues 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: I66fe9cde18e468e541a80296c80f2234ac61acb0
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions