Skip to content

[Memory Optimization] Reduce the size of Overlay FlutterImageView in HC mode #117303

@Nayuta403

Description

@Nayuta403

Use case

run https://github.com/Nayuta403/platform_view_example
In HC mode, for the intersecting layers on top of the Platformview, we create an OverlayImageView display as shown below
image
But the current size of the Overlay is the size of the Layer, the rectangle where the Layer intersects the Platformview can be calculated to reduce the size of the Overlay. As shown below

image

Proposal

Reduce the size of Overlay FlutterImageView in HC mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: platform-viewsEmbedding Android/iOS views in Flutter appsc: proposalA detailed proposal for a change to Flutterengineflutter/engine related. See also e: labels.perf: memoryPerformance issues related to memoryplatform-androidAndroid applications specificallyplatform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions