-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] Correct coverage hint usage in PipelineBlend #43708
[Impeller] Correct coverage hint usage in PipelineBlend #43708
Conversation
|
|
||
| if (coverage_hint.has_value()) { | ||
| auto maybe_subpass_coverage = | ||
| subpass_coverage.Intersection(*coverage_hint); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was the bug: Grabbing the minimum size isn't enough -- we need to intersect the rectangles and then render the blended result to the minimal subpass texture. That means we need to offset both the geometry drawn to the subpass as well as the returned Entity's transform to account for this.
76e9722 to
7b1f351
Compare
|
Does this also apply to the use of |
|
Yeah, thanks. Pushed a fix for the advanced blend. |
|
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. |
…130741) flutter/engine@aa3239c...ddbe23b 2023-07-17 [email protected] Roll Skia from b25cd035db06 to f0e1963324eb (2 revisions) (flutter/engine#43741) 2023-07-17 [email protected] Roll Skia from dc93f341ec38 to b25cd035db06 (2 revisions) (flutter/engine#43740) 2023-07-17 [email protected] [Impeller] Correct coverage hint usage in PipelineBlend (flutter/engine#43708) 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] 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
Resolves flutter/flutter#130411. The remaining difference in appearance is due to flutter/flutter#127770 -- Impeller's blurs skew too large. Before:  After: 
…lutter#130741) flutter/engine@aa3239c...ddbe23b 2023-07-17 [email protected] Roll Skia from b25cd035db06 to f0e1963324eb (2 revisions) (flutter/engine#43741) 2023-07-17 [email protected] Roll Skia from dc93f341ec38 to b25cd035db06 (2 revisions) (flutter/engine#43740) 2023-07-17 [email protected] [Impeller] Correct coverage hint usage in PipelineBlend (flutter/engine#43708) 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] 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
Resolves flutter/flutter#130411.
The remaining difference in appearance is due to flutter/flutter#127770 -- Impeller's blurs skew too large.
Before:
After: