Skip to content

Wait until first frame rendered back on SurfaceView/TextureView #62455

@blasten

Description

@blasten

When switching back to the surface view, wait until the first Flutter frame is rendered to destroy the overlay surfaces.

Otherwise, if it doesn't wait, the surface view will be stuck in an older frame until the first frame is rendered.
Video: https://drive.google.com/file/d/1pFthmitWxZLdyOMsxDsWrkKVBR0Drnyq/view

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressionc: performanceRelates to speed or footprint issues (see "perf:" labels)engineflutter/engine related. See also e: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions