Skip to content

Material page transition is slow when we enable fade #13736

Closed
flutter-team-archive/engine
#5420

Description

@Hixie
No description provided.

Activity

  1. added
    c: performanceRelates to speed or footprint issues (see "perf:" labels)
    p: material_uimaterial_ui package in flutter/packages
    c: regressionIt was better in the past than it is now
    on Dec 21, 2017
  2. added this to the 3: Current Milestone milestone on Dec 21, 2017
  3. self-assigned this
    on Dec 21, 2017
  4. Hixie commented on Jan 18, 2018

    @Hixie
    ContributorAuthor

    Specifically, this seems to cause a ~2x regression on the GPU side.
    See flutter_gallery__transition_perf average_frame_rasterizer_time_millis around 2017-12-20.

  5. Hixie commented on Jan 20, 2018

    @Hixie
    ContributorAuthor

    Here's what it looks like on Nexus 5 today:

    MaterialPageRoute.debugEnableFadingRoutes = false
    screenshot_20180119-173834

    MaterialPageRoute.debugEnableFadingRoutes = true
    screenshot_20180119-173951

  6. removed their assignment
    on Jan 20, 2018
  7. added
    engineflutter/engine related. See also e: labels.
    and removed
    c: regressionIt was better in the past than it is now
    on Jan 20, 2018
  8. Hixie commented on Jan 20, 2018

    @Hixie
    ContributorAuthor

    cc @cbracken and @chinmaygarde for the engine side. @abarth was suggesting one trick we could use is noticing that a particular layer hasn't changed from frame to frame and not redrawing it when we change the opacity, or some such; I forget the precise details.

  9. abarth commented on Jan 20, 2018

    @abarth
    Contributor

    The idea is to be able to cache intermediate layers (in this case the one that gets blended back into the main buffer) rather than just leaves as we do today.

    The framework could take each layer with a unique id (similar to the unique id we use for SkPicture). The compositor could then notice with a subtree had the same id as before and consider caching it.

  10. modified the milestones: 3: Current Milestone, on Jan 26, 2018
  11. 70 remaining items

  12. Hixie commented on Jul 16, 2018

    @Hixie
    ContributorAuthor

    This continues to be our top priority for 1.0; we're not stalled, just working hard. :-)

  13. modified the milestones: bucket6, bucket8, bucket9 on Jul 17, 2018
  14. added a commit that references this issue on Jul 19, 2018
    200bd06
  15. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Jul 22, 2018
  16. Hixie commented on Sep 25, 2018

    @Hixie
    ContributorAuthor

    I'm closing this for now. The remaining work will be tracked in #21756.

  17. github-actions commented on Sep 1, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  18. locked as resolved and limited conversation to collaborators on Sep 1, 2021
  19. added a commit that references this issue on Oct 9, 2026
    949ece5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

c: performanceRelates to speed or footprint issues (see "perf:" labels)customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.customer: mulligan (g3)engineflutter/engine related. See also e: labels.f: routesNavigator, Router, and related APIs.frameworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packages

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions