diff options
author | Riddle Hsu <riddlehsu@google.com> | 2019-09-09 21:12:41 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2019-09-16 13:26:21 +0800 |
commit | a0022cd28832026e2806d4f1baad8bf4b162250a (patch) | |
tree | fef278a22298bf71d1deb050cc2bb53f158021a6 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 7c03ce7afe7a86f5093cbc34c7693c4075a5dfd2 (diff) |
Continue layout if needed
Sometimes the operations in the deferLayout~continueLayout don't
change significant states related to layout.
This reduces 1~3 times performSurfacePlacement when switching between
activities. Also reduce lots of invocations when resizing task/stack.
Bounds change isn't a layout reason from activity aspect because there
are already many invocations from relayoutWindow, finishDrawingWindow
and animate that will request traversal.
Test: go/wm-smoke
Test: Enable debug log in WindowSurfacePlacer to observe the
invocation of performSurfacePlacement from continueLayout.
Bug: 140407614
Change-Id: I347f1fe1db676dcf320163bed0df693775b5f022
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions