diff options
author | Jorim Jaggi <jjaggi@google.com> | 2017-11-30 13:54:36 +0100 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2017-12-08 15:00:54 +0100 |
commit | ffe128d46dc45939df08231c8ec382b33306a77f (patch) | |
tree | 7a0ed02961f0810666dee2115947ff9cc10bfbc5 /libs/hwui/renderthread/CacheManager.cpp | |
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
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
0 files changed, 0 insertions, 0 deletions