ReactOS 0.4.15-dev-8093-g3285f69
d3d9_haldevice.c File Reference
#include "d3d9_haldevice.h"
#include <debug.h>
Include dependency graph for d3d9_haldevice.c:

Go to the source code of this file.

Macros

#define LOCK_D3DDEVICE9()   if (This->bLockDevice) EnterCriticalSection(&This->CriticalSection);
 
#define UNLOCK_D3DDEVICE9()   if (This->bLockDevice) LeaveCriticalSection(&This->CriticalSection);
 

Functions

HRESULT WINAPI IDirect3DDevice9HAL_GetTransform (LPDIRECT3DDEVICE9 iface, D3DTRANSFORMSTATETYPE State, D3DMATRIX *pMatrix)
 
HRESULT WINAPI IDirect3DDevice9HAL_GetMaterial (LPDIRECT3DDEVICE9 iface, D3DMATERIAL9 *pMaterial)
 
HRESULT WINAPI IDirect3DDevice9HAL_GetLight (LPDIRECT3DDEVICE9 iface, DWORD Index, D3DLIGHT9 *pLight)
 
HRESULT WINAPI IDirect3DDevice9HAL_GetLightEnable (LPDIRECT3DDEVICE9 iface, DWORD Index, BOOL *pEnable)
 
HRESULT WINAPI IDirect3DDevice9HAL_GetClipPlane (LPDIRECT3DDEVICE9 iface, DWORD Index, float *pPlane)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetRenderState (LPDIRECT3DDEVICE9 iface, D3DRENDERSTATETYPE State, DWORD Value)
 
HRESULT WINAPI IDirect3DDevice9HAL_GetRenderState (LPDIRECT3DDEVICE9 iface, D3DRENDERSTATETYPE State, DWORD *pValue)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetClipStatus (LPDIRECT3DDEVICE9 iface, CONST D3DCLIPSTATUS9 *pClipStatus)
 
HRESULT WINAPI IDirect3DDevice9HAL_GetClipStatus (LPDIRECT3DDEVICE9 iface, D3DCLIPSTATUS9 *pClipStatus)
 
HRESULT WINAPI IDirect3DDevice9HAL_GetTextureStageState (LPDIRECT3DDEVICE9 iface, DWORD Stage, D3DTEXTURESTAGESTATETYPE Type, DWORD *pValue)
 
HRESULT WINAPI IDirect3DDevice9HAL_GetSamplerState (LPDIRECT3DDEVICE9 iface, DWORD Sampler, D3DSAMPLERSTATETYPE Type, DWORD *pValue)
 
HRESULT WINAPI IDirect3DDevice9HAL_ValidateDevice (LPDIRECT3DDEVICE9 iface, DWORD *pNumPasses)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetSoftwareVertexProcessing (LPDIRECT3DDEVICE9 iface, BOOL bSoftware)
 
BOOL WINAPI IDirect3DDevice9HAL_GetSoftwareVertexProcessing (LPDIRECT3DDEVICE9 iface)
 
HRESULT WINAPI IDirect3DDevice9HAL_ProcessVertices (LPDIRECT3DDEVICE9 iface, UINT SrcStartIndex, UINT DestIndex, UINT VertexCount, IDirect3DVertexBuffer9 *pDestBuffer, IDirect3DVertexDeclaration9 *pVertexDecl, DWORD Flags)
 
HRESULT WINAPI IDirect3DDevice9HAL_GetVertexShader (LPDIRECT3DDEVICE9 iface, IDirect3DVertexShader9 **ppShader)
 
HRESULT WINAPI IDirect3DDevice9HAL_GetPixelShader (LPDIRECT3DDEVICE9 iface, IDirect3DPixelShader9 **ppShader)
 
HRESULT WINAPI IDirect3DDevice9HAL_GetPixelShaderConstantF (LPDIRECT3DDEVICE9 iface, UINT StartRegister, float *pConstantData, UINT Vector4fCount)
 
HRESULT WINAPI IDirect3DDevice9HAL_GetPixelShaderConstantI (LPDIRECT3DDEVICE9 iface, UINT StartRegister, int *pConstantData, UINT Vector4iCount)
 
HRESULT WINAPI IDirect3DDevice9HAL_GetPixelShaderConstantB (LPDIRECT3DDEVICE9 iface, UINT StartRegister, BOOL *pConstantData, UINT BoolCount)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetRenderStateWorker (LPDIRECT3DDEVICE9 iface, D3DRENDERSTATETYPE State, DWORD Value)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetTextureStageStateInt (LPDIRECT3DDEVICE9 iface, DWORD Stage, D3DTEXTURESTAGESTATETYPE Type, DWORD Value)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetSamplerStateInt (LPDIRECT3DDEVICE9 iface, DWORD Sampler, D3DSAMPLERSTATETYPE Type, DWORD Value)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetMaterialInt (LPDIRECT3DDEVICE9 iface, CONST D3DMATERIAL9 *pMaterial)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetVertexShaderInt (LPDIRECT3DDEVICE9 iface, IDirect3DVertexShader9 *pShader)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetVertexShaderConstantFInt (LPDIRECT3DDEVICE9 iface, UINT StartRegister, CONST float *pConstantData, UINT Vector4fCount)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetVertexShaderConstantIInt (LPDIRECT3DDEVICE9 iface, UINT StartRegister, CONST int *pConstantData, UINT Vector4iCount)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetVertexShaderConstantBInt (LPDIRECT3DDEVICE9 iface, UINT StartRegister, CONST BOOL *pConstantData, UINT BoolCount)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetPixelShaderInt (LPDIRECT3DDEVICE9 iface, IDirect3DPixelShader9 *pShader)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetPixelShaderConstantFInt (LPDIRECT3DDEVICE9 iface, UINT StartRegister, CONST float *pConstantData, UINT Vector4fCount)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetPixelShaderConstantIInt (LPDIRECT3DDEVICE9 iface, UINT StartRegister, CONST int *pConstantData, UINT Vector4iCount)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetPixelShaderConstantBInt (LPDIRECT3DDEVICE9 iface, UINT StartRegister, CONST BOOL *pConstantData, UINT BoolCount)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetFVFInt (LPDIRECT3DDEVICE9 iface, DWORD FVF)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetTextureInt (LPDIRECT3DDEVICE9 iface, DWORD Stage, IDirect3DBaseTexture9 *pTexture)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetIndicesInt (LPDIRECT3DDEVICE9 iface, IDirect3DIndexBuffer9 *pIndexData)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetStreamSourceInt (LPDIRECT3DDEVICE9 iface, UINT StreamNumber, IDirect3DVertexBuffer9 *pStreamData, UINT OffsetInBytes, UINT Stride)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetStreamSourceFreqInt (LPDIRECT3DDEVICE9 iface, UINT StreamNumber, UINT Setting)
 
VOID WINAPI IDirect3DDevice9HAL_UpdateRenderState (LPDIRECT3DDEVICE9 iface, DWORD Unknown1, DWORD Unknown2)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetTransformInt (LPDIRECT3DDEVICE9 iface, D3DTRANSFORMSTATETYPE State, CONST D3DMATRIX *pMatrix)
 
HRESULT WINAPI IDirect3DDevice9HAL_MultiplyTransformInt (LPDIRECT3DDEVICE9 iface, D3DTRANSFORMSTATETYPE State, CONST D3DMATRIX *pMatrix)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetClipPlaneInt (LPDIRECT3DDEVICE9 iface, DWORD Index, CONST float *pPlane)
 
VOID WINAPI IDirect3DDevice9HAL_UpdateDriverState (LPDIRECT3DDEVICE9 iface)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetViewportInt (LPDIRECT3DDEVICE9 iface, CONST D3DVIEWPORT9 *pViewport)
 
VOID WINAPI IDirect3DDevice9HAL_SetStreamSourceWorker (LPDIRECT3DDEVICE9 iface, LPVOID UnknownStreamData)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetPixelShaderConstantFWorker (LPDIRECT3DDEVICE9 iface, UINT StartRegister, CONST float *pConstantData, UINT Vector4fCount)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetPixelShaderConstantIWorker (LPDIRECT3DDEVICE9 iface, UINT StartRegister, CONST int *pConstantData, UINT Vector4iCount)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetPixelShaderConstantBWorker (LPDIRECT3DDEVICE9 iface, UINT StartRegister, CONST BOOL *pConstantData, UINT BoolCount)
 
VOID WINAPI IDirect3DDevice9HAL_DrawPrimitiveWorker (LPDIRECT3DDEVICE9 iface, D3DPRIMITIVETYPE PrimitiveType, UINT StartVertex, UINT PrimitiveCount)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetLightInt (LPDIRECT3DDEVICE9 iface, DWORD Index, CONST D3DLIGHT9 *pLight)
 
HRESULT WINAPI IDirect3DDevice9HAL_LightEnableInt (LPDIRECT3DDEVICE9 iface, DWORD Index, BOOL Enable)
 
HRESULT WINAPI IDirect3DDevice9HAL_SetRenderStateInt (LPDIRECT3DDEVICE9 iface, D3DRENDERSTATETYPE State, DWORD Value)
 
HRESULT WINAPI IDirect3DDevice9HAL_DrawPrimitiveUPInt (LPDIRECT3DDEVICE9 iface, D3DPRIMITIVETYPE PrimitiveType, UINT PrimitiveCount)
 
HRESULT WINAPI IDirect3DDevice9HAL_ClearInt (LPDIRECT3DDEVICE9 iface, DWORD Count, CONST D3DRECT *pRects, DWORD Flags, D3DCOLOR Color, float Z, DWORD Stencil)
 
VOID WINAPI IDirect3DDevice9HAL_DrawPrimitivesWorker (LPDIRECT3DDEVICE9 iface)
 
VOID WINAPI IDirect3DDevice9HAL_UpdateVertexShader (LPDIRECT3DDEVICE9 iface)
 
HRESULT WINAPI IDirect3DDevice9HAL_ValidateDrawCall (LPDIRECT3DDEVICE9 iface, D3DPRIMITIVETYPE PrimitiveType, UINT Unknown1, UINT Unknown2, UINT Unknown3, INT Unknown4, UINT Unknown5, INT Unknown6)
 
HRESULT WINAPI IDirect3DDevice9HAL_Init (LPDIRECT3DDEVICE9 iface)
 
VOID WINAPI IDirect3DDevice9HAL_InitState (LPDIRECT3DDEVICE9 iface, INT State)
 
VOID WINAPI IDirect3DDevice9HAL_Destroy (LPDIRECT3DDEVICE9 iface)
 
VOID WINAPI IDirect3DDevice9HAL_VirtualDestructor (LPDIRECT3DDEVICE9 iface)
 

Variables

IDirect3DDevice9Vtbl_INT Direct3DDevice9HAL_Vtbl
 

Macro Definition Documentation

◆ LOCK_D3DDEVICE9

#define LOCK_D3DDEVICE9 ( )    if (This->bLockDevice) EnterCriticalSection(&This->CriticalSection);

Definition at line 11 of file d3d9_haldevice.c.

◆ UNLOCK_D3DDEVICE9

#define UNLOCK_D3DDEVICE9 ( )    if (This->bLockDevice) LeaveCriticalSection(&This->CriticalSection);

Definition at line 12 of file d3d9_haldevice.c.

Function Documentation

◆ IDirect3DDevice9HAL_ClearInt()

HRESULT WINAPI IDirect3DDevice9HAL_ClearInt ( LPDIRECT3DDEVICE9  iface,
DWORD  Count,
CONST D3DRECT pRects,
DWORD  Flags,
D3DCOLOR  Color,
float  Z,
DWORD  Stencil 
)

Definition at line 381 of file d3d9_haldevice.c.

382{
384
385 return D3D_OK;
386}
#define UNIMPLEMENTED
Definition: debug.h:118
#define D3D_OK
Definition: d3d.h:106

◆ IDirect3DDevice9HAL_Destroy()

VOID WINAPI IDirect3DDevice9HAL_Destroy ( LPDIRECT3DDEVICE9  iface)

Definition at line 417 of file d3d9_haldevice.c.

418{
420}

◆ IDirect3DDevice9HAL_DrawPrimitivesWorker()

VOID WINAPI IDirect3DDevice9HAL_DrawPrimitivesWorker ( LPDIRECT3DDEVICE9  iface)

Definition at line 388 of file d3d9_haldevice.c.

389{
391}

◆ IDirect3DDevice9HAL_DrawPrimitiveUPInt()

HRESULT WINAPI IDirect3DDevice9HAL_DrawPrimitiveUPInt ( LPDIRECT3DDEVICE9  iface,
D3DPRIMITIVETYPE  PrimitiveType,
UINT  PrimitiveCount 
)

Definition at line 374 of file d3d9_haldevice.c.

375{
377
378 return D3D_OK;
379}

◆ IDirect3DDevice9HAL_DrawPrimitiveWorker()

VOID WINAPI IDirect3DDevice9HAL_DrawPrimitiveWorker ( LPDIRECT3DDEVICE9  iface,
D3DPRIMITIVETYPE  PrimitiveType,
UINT  StartVertex,
UINT  PrimitiveCount 
)

Definition at line 348 of file d3d9_haldevice.c.

349{
351}

◆ IDirect3DDevice9HAL_GetClipPlane()

HRESULT WINAPI IDirect3DDevice9HAL_GetClipPlane ( LPDIRECT3DDEVICE9  iface,
DWORD  Index,
float pPlane 
)

Definition at line 52 of file d3d9_haldevice.c.

53{
55
56 return D3D_OK;
57}

◆ IDirect3DDevice9HAL_GetClipStatus()

HRESULT WINAPI IDirect3DDevice9HAL_GetClipStatus ( LPDIRECT3DDEVICE9  iface,
D3DCLIPSTATUS9 pClipStatus 
)

Definition at line 80 of file d3d9_haldevice.c.

81{
83
84 return D3D_OK;
85}

◆ IDirect3DDevice9HAL_GetLight()

HRESULT WINAPI IDirect3DDevice9HAL_GetLight ( LPDIRECT3DDEVICE9  iface,
DWORD  Index,
D3DLIGHT9 pLight 
)

Definition at line 38 of file d3d9_haldevice.c.

39{
41
42 return D3D_OK;
43}

◆ IDirect3DDevice9HAL_GetLightEnable()

HRESULT WINAPI IDirect3DDevice9HAL_GetLightEnable ( LPDIRECT3DDEVICE9  iface,
DWORD  Index,
BOOL pEnable 
)

Definition at line 45 of file d3d9_haldevice.c.

46{
48
49 return D3D_OK;
50}

◆ IDirect3DDevice9HAL_GetMaterial()

HRESULT WINAPI IDirect3DDevice9HAL_GetMaterial ( LPDIRECT3DDEVICE9  iface,
D3DMATERIAL9 pMaterial 
)

Definition at line 31 of file d3d9_haldevice.c.

32{
34
35 return D3D_OK;
36}

◆ IDirect3DDevice9HAL_GetPixelShader()

HRESULT WINAPI IDirect3DDevice9HAL_GetPixelShader ( LPDIRECT3DDEVICE9  iface,
IDirect3DPixelShader9 **  ppShader 
)

Definition at line 136 of file d3d9_haldevice.c.

137{
139
140 return D3D_OK;
141}

◆ IDirect3DDevice9HAL_GetPixelShaderConstantB()

HRESULT WINAPI IDirect3DDevice9HAL_GetPixelShaderConstantB ( LPDIRECT3DDEVICE9  iface,
UINT  StartRegister,
BOOL pConstantData,
UINT  BoolCount 
)

Definition at line 157 of file d3d9_haldevice.c.

158{
160
161 return D3D_OK;
162}

◆ IDirect3DDevice9HAL_GetPixelShaderConstantF()

HRESULT WINAPI IDirect3DDevice9HAL_GetPixelShaderConstantF ( LPDIRECT3DDEVICE9  iface,
UINT  StartRegister,
float pConstantData,
UINT  Vector4fCount 
)

Definition at line 143 of file d3d9_haldevice.c.

144{
146
147 return D3D_OK;
148}

◆ IDirect3DDevice9HAL_GetPixelShaderConstantI()

HRESULT WINAPI IDirect3DDevice9HAL_GetPixelShaderConstantI ( LPDIRECT3DDEVICE9  iface,
UINT  StartRegister,
int pConstantData,
UINT  Vector4iCount 
)

Definition at line 150 of file d3d9_haldevice.c.

151{
153
154 return D3D_OK;
155}

◆ IDirect3DDevice9HAL_GetRenderState()

HRESULT WINAPI IDirect3DDevice9HAL_GetRenderState ( LPDIRECT3DDEVICE9  iface,
D3DRENDERSTATETYPE  State,
DWORD pValue 
)

Definition at line 66 of file d3d9_haldevice.c.

67{
69
70 return D3D_OK;
71}

◆ IDirect3DDevice9HAL_GetSamplerState()

HRESULT WINAPI IDirect3DDevice9HAL_GetSamplerState ( LPDIRECT3DDEVICE9  iface,
DWORD  Sampler,
D3DSAMPLERSTATETYPE  Type,
DWORD pValue 
)

Definition at line 94 of file d3d9_haldevice.c.

95{
97
98 return D3D_OK;
99}

◆ IDirect3DDevice9HAL_GetSoftwareVertexProcessing()

BOOL WINAPI IDirect3DDevice9HAL_GetSoftwareVertexProcessing ( LPDIRECT3DDEVICE9  iface)

Definition at line 115 of file d3d9_haldevice.c.

116{
118
119 return TRUE;
120}
#define TRUE
Definition: types.h:120

◆ IDirect3DDevice9HAL_GetTextureStageState()

HRESULT WINAPI IDirect3DDevice9HAL_GetTextureStageState ( LPDIRECT3DDEVICE9  iface,
DWORD  Stage,
D3DTEXTURESTAGESTATETYPE  Type,
DWORD pValue 
)

Definition at line 87 of file d3d9_haldevice.c.

88{
90
91 return D3D_OK;
92}

◆ IDirect3DDevice9HAL_GetTransform()

HRESULT WINAPI IDirect3DDevice9HAL_GetTransform ( LPDIRECT3DDEVICE9  iface,
D3DTRANSFORMSTATETYPE  State,
D3DMATRIX pMatrix 
)

Definition at line 24 of file d3d9_haldevice.c.

25{
27
28 return D3D_OK;
29}

◆ IDirect3DDevice9HAL_GetVertexShader()

HRESULT WINAPI IDirect3DDevice9HAL_GetVertexShader ( LPDIRECT3DDEVICE9  iface,
IDirect3DVertexShader9 **  ppShader 
)

Definition at line 129 of file d3d9_haldevice.c.

130{
132
133 return D3D_OK;
134}

◆ IDirect3DDevice9HAL_Init()

HRESULT WINAPI IDirect3DDevice9HAL_Init ( LPDIRECT3DDEVICE9  iface)

Definition at line 405 of file d3d9_haldevice.c.

406{
408
409 return D3D_OK;
410}

◆ IDirect3DDevice9HAL_InitState()

VOID WINAPI IDirect3DDevice9HAL_InitState ( LPDIRECT3DDEVICE9  iface,
INT  State 
)

Definition at line 412 of file d3d9_haldevice.c.

413{
415}

◆ IDirect3DDevice9HAL_LightEnableInt()

HRESULT WINAPI IDirect3DDevice9HAL_LightEnableInt ( LPDIRECT3DDEVICE9  iface,
DWORD  Index,
BOOL  Enable 
)

Definition at line 360 of file d3d9_haldevice.c.

361{
363
364 return D3D_OK;
365}

◆ IDirect3DDevice9HAL_MultiplyTransformInt()

HRESULT WINAPI IDirect3DDevice9HAL_MultiplyTransformInt ( LPDIRECT3DDEVICE9  iface,
D3DTRANSFORMSTATETYPE  State,
CONST D3DMATRIX pMatrix 
)

Definition at line 296 of file d3d9_haldevice.c.

297{
299
300 return D3D_OK;
301}

◆ IDirect3DDevice9HAL_ProcessVertices()

HRESULT WINAPI IDirect3DDevice9HAL_ProcessVertices ( LPDIRECT3DDEVICE9  iface,
UINT  SrcStartIndex,
UINT  DestIndex,
UINT  VertexCount,
IDirect3DVertexBuffer9 *  pDestBuffer,
IDirect3DVertexDeclaration9 *  pVertexDecl,
DWORD  Flags 
)

Definition at line 122 of file d3d9_haldevice.c.

123{
125
126 return D3D_OK;
127}

◆ IDirect3DDevice9HAL_SetClipPlaneInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetClipPlaneInt ( LPDIRECT3DDEVICE9  iface,
DWORD  Index,
CONST float pPlane 
)

Definition at line 303 of file d3d9_haldevice.c.

304{
306
307 return D3D_OK;
308}

◆ IDirect3DDevice9HAL_SetClipStatus()

HRESULT WINAPI IDirect3DDevice9HAL_SetClipStatus ( LPDIRECT3DDEVICE9  iface,
CONST D3DCLIPSTATUS9 pClipStatus 
)

Definition at line 73 of file d3d9_haldevice.c.

74{
76
77 return D3D_OK;
78}

◆ IDirect3DDevice9HAL_SetFVFInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetFVFInt ( LPDIRECT3DDEVICE9  iface,
DWORD  FVF 
)

Definition at line 249 of file d3d9_haldevice.c.

250{
252
253 return D3D_OK;
254}

◆ IDirect3DDevice9HAL_SetIndicesInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetIndicesInt ( LPDIRECT3DDEVICE9  iface,
IDirect3DIndexBuffer9 *  pIndexData 
)

Definition at line 263 of file d3d9_haldevice.c.

264{
266
267 return D3D_OK;
268}

◆ IDirect3DDevice9HAL_SetLightInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetLightInt ( LPDIRECT3DDEVICE9  iface,
DWORD  Index,
CONST D3DLIGHT9 pLight 
)

Definition at line 353 of file d3d9_haldevice.c.

354{
356
357 return D3D_OK;
358}

◆ IDirect3DDevice9HAL_SetMaterialInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetMaterialInt ( LPDIRECT3DDEVICE9  iface,
CONST D3DMATERIAL9 pMaterial 
)

Definition at line 186 of file d3d9_haldevice.c.

187{
189
190 return D3D_OK;
191}

◆ IDirect3DDevice9HAL_SetPixelShaderConstantBInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetPixelShaderConstantBInt ( LPDIRECT3DDEVICE9  iface,
UINT  StartRegister,
CONST BOOL pConstantData,
UINT  BoolCount 
)

Definition at line 242 of file d3d9_haldevice.c.

243{
245
246 return D3D_OK;
247}

◆ IDirect3DDevice9HAL_SetPixelShaderConstantBWorker()

HRESULT WINAPI IDirect3DDevice9HAL_SetPixelShaderConstantBWorker ( LPDIRECT3DDEVICE9  iface,
UINT  StartRegister,
CONST BOOL pConstantData,
UINT  BoolCount 
)

Definition at line 341 of file d3d9_haldevice.c.

342{
344
345 return D3D_OK;
346}

◆ IDirect3DDevice9HAL_SetPixelShaderConstantFInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetPixelShaderConstantFInt ( LPDIRECT3DDEVICE9  iface,
UINT  StartRegister,
CONST float pConstantData,
UINT  Vector4fCount 
)

Definition at line 228 of file d3d9_haldevice.c.

229{
231
232 return D3D_OK;
233}

◆ IDirect3DDevice9HAL_SetPixelShaderConstantFWorker()

HRESULT WINAPI IDirect3DDevice9HAL_SetPixelShaderConstantFWorker ( LPDIRECT3DDEVICE9  iface,
UINT  StartRegister,
CONST float pConstantData,
UINT  Vector4fCount 
)

Definition at line 327 of file d3d9_haldevice.c.

328{
330
331 return D3D_OK;
332}

◆ IDirect3DDevice9HAL_SetPixelShaderConstantIInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetPixelShaderConstantIInt ( LPDIRECT3DDEVICE9  iface,
UINT  StartRegister,
CONST int pConstantData,
UINT  Vector4iCount 
)

Definition at line 235 of file d3d9_haldevice.c.

236{
238
239 return D3D_OK;
240}

◆ IDirect3DDevice9HAL_SetPixelShaderConstantIWorker()

HRESULT WINAPI IDirect3DDevice9HAL_SetPixelShaderConstantIWorker ( LPDIRECT3DDEVICE9  iface,
UINT  StartRegister,
CONST int pConstantData,
UINT  Vector4iCount 
)

Definition at line 334 of file d3d9_haldevice.c.

335{
337
338 return D3D_OK;
339}

◆ IDirect3DDevice9HAL_SetPixelShaderInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetPixelShaderInt ( LPDIRECT3DDEVICE9  iface,
IDirect3DPixelShader9 *  pShader 
)

Definition at line 221 of file d3d9_haldevice.c.

222{
224
225 return D3D_OK;
226}

◆ IDirect3DDevice9HAL_SetRenderState()

HRESULT WINAPI IDirect3DDevice9HAL_SetRenderState ( LPDIRECT3DDEVICE9  iface,
D3DRENDERSTATETYPE  State,
DWORD  Value 
)

Definition at line 59 of file d3d9_haldevice.c.

60{
62
63 return D3D_OK;
64}

◆ IDirect3DDevice9HAL_SetRenderStateInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetRenderStateInt ( LPDIRECT3DDEVICE9  iface,
D3DRENDERSTATETYPE  State,
DWORD  Value 
)

Definition at line 367 of file d3d9_haldevice.c.

368{
370
371 return D3D_OK;
372}

◆ IDirect3DDevice9HAL_SetRenderStateWorker()

HRESULT WINAPI IDirect3DDevice9HAL_SetRenderStateWorker ( LPDIRECT3DDEVICE9  iface,
D3DRENDERSTATETYPE  State,
DWORD  Value 
)

Definition at line 165 of file d3d9_haldevice.c.

166{
168
169 return D3D_OK;
170}

◆ IDirect3DDevice9HAL_SetSamplerStateInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetSamplerStateInt ( LPDIRECT3DDEVICE9  iface,
DWORD  Sampler,
D3DSAMPLERSTATETYPE  Type,
DWORD  Value 
)

Definition at line 179 of file d3d9_haldevice.c.

180{
182
183 return D3D_OK;
184}

◆ IDirect3DDevice9HAL_SetSoftwareVertexProcessing()

HRESULT WINAPI IDirect3DDevice9HAL_SetSoftwareVertexProcessing ( LPDIRECT3DDEVICE9  iface,
BOOL  bSoftware 
)

Definition at line 108 of file d3d9_haldevice.c.

109{
111
112 return D3D_OK;
113}

◆ IDirect3DDevice9HAL_SetStreamSourceFreqInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetStreamSourceFreqInt ( LPDIRECT3DDEVICE9  iface,
UINT  StreamNumber,
UINT  Setting 
)

Definition at line 277 of file d3d9_haldevice.c.

278{
280
281 return D3D_OK;
282}

◆ IDirect3DDevice9HAL_SetStreamSourceInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetStreamSourceInt ( LPDIRECT3DDEVICE9  iface,
UINT  StreamNumber,
IDirect3DVertexBuffer9 *  pStreamData,
UINT  OffsetInBytes,
UINT  Stride 
)

Definition at line 270 of file d3d9_haldevice.c.

271{
273
274 return D3D_OK;
275}

◆ IDirect3DDevice9HAL_SetStreamSourceWorker()

VOID WINAPI IDirect3DDevice9HAL_SetStreamSourceWorker ( LPDIRECT3DDEVICE9  iface,
LPVOID  UnknownStreamData 
)

Definition at line 322 of file d3d9_haldevice.c.

323{
325}

◆ IDirect3DDevice9HAL_SetTextureInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetTextureInt ( LPDIRECT3DDEVICE9  iface,
DWORD  Stage,
IDirect3DBaseTexture9 *  pTexture 
)

Definition at line 256 of file d3d9_haldevice.c.

257{
259
260 return D3D_OK;
261}

◆ IDirect3DDevice9HAL_SetTextureStageStateInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetTextureStageStateInt ( LPDIRECT3DDEVICE9  iface,
DWORD  Stage,
D3DTEXTURESTAGESTATETYPE  Type,
DWORD  Value 
)

Definition at line 172 of file d3d9_haldevice.c.

173{
175
176 return D3D_OK;
177}

◆ IDirect3DDevice9HAL_SetTransformInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetTransformInt ( LPDIRECT3DDEVICE9  iface,
D3DTRANSFORMSTATETYPE  State,
CONST D3DMATRIX pMatrix 
)

Definition at line 289 of file d3d9_haldevice.c.

290{
292
293 return D3D_OK;
294}

◆ IDirect3DDevice9HAL_SetVertexShaderConstantBInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetVertexShaderConstantBInt ( LPDIRECT3DDEVICE9  iface,
UINT  StartRegister,
CONST BOOL pConstantData,
UINT  BoolCount 
)

Definition at line 214 of file d3d9_haldevice.c.

215{
217
218 return D3D_OK;
219}

◆ IDirect3DDevice9HAL_SetVertexShaderConstantFInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetVertexShaderConstantFInt ( LPDIRECT3DDEVICE9  iface,
UINT  StartRegister,
CONST float pConstantData,
UINT  Vector4fCount 
)

Definition at line 200 of file d3d9_haldevice.c.

201{
203
204 return D3D_OK;
205}

◆ IDirect3DDevice9HAL_SetVertexShaderConstantIInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetVertexShaderConstantIInt ( LPDIRECT3DDEVICE9  iface,
UINT  StartRegister,
CONST int pConstantData,
UINT  Vector4iCount 
)

Definition at line 207 of file d3d9_haldevice.c.

208{
210
211 return D3D_OK;
212}

◆ IDirect3DDevice9HAL_SetVertexShaderInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetVertexShaderInt ( LPDIRECT3DDEVICE9  iface,
IDirect3DVertexShader9 *  pShader 
)

Definition at line 193 of file d3d9_haldevice.c.

194{
196
197 return D3D_OK;
198}

◆ IDirect3DDevice9HAL_SetViewportInt()

HRESULT WINAPI IDirect3DDevice9HAL_SetViewportInt ( LPDIRECT3DDEVICE9  iface,
CONST D3DVIEWPORT9 pViewport 
)

Definition at line 315 of file d3d9_haldevice.c.

316{
318
319 return D3D_OK;
320}

◆ IDirect3DDevice9HAL_UpdateDriverState()

VOID WINAPI IDirect3DDevice9HAL_UpdateDriverState ( LPDIRECT3DDEVICE9  iface)

Definition at line 310 of file d3d9_haldevice.c.

311{
313}

◆ IDirect3DDevice9HAL_UpdateRenderState()

VOID WINAPI IDirect3DDevice9HAL_UpdateRenderState ( LPDIRECT3DDEVICE9  iface,
DWORD  Unknown1,
DWORD  Unknown2 
)

Definition at line 284 of file d3d9_haldevice.c.

285{
287}

◆ IDirect3DDevice9HAL_UpdateVertexShader()

VOID WINAPI IDirect3DDevice9HAL_UpdateVertexShader ( LPDIRECT3DDEVICE9  iface)

Definition at line 393 of file d3d9_haldevice.c.

394{
396}

◆ IDirect3DDevice9HAL_ValidateDevice()

HRESULT WINAPI IDirect3DDevice9HAL_ValidateDevice ( LPDIRECT3DDEVICE9  iface,
DWORD pNumPasses 
)

Definition at line 101 of file d3d9_haldevice.c.

102{
104
105 return D3D_OK;
106}

◆ IDirect3DDevice9HAL_ValidateDrawCall()

HRESULT WINAPI IDirect3DDevice9HAL_ValidateDrawCall ( LPDIRECT3DDEVICE9  iface,
D3DPRIMITIVETYPE  PrimitiveType,
UINT  Unknown1,
UINT  Unknown2,
UINT  Unknown3,
INT  Unknown4,
UINT  Unknown5,
INT  Unknown6 
)

Definition at line 398 of file d3d9_haldevice.c.

399{
401
402 return D3D_OK;
403}

◆ IDirect3DDevice9HAL_VirtualDestructor()

VOID WINAPI IDirect3DDevice9HAL_VirtualDestructor ( LPDIRECT3DDEVICE9  iface)

Definition at line 422 of file d3d9_haldevice.c.

423{
425}

Variable Documentation

◆ Direct3DDevice9HAL_Vtbl

IDirect3DDevice9Vtbl_INT Direct3DDevice9HAL_Vtbl

Definition at line 427 of file d3d9_haldevice.c.

Referenced by InitD3D9BaseDevice().