Open jonahwilliams opened 1 week ago
I'm currently using https://docs.vulkan.org/spec/latest/chapters/formats.html Mandatory Format Support + VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT
ooh boy, this one might be a bit of a doozy. It turns out all texture uploads currently flow through the Skia backed texture decompression path, with carveouts for already decompressed textures. i.e. we expect to be able to construct an SkImageInfo, which isn't possible with most of these formats.
Instead, so that we can be less dependent on Skia i'm going to propose a new dart:ui enum and upload function that is distinct from the current upload methods.
https://github.com/flutter/engine/compare/main...jonahwilliams:engine:pixel_palooza?expand=1
It also turns out I have no idea where to find the list of supported formats on GLES. Might be some guess and check there.
Most of these are not supported by skia, but can be used in impeller for either rendering or for binding in shaders.
Considerations: