commit | 6aead1ccc7d1fe53d70f401618dae3c7f9895470 | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Tue May 23 15:07:44 2017 +0200 |
committer | Jorim Jaggi <jjaggi@google.com> | Tue May 23 23:22:15 2017 +0200 |
tree | 922fce4141719715bdf724dbfc53003cf1839751 | |
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