Skip to content

GPU: wide-gamut / HDR surface color spaces (and gamma) #26

Description

@codymullins

Problem

The surface format is fixed to Bgra8Unorm and there is no color-space / HDR control. Modern displays and media want Display-P3 / Rec.2020 / HDR (e.g. Rgba16Float).

Current state

  • src/Skyline.Gpu/WindowSurfaceOptions.cs — format hardcoded to Bgra8Unorm.
  • WindowSurface.Capabilities reports supported formats but there's no API to request a color space / HDR format or gamma handling.

What's needed

  • Let WindowSurfaceOptions request a color space / HDR format, validated against Capabilities.
  • Document gamma/sRGB handling expectations (Skyline stays out of color conversion — that's the app's job).

Acceptance criteria

  • A consumer can request P3/HDR where supported and the surface reconfigures; unsupported requests fail cleanly at Configure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:gpuSkyline.Gpu / WebGPU surface and presentenhancementNew feature or requestplatform:linuxLinux (X11/Wayland) backendplatform:macosmacOS / AppKit backendplatform:windowsWindows backendpriority:futurePolish / advanced; can waitstarling-supportWork required for Skyline to host the Starling browser shell

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions