pub fn compression_support(format: PixelFormat, dtype: DType) -> boolExpand description
Whether this platform can allocate (format, dtype) images in a
vendor tile-compressed layout. true requires an Android build, an
eligible format (RGBA8888 u8/i8 initially), and a positively
identified GPU vendor; everywhere else the answer is false and
Compression::Any requests fall back to linear.