-
Notifications
You must be signed in to change notification settings - Fork 6k
[impeller] support generating mip-maps on Vulkan #39689
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 (don't just cc him here, he won't see it! He's on 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. |
a9d95f2 to
59bc057
Compare
chinmaygarde
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 but I think you forgot to back out the part where you opted into Vulkan on Android.
|
|
||
| image_create_info.tiling = vk::ImageTiling::eOptimal; | ||
| image_create_info.initialLayout = vk::ImageLayout::eUndefined; | ||
| image_create_info.usage = vk::ImageUsageFlagBits::eSampled | |
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.
This makes me think we should perhaps have a recommended usage as on optional on the texture descriptor. For later though.
| if (enable_impeller_) { | ||
| // TODO(kaushikiska@): Enable this after wiring a preference for Vulkan backend. | ||
| #if false | ||
| #if true |
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.
Did you mean to leave this in?
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.
nope, typo!
* 6a2a46a Roll Dart SDK from 3ec7f1f92216 to 7642080abaf7 (2 revisions) (flutter/engine#39702) * f6bb7ae Roll Skia from d0df677ffd5e to ba60fed7f075 (6 revisions) (flutter/engine#39703) * 27696d2 Cached DisplayList opacity inheritance fix (flutter/engine#39690) * 1ae9473 Roll Dart SDK from 7642080abaf7 to 42829b6f80b1 (1 revision) (flutter/engine#39707) * 6762017 Roll Fuchsia Linux SDK from yT4JLKTCWWwbRwB0l... to tMm2Lzb-LE20Rxwm9... (flutter/engine#39709) * 26f1f25 Roll Skia from ba60fed7f075 to 5637cd56be32 (3 revisions) (flutter/engine#39710) * 4b0b8f0 Roll Dart SDK from 42829b6f80b1 to c7ec16304216 (1 revision) (flutter/engine#39711) * 1f7aad3 Roll Fuchsia Mac SDK from haDvcC5VzWVdQs9Rs... to _wymybZYKzX_3iFd6... (flutter/engine#39715) * 067369d Migrate skia png codec call to public interface (flutter/engine#39714) * 7e190a4 Roll Dart SDK from c7ec16304216 to 8a7dc36cadf6 (1 revision) (flutter/engine#39716) * 83a8962 Roll Skia from 5637cd56be32 to 02890036028e (2 revisions) (flutter/engine#39717) * 6d93874 [linux] Eliminate mirrors support (flutter/engine#39701) * adc0ebd Adds a Linux Fuchsia FEMU config that enables CSO (flutter/engine#39718) * 0378b34 [impeller] support generating mip-maps on Vulkan (flutter/engine#39689) * 5212ac4 [Impeller] Device default attachment pixel formats (flutter/engine#39655) * bd37a39 Rollback Dart SDK to unblock the roller (flutter/engine#39722)

fix: flutter/flutter#120134