summaryrefslogtreecommitdiff
path: root/tools/aapt2/Main.cpp
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2017-05-23 15:07:44 +0200
committerJorim Jaggi <jjaggi@google.com>2017-05-23 23:22:15 +0200
commit6aead1ccc7d1fe53d70f401618dae3c7f9895470 (patch)
tree922fce4141719715bdf724dbfc53003cf1839751 /tools/aapt2/Main.cpp
parentff389264d9abd3278247a93d1d518882407f9cfc (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