Files
oak-gpui/crates
Mike-Solar 4022d1db5e wgpu: pick the surface format from the OAK_DISPLAY_BIT_DEPTH preference
10-bit (default): Rgb10a2Unorm, falling back to Rgba16Float then 8-bit;
8-bit: the previous hardcoded Bgra8Unorm/Rgba8Unorm. Selection is a
pure function with unit tests; the env var is re-read on every surface
(re)creation.
2026-08-27 19:08:55 +08:00
..