Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 74737915 authored by Cody Northrop's avatar Cody Northrop
Browse files

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
parent 7c0634d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment