Skip to content

Add an embedder.h API for requesting a redraw #69716

@stuartmorgan-g

Description

@stuartmorgan-g

There are cases where the desktop embeddings needed to instruct the engine to redraw (e.g., after certain window manager operations on Linux that discard the previous backing buffer). Currently there's no way to do that explicitly, so we've just send a window metrics update with the current metrics. This doesn't capture what is conceptually being requested, and there's an obvious potential for unintended side-effects of reasonable-seeming changes in the engine (such as optimizing away metrics updates that have the current values).

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projecta: desktopRunning on desktopc: new featureNothing broken; request for a new capabilitye: embedderUsers of the Embedder APIengineflutter/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