f9e45d1d818ae0956ba77ed598b7040cfecca553 |
|
01-Jun-2017 |
Derek Sollenberger <djsollen@google.com> |
Implement CacheManager for the Skia pipelines. The core of the implementation is complete and provides heuristic cache sizing based on the size of the surface being used. This CL will also be used to add the following features in the future... 1) Support Vulkan pipeline reporting on the size of the surface. 2) Complete the VectorDrawableAtlas stub code 3) Automatic purging of stale resources for low memory devices. Test: hwui_unit_tests (new test added) and CtsUiRendering Bug: 62260637 Change-Id: Ib85159cca28b646fe249f2190b07f1b7e0f50d8f
/frameworks/base/libs/hwui/tests/unit/CacheManagerTests.cpp
|