Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QRhiD3D Namespace Reference

Functions

bool output6ForWindow (QWindow *w, IDXGIAdapter1 *adapter, IDXGIOutput6 **result)
 
bool outputDesc1ForWindow (QWindow *w, IDXGIAdapter1 *adapter, DXGI_OUTPUT_DESC1 *result)
 
float sdrWhiteLevelInNits (const DXGI_OUTPUT_DESC1 &outputDesc)
 
pD3DCompile resolveD3DCompile ()
 
IDCompositionDevice * createDirectCompositionDevice ()
 
void fillDriverInfo (QRhiDriverInfo *info, const DXGI_ADAPTER_DESC1 &desc)
 

Function Documentation

◆ createDirectCompositionDevice()

IDCompositionDevice * QRhiD3D::createDirectCompositionDevice ( )

Definition at line 105 of file qrhid3dhelpers.cpp.

References device, qPrintable, QStringLiteral, and qWarning.

Referenced by QRhiD3D11::ensureDirectCompositionDevice().

+ Here is the caller graph for this function:

◆ fillDriverInfo()

void QRhiD3D::fillDriverInfo ( QRhiDriverInfo * info,
const DXGI_ADAPTER_DESC1 & desc )

Definition at line 160 of file qrhid3dhelpers.cpp.

References QRhiDriverInfo::CpuDevice, DXGI_ADAPTER_FLAG_SOFTWARE, QString::fromUtf16(), info, and QRhiDriverInfo::UnknownDevice.

Referenced by QRhiD3D11::create().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ output6ForWindow()

bool QRhiD3D::output6ForWindow ( QWindow * w,
IDXGIAdapter1 * adapter,
IDXGIOutput6 ** result )

Definition at line 12 of file qrhid3dhelpers.cpp.

References QRect::contains(), i, ok, and output.

Referenced by outputDesc1ForWindow().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ outputDesc1ForWindow()

bool QRhiD3D::outputDesc1ForWindow ( QWindow * w,
IDXGIAdapter1 * adapter,
DXGI_OUTPUT_DESC1 * result )

Definition at line 39 of file qrhid3dhelpers.cpp.

References ok, and output6ForWindow().

Referenced by QD3D11SwapChain::createOrResize(), QD3D11SwapChain::hdrInfo(), and QD3D11SwapChain::isFormatSupported().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resolveD3DCompile()

pD3DCompile QRhiD3D::resolveD3DCompile ( )

Definition at line 91 of file qrhid3dhelpers.cpp.

References qWarning.

Referenced by QRhiD3D11::compileHlslShaderSource().

+ Here is the caller graph for this function:

◆ sdrWhiteLevelInNits()

float QRhiD3D::sdrWhiteLevelInNits ( const DXGI_OUTPUT_DESC1 & outputDesc)

Definition at line 50 of file qrhid3dhelpers.cpp.

References info, and QString::size().

Referenced by QD3D11SwapChain::hdrInfo().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: