commit | 3310fb1b24c6cdd0781674fab69e359caf9d17e5 | [log] [tgz] |
---|---|---|
author | Stan Iliev <stani@google.com> | Thu Mar 23 16:56:51 2017 -0400 |
committer | Stan Iliev <stani@google.com> | Tue Jul 18 19:00:15 2017 -0400 |
tree | f795813741f9e97aad102e4d1b777e52e36beee7 | |
parent | a554ba6e2ebc320e9227a0302c8079c0f2cb9e85 [diff] |
Cache VectorDrawables in an atlas Optimize VectorDrawables for Skia pipeline: draw small VectorDrawables in a GPU atlas instead of seprate offscreen buffers. This implementation is using CacheManger and allows for the atlas to be released if there is a memory pressure. Test: A new unit test for VectorDrawableAtlas is passing. Systrace shows 0.5ms faster DrawFrame for fling in Settings app main screen. Change-Id: Ide3884eefae777e1547f1dfdb67b807185839fb4