diff options
author | Robert Carr <racarr@google.com> | 2020-01-22 13:32:38 -0800 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2020-01-27 16:47:33 -0800 |
commit | 2e20bcd65ecdb06eeaac2dc8356dec90c756d271 (patch) | |
tree | 707c73d18147e571adcf388036a0c0510770d99c /apct-tests/perftests/core | |
parent | 6871767aaa276165c41db4c330e9ebe07cd7501c (diff) |
WM: Defer transactions for BLAST Surfaces too.
For switching on BLAST we are implementing deferred transactions for
compatibility. Presently the BLAST Surface is constructed by the ViewRootImpl
and so the WM has no reference to pass when using it as a barrier layer for
deferTransactionUntil. To resolve this we construct and hold a reference to
the BLAST Surface on the server side, and pass it down to the client in relayoutWindow.
We don't use the WindowStateAnimator surface directly as both the BLAST Adapter and
the WindowStateAnimator would then be setting crops on it.
Bug: 146598493
Test: Builds, existing tests pass.
Change-Id: I6513e0442f5c75f01eb8dde5f1924dd7b636163c
Diffstat (limited to 'apct-tests/perftests/core')
-rw-r--r-- | apct-tests/perftests/core/src/android/wm/RelayoutPerfTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apct-tests/perftests/core/src/android/wm/RelayoutPerfTest.java b/apct-tests/perftests/core/src/android/wm/RelayoutPerfTest.java index c62aad622f25..b6e39e14602a 100644 --- a/apct-tests/perftests/core/src/android/wm/RelayoutPerfTest.java +++ b/apct-tests/perftests/core/src/android/wm/RelayoutPerfTest.java @@ -150,7 +150,7 @@ public class RelayoutPerfTest extends WindowManagerPerfTestBase { mViewVisibility.getAsInt(), mFlags, mFrameNumber, mOutFrame, mOutContentInsets, mOutVisibleInsets, mOutStableInsets, mOutBackDropFrame, mOutDisplayCutout, mOutMergedConfiguration, - mOutSurfaceControl, mOutInsetsState, new Point()); + mOutSurfaceControl, mOutInsetsState, new Point(), new SurfaceControl()); } } } |