summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Cody Northrop <cnorthrop@google.com> 2023-01-10 15:33:18 -0700
committer Cody Northrop <cnorthrop@google.com> 2023-02-01 21:05:20 -0700
commitb81ab20164c2d12e0f3d5f734edcf1147b4a12d4 (patch)
tree4c03a276d7a329692ae182a0fb5ed70e1abff335 /libs/gui/LayerState.cpp
parentf34df7c256dd6aa3d23c18b59bf468283b266c09 (diff)
EGL: Refactor multifile blobcache
After more testing, it became apparent that we need to avoid accessing the filesystem to have decent speed. This CL does that by: * Moving the multifile cache to a class * Tracking all entries in a bookkeeping system * Remove use of STL for read/write * Keep recent entries in a hot cache * Deferring file writes to a worker thread * Allowing devices to opt in via config For more data and details on the design philosophy: go/improving-multifile-blobcache-speed Also added a new sequence of tests that bypass EGL and directly invoke the mulfifile cache. Test: pubg_mobile_launch ANGLE trace Test: /data/nativetest64/EGL_test/EGL_test Test: /data/nativetest64/libEGL_test/libEGL_test Bug: b/266725576 Change-Id: Ia19147522a6f68f05fbe47c1545e4c9d69e513c6
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions