Skip to content

Add a performance debugging option that checkerboards sub-hierarchies that require a render target switch. #9473

Closed

Description

@chinmaygarde

We already have a debugging option that adds a checkerboard pattern to sub-hierarchies that have been rendered from a raster cache. Similarly, a debugging option that checkerboards sub-hierarchies that require a render target switch would be useful in diagnosing performance issues. For example, such an option would have easily enabled isolating the cause of this issue reported.

The naive way to do this would be add the checkerboard pattern every time we do an SkCanvas::saveLayer. However, we ended up doing the same for clips and such. In case of a stencil buffer and the items being axis aligned, it may be that the stencil buffer is used instead of a render target switch. So there needs to some investigation about how to get that information from Skia so that we don't report false positives.

Activity

  1. chinmaygarde commented on May 11, 2017

    @chinmaygarde
    ContributorAuthor

    @jason-simmons: This was the issue we were chatting about yesterday.

  2. github-actions commented on Sep 5, 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.

  3. locked as resolved and limited conversation to collaborators on Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineflutter/engine related. See also e: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions