Merge "SurfaceView: Use BLAST transaction when visibility changes." into rvc-dev am: 7a851ba728 am: a50b55f770 am: 1b98e2320d am: 73758a1965
Change-Id: I7e044d42b77fd6294fe0c0484f2c73409d67fb0c
This commit is contained in:
@@ -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