Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression in 99p raster times in tiles_scroll_perf on iOS #130594

Closed
zanderso opened this issue Jul 14, 2023 · 4 comments
Closed

Regression in 99p raster times in tiles_scroll_perf on iOS #130594

zanderso opened this issue Jul 14, 2023 · 4 comments
Labels
c: performance Relates to speed or footprint issues (see "perf:" labels) e: impeller Impeller rendering backend issues and features requests perf: speed Performance issues related to (mostly rendering) speed platform-ios iOS applications specifically team-engine Owned by Engine team

Comments

@zanderso zanderso added platform-ios iOS applications specifically c: performance Relates to speed or footprint issues (see "perf:" labels) perf: speed Performance issues related to (mostly rendering) speed e: impeller Impeller rendering backend issues and features requests team-engine Owned by Engine team labels Jul 14, 2023
@dnfield
Copy link
Contributor

dnfield commented Jul 14, 2023

My commit in there was a revert - I don't recall the original landing of it getting flagged for an improvement though

@dnfield
Copy link
Contributor

dnfield commented Jul 14, 2023

It was my commit - which was a revert which is going to get relanded.

@dnfield
Copy link
Contributor

dnfield commented Jul 14, 2023

I'll close this - it should imrpove again when we reland a safer patch.

@dnfield dnfield closed this as completed Jul 14, 2023
auto-submit bot pushed a commit to flutter/engine that referenced this issue Jul 14, 2023
…when a save layer is involved (#43695)

Alternative to #43662

Records the basis vector of the current CTM into text contents and reuses that rather than trying to get it again at render time. That method breaks if perspective is involved in the CTM and a subpass gets translated, which can modify the scale (and rotation) of the matrix.

We're definitely not doing things quite right with perspective here, but the real fix to that is to either record the fully transformed glyph into the atlas or to use SDF/path based rendering.

Fixes flutter/flutter#130476

I still have some concerns about how `EntityPass::Render` is a mix of mutations and constness but we can try to address that independently. 

I expect this to re-improve the regression noted in flutter/flutter#130594
harryterkelsen pushed a commit to harryterkelsen/engine that referenced this issue Jul 20, 2023
…when a save layer is involved (flutter#43695)

Alternative to flutter#43662

Records the basis vector of the current CTM into text contents and reuses that rather than trying to get it again at render time. That method breaks if perspective is involved in the CTM and a subpass gets translated, which can modify the scale (and rotation) of the matrix.

We're definitely not doing things quite right with perspective here, but the real fix to that is to either record the fully transformed glyph into the atlas or to use SDF/path based rendering.

Fixes flutter/flutter#130476

I still have some concerns about how `EntityPass::Render` is a mix of mutations and constness but we can try to address that independently. 

I expect this to re-improve the regression noted in flutter/flutter#130594
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: performance Relates to speed or footprint issues (see "perf:" labels) e: impeller Impeller rendering backend issues and features requests perf: speed Performance issues related to (mostly rendering) speed platform-ios iOS applications specifically team-engine Owned by Engine team
Projects
No open projects
Archived in project
Development

No branches or pull requests

2 participants