-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecte: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsengineflutter/engine repository. See also e: labels.flutter/engine repository. See also e: labels.flutter-gputeam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Description
An ipscene flatbuffer asset (root: fb::Scene
) is able to be directly deserialized into an std::shared_ptr<impeller::scene::Node>
within UI, which can then be passed to Impeller through a DisplayList op.
- Load the ipscene flatbuffer file.
- Decode all texture assets in the
Scene
->textures
list through the normal image decoder flow to produce DlTextures. - Fire off a raster task to deserialize the scene by calling
scene::Node::MakeFromFlatbuffer
with the ipscene flatbuffer, the list of decoded Impeller texture handles (which should match the exact order ofScene
->textures
; passnullptr
for any images that failed to decode), and the allocator from the Impeller context (UIDartState::Current()->GetIOManager()->GetImpellerContext()
).
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecte: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsengineflutter/engine repository. See also e: labels.flutter/engine repository. See also e: labels.flutter-gputeam-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Type
Projects
Status
🤔 Needs Triage