webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Classes | |
struct | DXGIFormatSize |
struct | DXGISupport |
struct | Format |
class | LazyBlendState |
class | LazyInputLayout |
class | LazyResource |
class | LazyShader |
struct | PositionDepthColorVertex |
struct | PositionLayerTexCoord3DVertex |
struct | PositionTexCoordVertex |
struct | VertexFormat |
Typedefs | |
typedef std::map< gl::VertexFormatType, VertexFormat > | D3D11VertexFormatInfoMap |
typedef std::pair< gl::VertexFormatType, VertexFormat > | D3D11VertexFormatPair |
using | FormatSupportFunction = bool(*)(const Renderer11DeviceCaps &) |
Functions | |
GLenum | GetComponentType (DXGI_FORMAT dxgiFormat) |
const DXGISupport & | GetDXGISupport (DXGI_FORMAT dxgiFormat, D3D_FEATURE_LEVEL featureLevel) |
bool | SupportsMipGen (DXGI_FORMAT dxgiFormat, D3D_FEATURE_LEVEL featureLevel) |
const DXGIFormatSize & | GetDXGIFormatSizeInfo (DXGI_FORMAT format) |
const VertexFormat & | GetVertexFormatInfo (gl::VertexFormatType vertexFormatType, D3D_FEATURE_LEVEL featureLevel) |
ANGLED3D11DeviceType | GetDeviceType (ID3D11Device *device) |
void | MakeValidSize (bool isImage, DXGI_FORMAT format, GLsizei *requestWidth, GLsizei *requestHeight, int *levelOffset) |
void | GenerateInitialTextureData (GLint internalFormat, const Renderer11DeviceCaps &renderer11DeviceCaps, GLuint width, GLuint height, GLuint depth, GLuint mipLevels, std::vector< D3D11_SUBRESOURCE_DATA > *outSubresourceData, std::vector< std::vector< BYTE >> *outData) |
UINT | GetPrimitiveRestartIndex () |
void | SetPositionTexCoordVertex (PositionTexCoordVertex *vertex, float x, float y, float u, float v) |
void | SetPositionLayerTexCoord3DVertex (PositionLayerTexCoord3DVertex *vertex, float x, float y, unsigned int layer, float u, float v, float s) |
HRESULT | SetDebugName (ID3D11DeviceChild *resource, const char *name) |
WorkaroundsD3D | GenerateWorkarounds (const Renderer11DeviceCaps &deviceCaps, const DXGI_ADAPTER_DESC &adapterDesc) |
void | InitConstantBufferDesc (D3D11_BUFFER_DESC *constantBufferDescription, size_t byteWidth) |
template<typename T > | |
void | SetPositionDepthColorVertex (PositionDepthColorVertex< T > *vertex, float x, float y, float z, const gl::Color< T > &color) |
template<typename outType > | |
outType * | DynamicCastComObject (IUnknown *object) |
bool | isDeviceLostError (HRESULT errorCode) |
ID3D11VertexShader * | CompileVS (ID3D11Device *device, const BYTE *byteCode, size_t N, const char *name) |
template<unsigned int N> | |
ID3D11VertexShader * | CompileVS (ID3D11Device *device, const BYTE(&byteCode)[N], const char *name) |
ID3D11GeometryShader * | CompileGS (ID3D11Device *device, const BYTE *byteCode, size_t N, const char *name) |
template<unsigned int N> | |
ID3D11GeometryShader * | CompileGS (ID3D11Device *device, const BYTE(&byteCode)[N], const char *name) |
ID3D11PixelShader * | CompilePS (ID3D11Device *device, const BYTE *byteCode, size_t N, const char *name) |
template<unsigned int N> | |
ID3D11PixelShader * | CompilePS (ID3D11Device *device, const BYTE(&byteCode)[N], const char *name) |
template<class T > | |
void | SetBufferData (ID3D11DeviceContext *context, ID3D11Buffer *constantBuffer, const T &value) |
bool | OnlyFL10Plus (const Renderer11DeviceCaps &deviceCaps) |
bool | OnlyFL9_3 (const Renderer11DeviceCaps &deviceCaps) |
bool | SupportsFormat (DXGI_FORMAT format, const Renderer11DeviceCaps &deviceCaps) |
using rx::d3d11::FormatSupportFunction = typedef bool (*)(const Renderer11DeviceCaps &) |
|
inline |
ID3D11GeometryShader* rx::d3d11::CompileGS | ( | ID3D11Device * | device, |
const BYTE(&) | byteCode[N], | ||
const char * | name | ||
) |
|
inline |
ID3D11PixelShader* rx::d3d11::CompilePS | ( | ID3D11Device * | device, |
const BYTE(&) | byteCode[N], | ||
const char * | name | ||
) |
|
inline |
ID3D11VertexShader* rx::d3d11::CompileVS | ( | ID3D11Device * | device, |
const BYTE(&) | byteCode[N], | ||
const char * | name | ||
) |
outType* rx::d3d11::DynamicCastComObject | ( | IUnknown * | object | ) |
void rx::d3d11::GenerateInitialTextureData | ( | GLint | internalFormat, |
const Renderer11DeviceCaps & | renderer11DeviceCaps, | ||
GLuint | width, | ||
GLuint | height, | ||
GLuint | depth, | ||
GLuint | mipLevels, | ||
std::vector< D3D11_SUBRESOURCE_DATA > * | outSubresourceData, | ||
std::vector< std::vector< BYTE >> * | outData | ||
) |
WorkaroundsD3D rx::d3d11::GenerateWorkarounds | ( | const Renderer11DeviceCaps & | deviceCaps, |
const DXGI_ADAPTER_DESC & | adapterDesc | ||
) |
GLenum rx::d3d11::GetComponentType | ( | DXGI_FORMAT | dxgiFormat | ) |
ANGLED3D11DeviceType rx::d3d11::GetDeviceType | ( | ID3D11Device * | device | ) |
const DXGIFormatSize & rx::d3d11::GetDXGIFormatSizeInfo | ( | DXGI_FORMAT | format | ) |
const DXGISupport & rx::d3d11::GetDXGISupport | ( | DXGI_FORMAT | dxgiFormat, |
D3D_FEATURE_LEVEL | featureLevel | ||
) |
UINT rx::d3d11::GetPrimitiveRestartIndex | ( | ) |
const VertexFormat & rx::d3d11::GetVertexFormatInfo | ( | gl::VertexFormatType | vertexFormatType, |
D3D_FEATURE_LEVEL | featureLevel | ||
) |
void rx::d3d11::InitConstantBufferDesc | ( | D3D11_BUFFER_DESC * | constantBufferDescription, |
size_t | byteWidth | ||
) |
|
inline |
void rx::d3d11::MakeValidSize | ( | bool | isImage, |
DXGI_FORMAT | format, | ||
GLsizei * | requestWidth, | ||
GLsizei * | requestHeight, | ||
int * | levelOffset | ||
) |
|
inline |
|
inline |
void rx::d3d11::SetBufferData | ( | ID3D11DeviceContext * | context, |
ID3D11Buffer * | constantBuffer, | ||
const T & | value | ||
) |
HRESULT rx::d3d11::SetDebugName | ( | ID3D11DeviceChild * | resource, |
const char * | name | ||
) |
void rx::d3d11::SetPositionDepthColorVertex | ( | PositionDepthColorVertex< T > * | vertex, |
float | x, | ||
float | y, | ||
float | z, | ||
const gl::Color< T > & | color | ||
) |
void rx::d3d11::SetPositionLayerTexCoord3DVertex | ( | PositionLayerTexCoord3DVertex * | vertex, |
float | x, | ||
float | y, | ||
unsigned int | layer, | ||
float | u, | ||
float | v, | ||
float | s | ||
) |
void rx::d3d11::SetPositionTexCoordVertex | ( | PositionTexCoordVertex * | vertex, |
float | x, | ||
float | y, | ||
float | u, | ||
float | v | ||
) |
|
inline |
bool rx::d3d11::SupportsMipGen | ( | DXGI_FORMAT | dxgiFormat, |
D3D_FEATURE_LEVEL | featureLevel | ||
) |