![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qwindowsd3d11testdevicecontext_p.h>
Public Member Functions | |
| ComResult< QColor > | getFirstPixelColor (const ComPtr< ID3D11Texture2D > &texture) const |
| ComResult< QColor > | getFirstPixelColorBGRA (const ComPtr< ID3D11Texture2D > &texture) const |
| ComResult< ComPtr< ID3D11Texture2D > > | createTextureArray (QSize size, const std::vector< QColor > &colors) const |
| bool | isTextureFormatSupported (DXGI_FORMAT format) const |
| ComResult< ComPtr< ID3D11Texture2D > > | createNV12Texture (QSize size) const |
| HRESULT | fillNV12Texture (const ComPtr< ID3D11Texture2D > &texture, QSize size, quint8 lumaValue, quint8 chromaUValue, quint8 chromaVValue, UINT arraySlice=0) const |
| ComResult< ComPtr< ID3D11Texture2D > > | createFilledNV12Texture (QSize size, quint8 lumaValue, quint8 chromaU, quint8 chromaV) const |
| ComResult< ComPtr< ID3D11Texture2D > > | createP010Texture (QSize size) const |
| HRESULT | fillP010Texture (const ComPtr< ID3D11Texture2D > &texture, QSize size, quint16 lumaValue, quint16 chromaUValue, quint16 chromaVValue, UINT arraySlice=0) const |
| ComResult< ComPtr< ID3D11Texture2D > > | createSinglePlaneTexture (QSize size, DXGI_FORMAT format) const |
| HRESULT | fillSinglePlaneTexture (const ComPtr< ID3D11Texture2D > &texture, QSize size, QByteArrayView texel, UINT arraySlice=0) const |
| ComResult< QByteArray > | readPlaneRows (const ComPtr< ID3D11Texture2D > &texture, int rowOffset, int width, int height, int texelSize, UINT arraySlice=0) const |
Public Attributes | |
| ComPtr< ID3D11Device1 > | device |
| ComPtr< ID3D11DeviceContext > | context |
Definition at line 37 of file qwindowsd3d11testdevicecontext_p.h.
| ComResult< ComPtr< ID3D11Texture2D > > QWindowsD3D11TestDeviceContext::createFilledNV12Texture | ( | QSize | size, |
| quint8 | lumaValue, | ||
| quint8 | chromaU, | ||
| quint8 | chromaV ) const |
Definition at line 227 of file qwindowsd3d11testdevicecontext.cpp.
| ComResult< ComPtr< ID3D11Texture2D > > QWindowsD3D11TestDeviceContext::createNV12Texture | ( | QSize | size | ) | const |
Definition at line 152 of file qwindowsd3d11testdevicecontext.cpp.
| ComResult< ComPtr< ID3D11Texture2D > > QWindowsD3D11TestDeviceContext::createP010Texture | ( | QSize | size | ) | const |
Definition at line 242 of file qwindowsd3d11testdevicecontext.cpp.
| ComResult< ComPtr< ID3D11Texture2D > > QWindowsD3D11TestDeviceContext::createSinglePlaneTexture | ( | QSize | size, |
| DXGI_FORMAT | format ) const |
Definition at line 318 of file qwindowsd3d11testdevicecontext.cpp.
| ComResult< ComPtr< ID3D11Texture2D > > QWindowsD3D11TestDeviceContext::createTextureArray | ( | QSize | size, |
| const std::vector< QColor > & | colors ) const |
Definition at line 106 of file qwindowsd3d11testdevicecontext.cpp.
| HRESULT QWindowsD3D11TestDeviceContext::fillNV12Texture | ( | const ComPtr< ID3D11Texture2D > & | texture, |
| QSize | size, | ||
| quint8 | lumaValue, | ||
| quint8 | chromaUValue, | ||
| quint8 | chromaVValue, | ||
| UINT | arraySlice = 0 ) const |
Definition at line 176 of file qwindowsd3d11testdevicecontext.cpp.
| HRESULT QWindowsD3D11TestDeviceContext::fillP010Texture | ( | const ComPtr< ID3D11Texture2D > & | texture, |
| QSize | size, | ||
| quint16 | lumaValue, | ||
| quint16 | chromaUValue, | ||
| quint16 | chromaVValue, | ||
| UINT | arraySlice = 0 ) const |
Definition at line 266 of file qwindowsd3d11testdevicecontext.cpp.
| HRESULT QWindowsD3D11TestDeviceContext::fillSinglePlaneTexture | ( | const ComPtr< ID3D11Texture2D > & | texture, |
| QSize | size, | ||
| QByteArrayView | texel, | ||
| UINT | arraySlice = 0 ) const |
Definition at line 343 of file qwindowsd3d11testdevicecontext.cpp.
| ComResult< QColor > QWindowsD3D11TestDeviceContext::getFirstPixelColor | ( | const ComPtr< ID3D11Texture2D > & | texture | ) | const |
Definition at line 28 of file qwindowsd3d11testdevicecontext.cpp.
| ComResult< QColor > QWindowsD3D11TestDeviceContext::getFirstPixelColorBGRA | ( | const ComPtr< ID3D11Texture2D > & | texture | ) | const |
Definition at line 73 of file qwindowsd3d11testdevicecontext.cpp.
| bool QWindowsD3D11TestDeviceContext::isTextureFormatSupported | ( | DXGI_FORMAT | format | ) | const |
Definition at line 138 of file qwindowsd3d11testdevicecontext.cpp.
| ComResult< QByteArray > QWindowsD3D11TestDeviceContext::readPlaneRows | ( | const ComPtr< ID3D11Texture2D > & | texture, |
| int | rowOffset, | ||
| int | width, | ||
| int | height, | ||
| int | texelSize, | ||
| UINT | arraySlice = 0 ) const |
Definition at line 376 of file qwindowsd3d11testdevicecontext.cpp.
| ComPtr<ID3D11DeviceContext> QWindowsD3D11TestDeviceContext::context |
Definition at line 40 of file qwindowsd3d11testdevicecontext_p.h.
Referenced by testing.tools.safetynet_job.JobRun::_BuildRunMetadata(), testing.tools.safetynet_job.JobRun::_IncrementalRun(), testing.tools.safetynet_job.JobRun::_WriteCheckpoint(), testing.tools.safetynet_job.JobRun::_WriteRawJson(), and testing.tools.safetynet_job.JobRun::Run().
| ComPtr<ID3D11Device1> QWindowsD3D11TestDeviceContext::device |
Definition at line 39 of file qwindowsd3d11testdevicecontext_p.h.