From 05e1761386c9923e34c8f8d0b65c156b87deb6bb Mon Sep 17 00:00:00 2001 From: Vishnu Nair Date: Fri, 15 Jan 2021 13:28:51 -0800 Subject: [PATCH] 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 --- core/java/android/view/SurfaceView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/view/SurfaceView.java b/core/java/android/view/SurfaceView.java index 26e3bb27a7885..7ac57b5e0421f 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