+1
−0
+32
−28
libs/hwui/Layer.h
0 → 100644
+90
−0
libs/hwui/LayerCache.cpp
0 → 100644
+114
−0
libs/hwui/LayerCache.h
0 → 100644
+78
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The cache is used to draw layers so that a new texture does not have to be recreated every time a call to saveLayer() happens. The FBO cache used a KeyedVector, which is a bad idea. The cache should be able to store several FBOs of the same size (this happens a lot during scrolling with fading edges for instance.) This will be changed in a future CL. Change-Id: Ic316189e625f0dbcf0d273a71cc981a433d48726