Skip to content

[Impeller] Change the transient buffer to be a per-frame arena. #138161

@bdero

Description

@bdero
  • Uniforms and geometry get thrown into per-pass HostHuffers.
  • HostBuffers are created per-pass and managed in a pool.
  • All emplaced HostBuffer data is copied into a second buffer on the CPU prior to upload.
  • There is zero reuse of Device-side allocations across frames, as managed by HostBuffers today.

We can switch to a per-frame arena to reuse DeviceBuffer allocations and remove the need for the additional scratch buffer.

https://docs.google.com/document/d/1hgh57Y14l7M0HYRbq_LAlk8TrkJPeZXXotMEpYWhEAI/edit#heading=h.mf6k21cohky2

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: proposalA detailed proposal for a change to Fluttere: impellerImpeller rendering backend issues and features requestsr: fixedIssue is closed as already fixed in a newer versionteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions