30 QDxgiHdrInfo(IDXGIAdapter1 *adapter);
35 QDxgiHdrInfo(LUID luid);
52 bool isHdrCapable(QWindow *w);
56 QRhiSwapChainHdrInfo queryHdrInfo(QWindow *w);
59 static bool output6ForWindow(QWindow *w, IDXGIAdapter1 *adapter, IDXGIOutput6 **result);
60 static bool outputDesc1ForWindow(QWindow *w, IDXGIAdapter1 *adapter, DXGI_OUTPUT_DESC1 *result);
61 static float sdrWhiteLevelInNits(
const DXGI_OUTPUT_DESC1 &outputDesc);
63 IDXGIFactory2 *m_factory =
nullptr;
64 IDXGIAdapter1 *m_adapter =
nullptr;