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

Conversation

@bdero
Copy link
Member

@bdero bdero commented Oct 3, 2023

Fixes b/303120488.

There's no need to use the GetCoverageUVs utility in this case. Correct usage here would require the geometry to match the coverage rectangle of the snapshot in pass space with no further transformations to the geometry.
We should just render the snapshot texture as-is with simple 0/1 UVs and the snapshot's transform.

Before:

Screen.Recording.2023-10-02.at.9.09.25.PM.mov
Screenshot 2023-10-02 at 9 57 10 PM

After:

Screen.Recording.2023-10-02.at.8.28.50.PM.mov
Screenshot 2023-10-02 at 10 05 14 PM

@bdero bdero self-assigned this Oct 3, 2023
@bdero bdero force-pushed the bdero/fix-framebuffer-blend-transform branch from 30c15f3 to 63372d2 Compare October 3, 2023 05:17
@bdero bdero requested a review from jason-simmons October 3, 2023 05:20
@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 #46489 at sha 63372d2

Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@bdero bdero merged commit 48eaee2 into flutter:main Oct 3, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 3, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Oct 3, 2023
…135923)

flutter/engine@db168be...1656dc4

2023-10-03 [email protected] Roll Skia from 3a227c225839 to 22d1ae035048 (1 revision) (flutter/engine#46513)
2023-10-03 [email protected] [Impeller] Fix framebuffer blend UVs. (flutter/engine#46489)
2023-10-03 [email protected] Roll Skia from cb4cfa571393 to 3a227c225839 (3 revisions) (flutter/engine#46511)

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
Mairramer pushed a commit to Mairramer/flutter that referenced this pull request Oct 10, 2023
…lutter#135923)

flutter/engine@db168be...1656dc4

2023-10-03 [email protected] Roll Skia from 3a227c225839 to 22d1ae035048 (1 revision) (flutter/engine#46513)
2023-10-03 [email protected] [Impeller] Fix framebuffer blend UVs. (flutter/engine#46489)
2023-10-03 [email protected] Roll Skia from cb4cfa571393 to 3a227c225839 (3 revisions) (flutter/engine#46511)

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
jonahwilliams pushed a commit to jonahwilliams/engine that referenced this pull request Oct 11, 2023
Fixes b/303120488.

There's no need to use the `GetCoverageUVs` utility in this case.
Correct usage here would require the geometry to match the coverage
rectangle of the snapshot in pass space with no further transformations
to the geometry.
We should just render the snapshot texture as-is with simple 0/1 UVs and
the snapshot's transform.
harryterkelsen pushed a commit that referenced this pull request Oct 23, 2023
Fixes b/303120488.

There's no need to use the `GetCoverageUVs` utility in this case.
Correct usage here would require the geometry to match the coverage
rectangle of the snapshot in pass space with no further transformations
to the geometry.
We should just render the snapshot texture as-is with simple 0/1 UVs and
the snapshot's transform.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants