dotnet / dotnet/wpf

[Question] 10bpp/HDR support

Open
#4,569 0 comments 5 reactions 0 assignees View on GitHub
Documentation Question
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

Reading from [Using DirectX with high dynamic range Displays and Advanced Color](https://docs.microsoft.com/en-us/windows/win32/direct3darticles/high-dynamic-range):

> Ever since Direct3D 9, graphics engines have been able to internally render their scenes with this level of physically accurate fidelity.
> ...
> When advanced color is enabled, the DWM performs an explicit color conversion from the app visual content's colorspace to a canonical composition color space, which is scRGB. Windows then color-converts the composed framebuffer content to the display's native color space. In this way, traditional sRGB content automatically gets color-accurate behavior, while advanced color-aware apps can take advantage of the full color capabilities of the display.

These lines want me to believe that using scRGB colors and `BitmapSource`s of formats like `Gray32Float` and `Rgba128Float` will automatically take advantage of any WCG/HDR display. However, later in the documentation it also describes setting up a swap chain to enable such output.

Can you please clarify whether the scRGB output is supported and enabled out of the box, or whether there are extra steps needed?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.