Remove crop for Windowless Window leash
The crop creates interference with syncing an embedded window because the crop doesn't happen in sync. Since the crop is really not needed, it's simpler to just remove it. Additionally, GL Surfaces were not setting scaling mode to NATIVE_WINDOW_SCALING_MODE_FREEZE which prevents the sync from working properly since the content would scale to the new size before a buffer was sent. Since HWUI expects NATIVE_WINDOW_SCALING_MODE_FREEZE, this CL also changes the scaling mode in CanvasContext for the surface used by HWUI. Added SurfaceSyncGroupContinuousTest presubmit test Test: SurfaceSyncGroupContinuousTest Bug: 237804605 Change-Id: I84c60c2a6fd6a88a1927138a0a93fbd0c16dfb6d
Loading
Please register or sign in to comment