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] Pixel snap perfectly horizontal or vertical lines. #165079

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

jonahwilliams
Copy link
Member

MSAA anti aliasing is not gamma correct. even though we always cover a minimum of 4 samples, there is a visible difference between covering the same 4 samples or split 2/2 in adjacent pixels (or 4/4).

To work around this, for perfectly horizontal and vertical lines (which are common in borders). We can snap them to the nearest physical pixels.

@github-actions github-actions bot added engine flutter/engine repository. See also e: labels. e: impeller Impeller rendering backend issues and features requests labels Mar 12, 2025
@jonahwilliams jonahwilliams marked this pull request as ready for review March 13, 2025 01:46
@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.

For more guidance, visit Writing a golden file test for package:flutter.

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

Changes reported for pull request #165079 at sha 41e670d

@flutter-dashboard flutter-dashboard bot added the will affect goldens Changes to golden files label Mar 13, 2025
@jonahwilliams jonahwilliams marked this pull request as draft March 13, 2025 02:03
@flutter-dashboard
Copy link

This pull request has been changed to a draft. The currently pending flutter-gold status will not be able to resolve until a new commit is pushed or the change is marked ready for review again.

For more guidance, visit Writing a golden file test for package:flutter.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e: impeller Impeller rendering backend issues and features requests engine flutter/engine repository. See also e: labels. will affect goldens Changes to golden files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant