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
This commit is contained in:
Vishnu Nair
2021-01-15 13:28:51 -08:00
parent b1dc062e3a
commit 05e1761386

View File

@@ -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