diff options
| author | 2021-01-15 13:28:51 -0800 | |
|---|---|---|
| committer | 2021-01-15 13:28:51 -0800 | |
| commit | 05e1761386c9923e34c8f8d0b65c156b87deb6bb (patch) | |
| tree | d84e91015d1dd7d4571139e947d45d071a435112 | |
| parent | b1dc062e3a18109d9e1d5b423834057316316a29 (diff) | |
Sync with blast transactions in SurfaceView
Sync SV by sending transactions to viewrootimpl BBQ for
synchronization instead of using deferred transactions.
Test: go/wm-smoke
Test: atest SurfaceViewSyncTest
Change-Id: I86f364080a399d8d528d4141ffd3b0bf79155b8d
| -rw-r--r-- | core/java/android/view/SurfaceView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/SurfaceView.java b/core/java/android/view/SurfaceView.java index 26e3bb27a788..7ac57b5e0421 100644 --- a/core/java/android/view/SurfaceView.java +++ b/core/java/android/view/SurfaceView.java @@ -232,7 +232,7 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall private final Matrix mTmpMatrix = new Matrix(); SurfaceControlViewHost.SurfacePackage mSurfacePackage; - private final boolean mUseBlastSync = false; + private final boolean mUseBlastSync = true; /** * Returns {@code true} if buffers should be submitted via blast |