commit | ffe128d46dc45939df08231c8ec382b33306a77f | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Thu Nov 30 13:54:36 2017 +0100 |
committer | Jorim Jaggi <jjaggi@google.com> | Fri Dec 08 15:00:54 2017 +0100 |
tree | 7a0ed02961f0810666dee2115947ff9cc10bfbc5 | |
parent | 0e1209bedf9b93e550084ff1bb71d36c8ff9cfa8 [diff] |
Optimize surface hierarchy - Do not reset layer if layer doesn't change. JNI is expensive. - Only assign child layers once if we have to do multiple passes. - Fix issue where layouting the starting window caused the surface to be resized, leading to a blocking SF transaction. Test: go/wm-smoke Test: adb logcat -b events | grep 319, inspect transition times. Fixes: 69632880 Change-Id: I8fffca30591730fae87ed3aeb9df0bdf7d4b55dd