commit | 9e7cd07a30a0ed27852ad04d2997f00387b55dcf | [log] [tgz] |
---|---|---|
author | Stan Iliev <stani@google.com> | Mon Oct 09 15:56:10 2017 -0400 |
committer | Stan Iliev <stani@google.com> | Wed Nov 08 18:55:16 2017 +0000 |
tree | dc44cd72baa5adf4feb5234d6c32aa2d32529360 | |
parent | e36e7be0fe446320fe86b0825f902439fdd1bda7 [diff] |
Move some of the logic from egl_cache_t into FileBlobCache HWUI is using BlobCache to implement SkSL shader cache very similar to egl_cache_t. Create a new class FileBlobCache, that is used by both egl_cache_t and HWUI. FileBlobCache adds the logic to save and load the BlobCache from a memory mapped file. Test: Built and ran Android. Verified that EGL cache still works Test: for gmail and calc apps. Bug: 66740665 Change-Id: Ia4d194963d039a60244f3bc76108844418adc99d