diff options
author | Chong Zhang <chz@google.com> | 2015-09-21 13:25:58 -0700 |
---|---|---|
committer | Chong Zhang <chz@google.com> | 2015-09-21 13:46:53 -0700 |
commit | 23d62fd37dc22247ef1b55c5b9bc58d1c307081a (patch) | |
tree | 5e4e86446245a26bd72f601f1653542a11ce7cc0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 153a2930e3da91d47a51dca0802700d838de55a7 (diff) |
Do not do setSurface on window size changes
Surface should only be invalidated when surface generation changed
(which we're already doing). Window size change doesn't always imply
a surface change. During a drag-resizing action, the window size is
constantly changing but the surface remains the same. setSurface
could take 12ms+ each frame and cause frame drops.
bug: 23793966
Change-Id: Iac0456122e8916cf06b1a7a0940584ab4bf4065d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions