Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05e17613 authored by Vishnu Nair's avatar Vishnu Nair
Browse files

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
parent b1dc062e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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