summaryrefslogtreecommitdiff
path: root/libs/androidfw/ConfigDescription.cpp
diff options
context:
space:
mode:
author Cody Northrop <cnorthrop@google.com> 2022-11-16 23:31:31 -0700
committer Cody Northrop <cnorthrop@google.com> 2022-12-21 18:55:37 -0700
commit74737915b1404de72e3dd208ac03420612adec08 (patch)
tree6fa0d513804764e2ee1d336fa4dc9486b48521b0 /libs/androidfw/ConfigDescription.cpp
parent7c0634d9c9575d85c44bf457246ecbfd99956270 (diff)
GraphicsEnvironment: Determine storage limit for EGL blob cache
The application has a quota provided by the platform informing it how much space it can use for temp storage. The value can change over time based platform resources. Use this value to dictate how much space drivers can use to store persistent entries in EGL blob cache. For games, allow 50% of the storage to be used. For non-games, limit to 25%. This CL works in conjunction with a native change to use multiple files for EGL blob cache. (ag/20505145) The limits for monolithic cache are unchanged. Test: ANGLE trace tests, various games and apps Bug: b/246966894 Change-Id: I38ee45a27c29f913f5de9c0d76722da0d1dcade3
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions