-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a return value to BlobCache::set
HWUI's shader cache uses a BlobCache for writing to persistent storage. We would like to know whether the cache is large enough to hold the necessary shaders, but BlobCache does not currently provide any way to inspect it. Add a new enum with possible outcomes from BlobCache::set and return it from that method. This way a client can use this information, e.g. in perfetto traces. Bug: 231194869 Bug: 225211273 Test: atest libEGL_test (BlobCacheTest) Change-Id: I9aade9da42cae83da053cc8d5e24999de1936de6
- Loading branch information
1 parent
f7f5aac
commit 2337796
Showing
3 changed files
with
95 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters