-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Open
Open
Copy link
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: multi windowIssues related to multi window supportIssues related to multi window supportengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.team-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Description
Background
Adding/removing a view from the engine is an asynchronous operation. However, desktop embedders expose a synchronous API. Today, desktop embedders block the platform thread until the engine completes the add/remove operation.
Blocking the platform thread like this is unnecessary if the platform thread doesn't use the view immediately.
Solution
Use lazy blocking: only block the platform thread if it attempts to do something that is affected by a pending view add/remove operation.
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: multi windowIssues related to multi window supportIssues related to multi window supportengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.team-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Type
Projects
Status
No status