Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

jonahwilliams
Copy link
Contributor

The original implementation of arbitrary color source + text was quite complicated due to the fact that I had to use blending to emulate this functionality. Now that we can get paths from a given text data, I can instead make non solid color color sources and text just use the regular geometry + color source pipelines.

Fixes flutter/flutter#132928
Fixes flutter/flutter#132972

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@flutter-dashboard
Copy link

Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change).

If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review.

Changes reported for pull request #45090 at sha 30afa8b

@flutter-dashboard
Copy link

Golden file changes are available for triage from new commit, Click here to view.

Changes reported for pull request #45090 at sha 0428bbf

@jonahwilliams jonahwilliams requested a review from bdero August 25, 2023 16:54
@chinmaygarde chinmaygarde changed the title [Impeller] simplify color source + text with new Skia API. [Impeller] Simplify color source + text with new Skia API. Aug 25, 2023
@bdero
Copy link
Member

bdero commented Aug 25, 2023

Can we merge #45079 first to simplify the cherry-pick?

@jonahwilliams
Copy link
Contributor Author

We can't CP this change, it depends on an API that was added after the branch cut.

@bdero
Copy link
Member

bdero commented Aug 25, 2023

I mean simplify the cherry-pick of #45079

@jonahwilliams
Copy link
Contributor Author

Ahh yeah no rush!

@flutter-dashboard
Copy link

Golden file changes are available for triage from new commit, Click here to view.

Changes reported for pull request #45090 at sha 30e2ce8

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 28, 2023
@auto-submit auto-submit bot merged commit 446e16b into flutter:main Aug 28, 2023
@jonahwilliams jonahwilliams deleted the text_color_source_2 branch August 28, 2023 20:15
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Aug 28, 2023
…133508)

flutter/engine@91522a1...a7a4c1c

2023-08-28 [email protected] Explain how to update the embedder/fixtures golden outputs. (flutter/engine#45184)
2023-08-28 [email protected] Roll Skia from ded5d08a9999 to 83f6fbad8a38 (1 revision) (flutter/engine#45183)
2023-08-28 [email protected] [Impeller] Simplify color source + text with new Skia API. (flutter/engine#45090)
2023-08-28 [email protected] Re-write docs for DlSkCanvas{Adapter|Dispatcher}. (flutter/engine#44961)
2023-08-28 [email protected] Roll Skia from 5baa2c74fbc6 to ded5d08a9999 (1 revision) (flutter/engine#45181)
2023-08-28 [email protected] Roll Skia from 651ada29fcb0 to 5baa2c74fbc6 (2 revisions) (flutter/engine#45178)
2023-08-28 [email protected] Roll Skia from 477659e6f41b to 651ada29fcb0 (3 revisions) (flutter/engine#45176)
2023-08-28 [email protected] [Impeller] Only enable captures in debug builds. (flutter/engine#45174)
2023-08-28 [email protected] Roll Skia from ce99ad7b587e to 477659e6f41b (1 revision) (flutter/engine#45173)
2023-08-28 [email protected] Skwasm platform views (flutter/engine#43011)
2023-08-28 [email protected] Roll Skia from df783b542165 to ce99ad7b587e (2 revisions) (flutter/engine#45172)

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 [email protected],[email protected],[email protected] 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
gaaclarke pushed a commit to gaaclarke/engine that referenced this pull request Aug 30, 2023
…5090)

The original implementation of arbitrary color source + text was quite complicated due to the fact that I had to use blending to emulate this functionality. Now that we can get paths from a given text data, I can instead make non solid color color sources and text just use the regular geometry + color source pipelines.

Fixes flutter/flutter#132928
Fixes flutter/flutter#132972
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App e: impeller will affect goldens

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

[Impeller] Text foreground Paint()..shader glitch while scrolling inside scroll view [Impeller]TextPainter with gradient has anti-aliasing problem.

3 participants