Content-Length: 286839 | pFad | https://github.com/flutter/flutter/issues/117508

F8 [Impeller] Flutter GPU: Deserialize ipscene assets in Flutter UI · Issue #117508 · flutter/flutter · GitHub
Skip to content

[Impeller] Flutter GPU: Deserialize ipscene assets in Flutter UI #117508

@bdero

Description

@bdero

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 of Scene->textures; pass nullptr for any images that failed to decode), and the allocator from the Impeller context (UIDartState::Current()->GetIOManager()->GetImpellerContext()).

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecte: impellerImpeller rendering backend issues and features requestsengineflutter/engine repository. See also e: labels.flutter-gputeam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    Status

    🤔 Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/flutter/flutter/issues/117508

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy