webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Typedefs | Enumerations | Functions | Variables
rx::d3d9 Namespace Reference

Classes

struct  ConversionRule
 
struct  ConversionRule< fromType, true, D3DVT_FLOAT >
 
struct  ConversionRule< GL_FIXED, false, D3DVT_FLOAT >
 
struct  ConversionRule< GL_FIXED, true, D3DVT_FLOAT >
 
struct  Converter
 
struct  D3DFormat
 
struct  D3DToCType
 
struct  D3DToCType< D3DVT_FLOAT >
 
struct  D3DToCType< D3DVT_SHORT >
 
struct  D3DToCType< D3DVT_SHORT_NORM >
 
struct  D3DToCType< D3DVT_UBYTE >
 
struct  D3DToCType< D3DVT_UBYTE_NORM >
 
struct  D3DToCType< D3DVT_USHORT_NORM >
 
struct  DefaultVertexValues
 
struct  DefaultVertexValues< float, normalized >
 
struct  DefaultVertexValuesStage2
 
struct  DefaultVertexValuesStage2< T, false >
 
struct  DefaultVertexValuesStage2< T, true >
 
struct  GLToCType
 
struct  GLToCType< GL_BYTE >
 
struct  GLToCType< GL_FIXED >
 
struct  GLToCType< GL_FLOAT >
 
struct  GLToCType< GL_SHORT >
 
struct  GLToCType< GL_UNSIGNED_BYTE >
 
struct  GLToCType< GL_UNSIGNED_SHORT >
 
struct  TextureFormat
 
struct  TranslationDescription
 
struct  UseFallback
 
struct  UsePreferred
 
struct  VertexFormat
 
struct  VertexTypeFlags
 
struct  VertexTypeFlags< D3DVT_FLOAT, 1 >
 
struct  VertexTypeFlags< D3DVT_FLOAT, 2 >
 
struct  VertexTypeFlags< D3DVT_FLOAT, 3 >
 
struct  VertexTypeFlags< D3DVT_FLOAT, 4 >
 
struct  VertexTypeFlags< D3DVT_SHORT, 2 >
 
struct  VertexTypeFlags< D3DVT_SHORT, 4 >
 
struct  VertexTypeFlags< D3DVT_SHORT_NORM, 2 >
 
struct  VertexTypeFlags< D3DVT_SHORT_NORM, 4 >
 
struct  VertexTypeFlags< D3DVT_UBYTE, 4 >
 
struct  VertexTypeFlags< D3DVT_UBYTE_NORM, 4 >
 
struct  VertexTypeFlags< D3DVT_USHORT_NORM, 2 >
 
struct  VertexTypeFlags< D3DVT_USHORT_NORM, 4 >
 
struct  VertexTypeFlagsHelper
 
struct  VertexTypeMapping
 
struct  VertexTypeMapping< GL_BYTE, false >
 
struct  VertexTypeMapping< GL_BYTE, true >
 
struct  VertexTypeMapping< GL_FIXED, normalized >
 
struct  VertexTypeMapping< GL_FLOAT, normalized >
 
struct  VertexTypeMapping< GL_SHORT, false >
 
struct  VertexTypeMapping< GL_SHORT, true >
 
struct  VertexTypeMapping< GL_UNSIGNED_BYTE, false >
 
struct  VertexTypeMapping< GL_UNSIGNED_BYTE, true >
 
struct  VertexTypeMapping< GL_UNSIGNED_SHORT, false >
 
struct  VertexTypeMapping< GL_UNSIGNED_SHORT, true >
 
struct  VertexTypeMappingBase
 
struct  WidenRule
 
struct  WidenRule< D3DVT_FLOAT, size >
 
struct  WidenRule< D3DVT_SHORT, size >
 
struct  WidenRule< D3DVT_SHORT_NORM, size >
 
struct  WidenRule< D3DVT_UBYTE, size >
 
struct  WidenRule< D3DVT_UBYTE_NORM, size >
 
struct  WidenRule< D3DVT_USHORT_NORM, size >
 

Typedefs

typedef std::map< D3DFORMAT, D3DFormatD3D9FormatInfoMap
 
typedef std::pair< GLint, InitializeTextureDataFunctionInternalFormatInitialzerPair
 
typedef std::map< GLint, InitializeTextureDataFunctionInternalFormatInitialzerMap
 
typedef std::pair< GLenum, TextureFormatD3D9FormatPair
 
typedef std::map< GLenum, TextureFormatD3D9FormatMap
 

Enumerations

enum  { NUM_GL_VERTEX_ATTRIB_TYPES = 6 }
 
enum  D3DVertexType {
  D3DVT_FLOAT, D3DVT_SHORT, D3DVT_SHORT_NORM, D3DVT_UBYTE,
  D3DVT_UBYTE_NORM, D3DVT_USHORT_NORM
}
 

Functions

const D3DFormatGetD3DFormatInfo (D3DFORMAT format)
 
const TextureFormatGetTextureFormatInfo (GLenum internalFormat)
 
VertexFormat CreateVertexFormatInfo (bool identity, size_t elementSize, VertexCopyFunction copyFunc, D3DDECLTYPE nativeFormat)
 
const VertexFormatGetVertexFormatInfo (DWORD supportedDeclTypes, gl::VertexFormatType vertexFormatType)
 
GLuint ComputeBlockSize (D3DFORMAT format, GLuint width, GLuint height)
 
void MakeValidSize (bool isImage, D3DFORMAT format, GLsizei *requestWidth, GLsizei *requestHeight, int *levelOffset)
 
WorkaroundsD3D GenerateWorkarounds ()
 
bool isDeviceLostError (HRESULT errorCode)
 

Variables

const D3DFORMAT D3DFMT_INTZ = ((D3DFORMAT)(MAKEFOURCC('I', 'N', 'T', 'Z')))
 
const D3DFORMAT D3DFMT_NULL = ((D3DFORMAT)(MAKEFOURCC('N', 'U', 'L', 'L')))
 

Typedef Documentation

◆ D3D9FormatInfoMap

◆ D3D9FormatMap

◆ D3D9FormatPair

◆ InternalFormatInitialzerMap

◆ InternalFormatInitialzerPair

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
NUM_GL_VERTEX_ATTRIB_TYPES 

◆ D3DVertexType

Enumerator
D3DVT_FLOAT 
D3DVT_SHORT 
D3DVT_SHORT_NORM 
D3DVT_UBYTE 
D3DVT_UBYTE_NORM 
D3DVT_USHORT_NORM 

Function Documentation

◆ ComputeBlockSize()

GLuint rx::d3d9::ComputeBlockSize ( D3DFORMAT  format,
GLuint  width,
GLuint  height 
)

◆ CreateVertexFormatInfo()

VertexFormat rx::d3d9::CreateVertexFormatInfo ( bool  identity,
size_t  elementSize,
VertexCopyFunction  copyFunc,
D3DDECLTYPE  nativeFormat 
)

◆ GenerateWorkarounds()

WorkaroundsD3D rx::d3d9::GenerateWorkarounds ( )

◆ GetD3DFormatInfo()

const D3DFormat & rx::d3d9::GetD3DFormatInfo ( D3DFORMAT  format)

◆ GetTextureFormatInfo()

const TextureFormat & rx::d3d9::GetTextureFormatInfo ( GLenum  internalFormat)

◆ GetVertexFormatInfo()

const VertexFormat & rx::d3d9::GetVertexFormatInfo ( DWORD  supportedDeclTypes,
gl::VertexFormatType  vertexFormatType 
)

◆ isDeviceLostError()

bool rx::d3d9::isDeviceLostError ( HRESULT  errorCode)
inline

◆ MakeValidSize()

void rx::d3d9::MakeValidSize ( bool  isImage,
D3DFORMAT  format,
GLsizei requestWidth,
GLsizei requestHeight,
int *  levelOffset 
)

Variable Documentation

◆ D3DFMT_INTZ

const D3DFORMAT rx::d3d9::D3DFMT_INTZ = ((D3DFORMAT)(MAKEFOURCC('I', 'N', 'T', 'Z')))

◆ D3DFMT_NULL

const D3DFORMAT rx::d3d9::D3DFMT_NULL = ((D3DFORMAT)(MAKEFOURCC('N', 'U', 'L', 'L')))