Skip to content

[Multiview] Flutter re-renders all views during each update #164320

@knopp

Description

@knopp

Every view is re-rendered, even those without dirty render objects. Attaching a video with quartz debug visualizing screen updates.

multiview-updates.mov

Known problems

Some things we need to figure out before we can do this optimization:

  1. External textures. When an external texture changes, the framework isn’t aware of which views are dirty. Instead, the engine schedules a new frame and lets the framework re-render all views. We’ll need to update the framework to be aware of which views are affected when an external texture changes so that it re-renders just those views.
  2. Android platform views. This works similar to external textures.
  3. More?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: desktopRunning on desktopa: multi windowIssues related to multi window supportframeworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework teamwaiting for PR to land (fixed)A fix is in flight

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions