Skip to content

[Impeller] Better scheduling of texture upload during image decoding. #123058

@jonahwilliams

Description

@jonahwilliams

Currently the frame capture when navigating to a page with a lot of images looks a lot like the following. Because we upload concurrently from N threads, we can end up overloading the GPU and competing with the normal frame workload.

image (12)

To improve this, I'm going to force serialization of upload by posting the upload task to the io runner. This shouldn't be necessary, but we'll need some way to throttle uploads and/or avoid competing with the raster workloads before relanding support for this

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecte: impellerImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.team-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