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

[Impeller] offload all text computation into vertex shader #42417

Merged
merged 2 commits into from
May 31, 2023

Conversation

jonahwilliams
Copy link
Member

TextContents::Render occassionally shows up in the highest CPU functions. We can actually unload most of this computation into the vertex shader.

@jonahwilliams jonahwilliams marked this pull request as ready for review May 30, 2023 19:08
@jonahwilliams jonahwilliams requested a review from bdero May 30, 2023 19:08
@bdero
Copy link
Member

bdero commented May 30, 2023

LGTM. I still have a bit of PTSD from #40912 TBH, but this makes sense. ;)

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label May 31, 2023
@auto-submit auto-submit bot merged commit 7a4a267 into flutter:main May 31, 2023
24 checks passed
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request May 31, 2023
…127907)

flutter/engine@5374988...7a4a267

2023-05-31 jonahwilliams@google.com [Impeller] offload all text computation into vertex shader (flutter/engine#42417)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jonahwilliams@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
@jonahwilliams jonahwilliams deleted the text_simplification branch June 7, 2023 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
2 participants