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

[fuchsia] Use upstream FUCHSIA buffer collection extension. #30911

Merged
merged 1 commit into from
Jan 21, 2022

Conversation

gnoliyil
Copy link
Contributor

This replaces the old FUCHSIAX buffer collection extension with the upstream FUCHSIA_buffer_extension extension. The new extension removed the vkSetBufferCollectionConstraintsFUCHSIA() method and replaced it with vkSetBufferCollectionImageConstraintsFUCHSIA() where callers need to specify the color formats and color spaces explicitly.

TEST: smart_display and workstation
Bug: flutter/flutter#96312

@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.

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.

@gnoliyil
Copy link
Contributor Author

Note that this change has a dependency on #30770 ; will rebase once #30770 lands.
@arbreng @akbiggs PTAL

Copy link
Contributor

@arbreng arbreng left a comment

Choose a reason for hiding this comment

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

LGTM

This updates Flutter engine to use the upstream FUCHSIA
buffer extension collection. It removes the obsolete
vkSetBufferCollectionConstraints() and replaces it with
vkSetBufferCollectionImageConstraints().
@chinmaygarde
Copy link
Member

May I land this? Seems good to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants