Merge "SurfaceView: Use BLAST transaction when visibility changes." into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7a851ba728
@@ -1037,7 +1037,7 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall
|
||||
mTmpTransaction.setWindowCrop(mSurfaceControl, mSurfaceWidth,
|
||||
mSurfaceHeight);
|
||||
}
|
||||
} else if ((layoutSizeChanged || positionChanged) &&
|
||||
} else if ((layoutSizeChanged || positionChanged || visibleChanged) &&
|
||||
viewRoot.useBLAST()) {
|
||||
viewRoot.setUseBLASTSyncTransaction();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user