Skip to content

Commit b213589

Browse files
authored
Revert "Apply rect clipping to surface views (#184471)" (#184728)
This reverts commit a488da3 because the bot is failing to do so in #184724 Revert because skia gold seems bugged w.r.t. the original pr, so try relanding it to reset skia gold state
1 parent b185b02 commit b213589

4 files changed

Lines changed: 1 addition & 353 deletions

File tree

dev/integration_tests/android_engine_test/lib/hcpp/platform_view_cliprect_surfaceview_main.dart

Lines changed: 0 additions & 155 deletions
This file was deleted.

dev/integration_tests/android_engine_test/test_driver/hcpp/platform_view_cliprect_surfaceview_main_test.dart

Lines changed: 0 additions & 68 deletions
This file was deleted.

docs/platforms/android/Android-Platform-Views.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ You can enable HCPP using one of the following methods:
6868

6969
### Limitations and Known Issues
7070
The following is a list of limitations and known issues. If you encounter an issue not listed below, please file an issue!
71+
- **SurfaceView Compatibility**: Opting in is currently not recommended if your application contains a platform view which is or contains a native [`SurfaceView`](https://developer.android.com/reference/android/view/SurfaceView) (often used by video players or map plugins), due to clipping issues. This is tracked in https://github.com/flutter/flutter/issues/175546.
7172
- **Complex Overlay Stacking**: Transparent platform views will not display correctly in layout stacks structured as: Flutter canvas -> Platform View -> Overlay -> Transparent Platform View, when all four of these layers intersect.
7273

7374
## Virtual Display

0 commit comments

Comments
 (0)