diff options
author | John Reck <jreck@google.com> | 2015-05-19 15:00:13 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2015-05-19 15:00:13 -0700 |
commit | 63005e6e5b1ee6d32a217ce8b4d8f0d13987fc39 (patch) | |
tree | 9dda4d7d6503ef7735debe7ca19816549e2faea8 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 95ba62f8d0e753bc7905b915d0b2b510d09c320c (diff) |
Reduce wasted buffer allocations
Bug: 20170924
Don't pre-allocate buffers if there is a SurfaceView or other
View that has requested transparent regions. This doesn't fully
address the problem of allocating buffers when there's a full
screen SurfaceView but it at least gets back to KitKat levels
of only having 1 wasted buffer instead of 3 (the 1 being
a result of the fact that it will still draw one frame of emptiness
forcing a buffer dequeue).
Change-Id: Ied9553186bc7b111d180b63f87b92bd317cb4b97
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions