-
Notifications
You must be signed in to change notification settings - Fork 6k
Remove unnecessary buffer collection image constraints. #24347
Conversation
|
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. |
dragostis
left a comment
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.
LGTM.
These constraints are not needed and result in usage of images with linear layout. That's a significant performance regression on most devices, and also not guaranteed to work as color attachments. Also, use GetBufferCollectionPropertiesFUCHSIA to improve correctness of memory import.
e0173b9 to
0f3140b
Compare
dragostis
left a comment
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.
LGTM.
|
Verified Fuchsia workstation.x64 works well after applying the flutter change. |
|
I've filed flake reports for the failing presubmits and restarted them. |
These constraints are not needed and result in usage of
images with linear layout. That's a significant
performance regression on most devices, and also not
guaranteed to work as color attachments.
Also, use GetBufferCollectionPropertiesFUCHSIA to improve
correctness of memory import.