Skip to content

Reduce visual artifacts when resizing embedded Android views #19572

@amirh

Description

@amirh

Right now a bad artifact can be seen when an AndrodView is resized.
The root cause is that the render tree changes (happening on the ui thread) are not synchronized with the Android view resize (happening on the platform thread) so we end up rendering with a scaled frame of the Android view.
This bug is not about solving the synchronization issue (@jason-simmons might have some ideas around that), but about reducing the severity of the resize artifact.

The current plan is to detect the inconsistent state at paint time (on the gpu thread) and do something more graceful than just scaling.

Metadata

Metadata

Assignees

Labels

a: platform-viewsEmbedding Android/iOS views in Flutter appsengineflutter/engine related. See also e: labels.platform-androidAndroid applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions