diff options
author | Jorim Jaggi <jjaggi@google.com> | 2017-05-23 15:07:44 +0200 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2017-05-23 23:22:15 +0200 |
commit | 6aead1ccc7d1fe53d70f401618dae3c7f9895470 (patch) | |
tree | 922fce4141719715bdf724dbfc53003cf1839751 /tools/aapt2/Main.cpp | |
parent | ff389264d9abd3278247a93d1d518882407f9cfc (diff) |
Fix creating of app theme snapshots
Apparently locking a HW bitmap makes it super slow to draw.
Instead, draw it into a bitmap, copy it into a hw bitmap, and then
extract the GraphicBuffer.
Test: Open Camera, go home, reopen camera (and maybe go to recents)
Change-Id: Id2371dcdad95f07a680e6c56c0403b3ad815a3f3
Fixes: 38510859
Diffstat (limited to 'tools/aapt2/Main.cpp')
0 files changed, 0 insertions, 0 deletions