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 6, 2023

Remove a couple of duplicate verts in a bunch of situations.

Pedantic improvements: "Brandon, why are you like this" edition.

@bdero bdero self-assigned this Oct 6, 2023
@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 or stuartmorgan on the #hackers channel in Chat (don't just cc them here, they won't see it! Use 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 #46610 at sha f5aedd1

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.

So if you change these from triangle, the default constructed PSO won't match anymore for these. Though if we're going to unconditionally use triangle strip, you could probably change the initialization code to specify that geometry instead?

@bdero bdero force-pushed the bdero/triangle-strips branch from f5aedd1 to 9b85baf Compare October 10, 2023 22:17
@bdero
Copy link
Member Author

bdero commented Oct 10, 2023

Though if we're going to unconditionally use triangle strip, you could probably change the initialization code to specify that geometry instead?

Done.

I also got the ordering wrong on some of these. Let's see those new goldens.

@bdero bdero requested a review from jonahwilliams October 10, 2023 22:18
@flutter-dashboard
Copy link

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

Changes reported for pull request #46610 at sha 9b85baf

@flutter-dashboard
Copy link

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

Changes reported for pull request #46610 at sha 1bd7731

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.

You will probably need to update default_options L832 content_context.h

@bdero
Copy link
Member Author

bdero commented Oct 11, 2023

I'm working on a solution for tracking different prototype defaults for different pipeline sets here: #46751

@bdero bdero force-pushed the bdero/triangle-strips branch from 1bd7731 to 28b1efc Compare October 11, 2023 08:47
@bdero bdero requested a review from jonahwilliams October 11, 2023 18:35
@bdero
Copy link
Member Author

bdero commented Oct 11, 2023

This should be good now. This is using the new solution for differing defaults and the goldens are looking good. :)

@bdero
Copy link
Member Author

bdero commented Oct 11, 2023

The previous solution I tried to employ in this patch didn't work as intended due to the mismatching default lookup in the GetPipeline() template.

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 356b197 into flutter:main Oct 11, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 11, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 12, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Oct 12, 2023
…136431)

flutter/engine@05e26c1...d00fabf

2023-10-12 [email protected] Roll Skia from 924df8d87766 to ff3c2e3d45bd (1 revision) (flutter/engine#46807)
2023-10-11 [email protected] Roll Dart SDK from 0732be6b823a to db2465f106ad (8 revisions) (flutter/engine#46797)
2023-10-11 [email protected] [Impeller] Use triangle strips to dedupe rectangle vertices. (flutter/engine#46610)
2023-10-11 [email protected] [Impeller] Bump impeller-cmake (flutter/engine#46764)
2023-10-11 [email protected] Roll Skia from 2459d71707e0 to 924df8d87766 (7 revisions) (flutter/engine#46798)

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://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
harryterkelsen pushed a commit that referenced this pull request Oct 23, 2023
Remove a couple of duplicate verts in a bunch of situations.

Pedantic improvements: "Brandon, why are you like this" edition.
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.

2 participants