-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#35527Closed
Copy link
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listcustomer: googleVarious Google teamsVarious Google teamsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.
Description
See also flutter/engine#34624
When calling Scene.toImage/toImageSync, we first flatten the scene into a single display list, and then rasterize it on the engine thread. This flattening happens on the Ui thread, unlike regular rendering which happens on the engine/raster thread. The UI thread does not have access to the texture registry necessary to draw textures, so they are not included in the scene.
We should update these APIs so they post a task to the engine thread to flatten with a texture registry.
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listcustomer: googleVarious Google teamsVarious Google teamsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.