31 QDxgiHdrInfo(IDXGIAdapter1 *adapter);
36 QDxgiHdrInfo(LUID luid);
53 bool isHdrCapable(QWindow *w);
57 QRhiSwapChainHdrInfo queryHdrInfo(QWindow *w);
60 static bool output6ForWindow(QWindow *w, IDXGIAdapter1 *adapter, IDXGIOutput6 **result);
61 static bool outputDesc1ForWindow(QWindow *w, IDXGIAdapter1 *adapter, DXGI_OUTPUT_DESC1 *result);
62 static float sdrWhiteLevelInNits(
const DXGI_OUTPUT_DESC1 &outputDesc);
64 IDXGIFactory2 *m_factory =
nullptr;
65 IDXGIAdapter1 *m_adapter =
nullptr;