Skip to content

Implement scene builder ops when an Android view is involved #58426

@blasten

Description

@blasten

These are the operations that should be applied to the android.view.View corresponding to the fluter::PlatformViewLayer instance.

  • pushTransform P0
  • pushClipRect P0
  • pushOpacity
  • pushClipPath
  • pushClipRRect p2
  • pushBackdropFilter
  • pushColorFilter
  • pushPhysicalShape
  • pushShaderMask

To do this, the mutator stack must be passed to the Android embedding through the FlutterViewOnDisplayPlatformView JNI call.

For more context, see the "Mapping a Flutter Layer Tree to an Android View" section in go/flutter-hybrid-composition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: platform-viewsEmbedding Android/iOS views in Flutter appscustomer: money (g3)customer: productengineflutter/engine related. See also e: labels.platform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions