Skip to content

[Impeller] consider allocating textures at step interval sizing and supporting different framebuffer/texture sizes. #156503

@jonahwilliams

Description

@jonahwilliams

we could change render target allocation so that we always allocate textures a particular sizes (256, 512, n + 256 or some other interval) and then update the render target cache to go off of texture size. Like @chinmaygarde mentioned a while back, the render pass size doesn't have to match the texture size (the render pass can be smaller).

But have a lot of places that assume render pass size == texture size, so there would be some refactoring.

The goal of this change would be to improve cache efficiency when the saveLayer sizes are unstable, like in the example app in #148496

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecte: impellerImpeller rendering backend issues and features requeststeam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions