Loading core/java/android/view/SurfaceView.java +2 −1 Original line number Diff line number Diff line Loading @@ -232,6 +232,7 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall private final Matrix mTmpMatrix = new Matrix(); SurfaceControlViewHost.SurfacePackage mSurfacePackage; private final boolean mUseBlastSync = false; /** * Returns {@code true} if buffers should be submitted via blast Loading Loading @@ -1922,6 +1923,6 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall } private boolean useBLASTSync(ViewRootImpl viewRoot) { return viewRoot.useBLAST() && mUseBlastAdapter; return viewRoot.useBLAST() && mUseBlastAdapter && mUseBlastSync; } } Loading
core/java/android/view/SurfaceView.java +2 −1 Original line number Diff line number Diff line Loading @@ -232,6 +232,7 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall private final Matrix mTmpMatrix = new Matrix(); SurfaceControlViewHost.SurfacePackage mSurfacePackage; private final boolean mUseBlastSync = false; /** * Returns {@code true} if buffers should be submitted via blast Loading Loading @@ -1922,6 +1923,6 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall } private boolean useBLASTSync(ViewRootImpl viewRoot) { return viewRoot.useBLAST() && mUseBlastAdapter; return viewRoot.useBLAST() && mUseBlastAdapter && mUseBlastSync; } }