Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c1a0037b
Commit
c1a0037b
authored
Feb 28, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Mar 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: IDirect3DDevice9Ex stub.
parent
d9f97259
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
44 additions
and
37 deletions
+44
-37
cubetexture.c
dlls/d3d9/cubetexture.c
+1
-1
d3d9_private.h
dlls/d3d9/d3d9_private.h
+0
-0
device.c
dlls/d3d9/device.c
+0
-0
directx.c
dlls/d3d9/directx.c
+10
-3
indexbuffer.c
dlls/d3d9/indexbuffer.c
+1
-1
pixelshader.c
dlls/d3d9/pixelshader.c
+9
-9
query.c
dlls/d3d9/query.c
+1
-1
stateblock.c
dlls/d3d9/stateblock.c
+3
-3
swapchain.c
dlls/d3d9/swapchain.c
+3
-3
texture.c
dlls/d3d9/texture.c
+1
-1
vertexbuffer.c
dlls/d3d9/vertexbuffer.c
+1
-1
vertexdeclaration.c
dlls/d3d9/vertexdeclaration.c
+4
-4
vertexshader.c
dlls/d3d9/vertexshader.c
+9
-9
volumetexture.c
dlls/d3d9/volumetexture.c
+1
-1
No files found.
dlls/d3d9/cubetexture.c
View file @
c1a0037b
...
...
@@ -333,7 +333,7 @@ static const IDirect3DCubeTexture9Vtbl Direct3DCubeTexture9_Vtbl =
/* IDirect3DDevice9 IDirect3DCubeTexture9 Methods follow: */
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateCubeTexture
(
LPDIRECT3DDEVICE9
iface
,
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateCubeTexture
(
LPDIRECT3DDEVICE9
EX
iface
,
UINT
EdgeLength
,
UINT
Levels
,
DWORD
Usage
,
D3DFORMAT
Format
,
D3DPOOL
Pool
,
IDirect3DCubeTexture9
**
ppCubeTexture
,
HANDLE
*
pSharedHandle
)
{
...
...
dlls/d3d9/d3d9_private.h
View file @
c1a0037b
This diff is collapsed.
Click to expand it.
dlls/d3d9/device.c
View file @
c1a0037b
This diff is collapsed.
Click to expand it.
dlls/d3d9/directx.c
View file @
c1a0037b
...
...
@@ -36,9 +36,16 @@ static HRESULT WINAPI IDirect3D9Impl_QueryInterface(LPDIRECT3D9EX iface, REFIID
TRACE
(
"Returning IDirect3D9 interface at %p
\n
"
,
*
ppobj
);
return
S_OK
;
}
else
if
(
IsEqualGUID
(
riid
,
&
IID_IDirect3D9Ex
))
{
*
ppobj
=
(
IDirect3D9Ex
*
)
This
;
TRACE
(
"Returning IDirect3D9Ex interface at %p
\n
"
,
*
ppobj
);
IDirect3D9Ex_AddRef
((
IDirect3D9Ex
*
)
*
ppobj
);
if
(
This
->
extended
)
{
*
ppobj
=
(
IDirect3D9Ex
*
)
This
;
TRACE
(
"Returning IDirect3D9Ex interface at %p
\n
"
,
*
ppobj
);
IDirect3D9Ex_AddRef
((
IDirect3D9Ex
*
)
*
ppobj
);
}
else
{
WARN
(
"Application asks for IDirect3D9Ex, but this instance wasn't created with Direct3DCreate9Ex
\n
"
);
WARN
(
"Returning E_NOINTERFACE
\n
"
);
*
ppobj
=
NULL
;
return
E_NOINTERFACE
;
}
}
WARN
(
"(%p)->(%s,%p),not found
\n
"
,
This
,
debugstr_guid
(
riid
),
ppobj
);
...
...
dlls/d3d9/indexbuffer.c
View file @
c1a0037b
...
...
@@ -211,7 +211,7 @@ static const IDirect3DIndexBuffer9Vtbl Direct3DIndexBuffer9_Vtbl =
/* IDirect3DDevice9 IDirect3DIndexBuffer9 Methods follow: */
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateIndexBuffer
(
LPDIRECT3DDEVICE9
iface
,
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateIndexBuffer
(
LPDIRECT3DDEVICE9
EX
iface
,
UINT
Length
,
DWORD
Usage
,
D3DFORMAT
Format
,
D3DPOOL
Pool
,
IDirect3DIndexBuffer9
**
ppIndexBuffer
,
HANDLE
*
pSharedHandle
)
{
...
...
dlls/d3d9/pixelshader.c
View file @
c1a0037b
...
...
@@ -106,7 +106,7 @@ static const IDirect3DPixelShader9Vtbl Direct3DPixelShader9_Vtbl =
/* IDirect3DDevice9 IDirect3DPixelShader9 Methods follow: */
HRESULT
WINAPI
IDirect3DDevice9Impl_CreatePixelShader
(
LPDIRECT3DDEVICE9
iface
,
CONST
DWORD
*
pFunction
,
IDirect3DPixelShader9
**
ppShader
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_CreatePixelShader
(
LPDIRECT3DDEVICE9
EX
iface
,
CONST
DWORD
*
pFunction
,
IDirect3DPixelShader9
**
ppShader
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
IDirect3DPixelShader9Impl
*
object
;
HRESULT
hrc
=
D3D_OK
;
...
...
@@ -146,7 +146,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_CreatePixelShader(LPDIRECT3DDEVICE9 iface, C
return
hrc
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_SetPixelShader
(
LPDIRECT3DDEVICE9
iface
,
IDirect3DPixelShader9
*
pShader
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_SetPixelShader
(
LPDIRECT3DDEVICE9
EX
iface
,
IDirect3DPixelShader9
*
pShader
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
IDirect3DPixelShader9Impl
*
shader
=
(
IDirect3DPixelShader9Impl
*
)
pShader
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
...
...
@@ -157,7 +157,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_SetPixelShader(LPDIRECT3DDEVICE9 iface, IDir
return
D3D_OK
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_GetPixelShader
(
LPDIRECT3DDEVICE9
iface
,
IDirect3DPixelShader9
**
ppShader
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_GetPixelShader
(
LPDIRECT3DDEVICE9
EX
iface
,
IDirect3DPixelShader9
**
ppShader
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
IWineD3DPixelShader
*
object
;
...
...
@@ -182,7 +182,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetPixelShader(LPDIRECT3DDEVICE9 iface, IDir
return
hrc
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_SetPixelShaderConstantF
(
LPDIRECT3DDEVICE9
iface
,
UINT
Register
,
CONST
float
*
pConstantData
,
UINT
Vector4fCount
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_SetPixelShaderConstantF
(
LPDIRECT3DDEVICE9
EX
iface
,
UINT
Register
,
CONST
float
*
pConstantData
,
UINT
Vector4fCount
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hr
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
...
...
@@ -193,13 +193,13 @@ HRESULT WINAPI IDirect3DDevice9Impl_SetPixelShaderConstantF(LPDIRECT3DDEVICE9 if
return
hr
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_GetPixelShaderConstantF
(
LPDIRECT3DDEVICE9
iface
,
UINT
Register
,
float
*
pConstantData
,
UINT
Vector4fCount
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_GetPixelShaderConstantF
(
LPDIRECT3DDEVICE9
EX
iface
,
UINT
Register
,
float
*
pConstantData
,
UINT
Vector4fCount
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
return
IWineD3DDevice_GetPixelShaderConstantF
(
This
->
WineD3DDevice
,
Register
,
pConstantData
,
Vector4fCount
);
}
HRESULT
WINAPI
IDirect3DDevice9Impl_SetPixelShaderConstantI
(
LPDIRECT3DDEVICE9
iface
,
UINT
Register
,
CONST
int
*
pConstantData
,
UINT
Vector4iCount
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_SetPixelShaderConstantI
(
LPDIRECT3DDEVICE9
EX
iface
,
UINT
Register
,
CONST
int
*
pConstantData
,
UINT
Vector4iCount
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hr
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
...
...
@@ -210,7 +210,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_SetPixelShaderConstantI(LPDIRECT3DDEVICE9 if
return
hr
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_GetPixelShaderConstantI
(
LPDIRECT3DDEVICE9
iface
,
UINT
Register
,
int
*
pConstantData
,
UINT
Vector4iCount
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_GetPixelShaderConstantI
(
LPDIRECT3DDEVICE9
EX
iface
,
UINT
Register
,
int
*
pConstantData
,
UINT
Vector4iCount
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hr
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
...
...
@@ -221,7 +221,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetPixelShaderConstantI(LPDIRECT3DDEVICE9 if
return
hr
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_SetPixelShaderConstantB
(
LPDIRECT3DDEVICE9
iface
,
UINT
Register
,
CONST
BOOL
*
pConstantData
,
UINT
BoolCount
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_SetPixelShaderConstantB
(
LPDIRECT3DDEVICE9
EX
iface
,
UINT
Register
,
CONST
BOOL
*
pConstantData
,
UINT
BoolCount
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hr
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
...
...
@@ -232,7 +232,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_SetPixelShaderConstantB(LPDIRECT3DDEVICE9 if
return
hr
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_GetPixelShaderConstantB
(
LPDIRECT3DDEVICE9
iface
,
UINT
Register
,
BOOL
*
pConstantData
,
UINT
BoolCount
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_GetPixelShaderConstantB
(
LPDIRECT3DDEVICE9
EX
iface
,
UINT
Register
,
BOOL
*
pConstantData
,
UINT
BoolCount
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hr
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
...
...
dlls/d3d9/query.c
View file @
c1a0037b
...
...
@@ -145,7 +145,7 @@ static const IDirect3DQuery9Vtbl Direct3DQuery9_Vtbl =
/* IDirect3DDevice9 IDirect3DQuery9 Methods follow: */
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateQuery
(
LPDIRECT3DDEVICE9
iface
,
D3DQUERYTYPE
Type
,
IDirect3DQuery9
**
ppQuery
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateQuery
(
LPDIRECT3DDEVICE9
EX
iface
,
D3DQUERYTYPE
Type
,
IDirect3DQuery9
**
ppQuery
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
IDirect3DQuery9Impl
*
object
=
NULL
;
HRESULT
hr
=
D3D_OK
;
...
...
dlls/d3d9/stateblock.c
View file @
c1a0037b
...
...
@@ -115,7 +115,7 @@ static const IDirect3DStateBlock9Vtbl Direct3DStateBlock9_Vtbl =
/* IDirect3DDevice9 IDirect3DStateBlock9 Methods follow: */
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateStateBlock
(
LPDIRECT3DDEVICE9
iface
,
D3DSTATEBLOCKTYPE
Type
,
IDirect3DStateBlock9
**
ppStateBlock
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateStateBlock
(
LPDIRECT3DDEVICE9
EX
iface
,
D3DSTATEBLOCKTYPE
Type
,
IDirect3DStateBlock9
**
ppStateBlock
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
IDirect3DStateBlock9Impl
*
object
;
HRESULT
hrc
=
D3D_OK
;
...
...
@@ -149,7 +149,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_CreateStateBlock(LPDIRECT3DDEVICE9 iface, D3
return
hrc
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_BeginStateBlock
(
LPDIRECT3DDEVICE9
iface
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_BeginStateBlock
(
LPDIRECT3DDEVICE9
EX
iface
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hr
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
...
...
@@ -160,7 +160,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_BeginStateBlock(LPDIRECT3DDEVICE9 iface) {
return
hr
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_EndStateBlock
(
LPDIRECT3DDEVICE9
iface
,
IDirect3DStateBlock9
**
ppSB
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_EndStateBlock
(
LPDIRECT3DDEVICE9
EX
iface
,
IDirect3DStateBlock9
**
ppSB
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hr
;
IWineD3DStateBlock
*
wineD3DStateBlock
;
...
...
dlls/d3d9/swapchain.c
View file @
c1a0037b
...
...
@@ -191,7 +191,7 @@ static const IDirect3DSwapChain9Vtbl Direct3DSwapChain9_Vtbl =
/* IDirect3DDevice9 IDirect3DSwapChain9 Methods follow: */
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateAdditionalSwapChain
(
LPDIRECT3DDEVICE9
iface
,
D3DPRESENT_PARAMETERS
*
pPresentationParameters
,
IDirect3DSwapChain9
**
pSwapChain
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateAdditionalSwapChain
(
LPDIRECT3DDEVICE9
EX
iface
,
D3DPRESENT_PARAMETERS
*
pPresentationParameters
,
IDirect3DSwapChain9
**
pSwapChain
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
IDirect3DSwapChain9Impl
*
object
;
HRESULT
hrc
=
D3D_OK
;
...
...
@@ -260,7 +260,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_CreateAdditionalSwapChain(LPDIRECT3DDEVICE
return
hrc
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_GetSwapChain
(
LPDIRECT3DDEVICE9
iface
,
UINT
iSwapChain
,
IDirect3DSwapChain9
**
pSwapChain
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_GetSwapChain
(
LPDIRECT3DDEVICE9
EX
iface
,
UINT
iSwapChain
,
IDirect3DSwapChain9
**
pSwapChain
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hrc
=
D3D_OK
;
IWineD3DSwapChain
*
swapchain
=
NULL
;
...
...
@@ -279,7 +279,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetSwapChain(LPDIRECT3DDEVICE9 iface, UINT
return
hrc
;
}
UINT
WINAPI
IDirect3DDevice9Impl_GetNumberOfSwapChains
(
LPDIRECT3DDEVICE9
iface
)
{
UINT
WINAPI
IDirect3DDevice9Impl_GetNumberOfSwapChains
(
LPDIRECT3DDEVICE9
EX
iface
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
UINT
ret
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
...
...
dlls/d3d9/texture.c
View file @
c1a0037b
...
...
@@ -327,7 +327,7 @@ static const IDirect3DTexture9Vtbl Direct3DTexture9_Vtbl =
/* IDirect3DDevice9 IDirect3DTexture9 Methods follow: */
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateTexture
(
LPDIRECT3DDEVICE9
iface
,
UINT
Width
,
UINT
Height
,
UINT
Levels
,
DWORD
Usage
,
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateTexture
(
LPDIRECT3DDEVICE9
EX
iface
,
UINT
Width
,
UINT
Height
,
UINT
Levels
,
DWORD
Usage
,
D3DFORMAT
Format
,
D3DPOOL
Pool
,
IDirect3DTexture9
**
ppTexture
,
HANDLE
*
pSharedHandle
)
{
IDirect3DTexture9Impl
*
object
;
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
...
...
dlls/d3d9/vertexbuffer.c
View file @
c1a0037b
...
...
@@ -207,7 +207,7 @@ static const IDirect3DVertexBuffer9Vtbl Direct3DVertexBuffer9_Vtbl =
/* IDirect3DDevice9 IDirect3DVertexBuffer9 Methods follow: */
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateVertexBuffer
(
LPDIRECT3DDEVICE9
iface
,
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateVertexBuffer
(
LPDIRECT3DDEVICE9
EX
iface
,
UINT
Size
,
DWORD
Usage
,
DWORD
FVF
,
D3DPOOL
Pool
,
IDirect3DVertexBuffer9
**
ppVertexBuffer
,
HANDLE
*
pSharedHandle
)
{
...
...
dlls/d3d9/vertexdeclaration.c
View file @
c1a0037b
...
...
@@ -231,7 +231,7 @@ static ULONG WINAPI IDirect3DVertexDeclaration9Impl_Release(LPDIRECT3DVERTEXDECL
TRACE
(
"(%p) : ReleaseRef to %d
\n
"
,
This
,
ref
);
if
(
ref
==
0
)
{
IDirect3DDevice9
*
parentDevice
=
This
->
parentDevice
;
IDirect3DDevice9
Ex
*
parentDevice
=
This
->
parentDevice
;
if
(
!
This
->
convFVF
)
{
IDirect3DVertexDeclaration9Impl_Release
(
iface
);
...
...
@@ -318,7 +318,7 @@ static UINT convert_to_wined3d_declaration(const D3DVERTEXELEMENT9* d3d9_element
}
/* IDirect3DDevice9 IDirect3DVertexDeclaration9 Methods follow: */
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateVertexDeclaration
(
LPDIRECT3DDEVICE9
iface
,
CONST
D3DVERTEXELEMENT9
*
pVertexElements
,
IDirect3DVertexDeclaration9
**
ppDecl
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateVertexDeclaration
(
LPDIRECT3DDEVICE9
EX
iface
,
CONST
D3DVERTEXELEMENT9
*
pVertexElements
,
IDirect3DVertexDeclaration9
**
ppDecl
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
IDirect3DVertexDeclaration9Impl
*
object
=
NULL
;
...
...
@@ -380,7 +380,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_CreateVertexDeclaration(LPDIRECT3DDEVICE9
return
hr
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_SetVertexDeclaration
(
LPDIRECT3DDEVICE9
iface
,
IDirect3DVertexDeclaration9
*
pDecl
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_SetVertexDeclaration
(
LPDIRECT3DDEVICE9
EX
iface
,
IDirect3DVertexDeclaration9
*
pDecl
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
IDirect3DVertexDeclaration9Impl
*
pDeclImpl
=
(
IDirect3DVertexDeclaration9Impl
*
)
pDecl
;
HRESULT
hr
=
D3D_OK
;
...
...
@@ -393,7 +393,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_SetVertexDeclaration(LPDIRECT3DDEVICE9 ifa
return
hr
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_GetVertexDeclaration
(
LPDIRECT3DDEVICE9
iface
,
IDirect3DVertexDeclaration9
**
ppDecl
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_GetVertexDeclaration
(
LPDIRECT3DDEVICE9
EX
iface
,
IDirect3DVertexDeclaration9
**
ppDecl
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
IWineD3DVertexDeclaration
*
pTest
=
NULL
;
HRESULT
hr
=
D3D_OK
;
...
...
dlls/d3d9/vertexshader.c
View file @
c1a0037b
...
...
@@ -109,7 +109,7 @@ static const IDirect3DVertexShader9Vtbl Direct3DVertexShader9_Vtbl =
/* IDirect3DDevice9 IDirect3DVertexShader9 Methods follow: */
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateVertexShader
(
LPDIRECT3DDEVICE9
iface
,
CONST
DWORD
*
pFunction
,
IDirect3DVertexShader9
**
ppShader
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateVertexShader
(
LPDIRECT3DDEVICE9
EX
iface
,
CONST
DWORD
*
pFunction
,
IDirect3DVertexShader9
**
ppShader
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hrc
=
D3D_OK
;
IDirect3DVertexShader9Impl
*
object
;
...
...
@@ -144,7 +144,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_CreateVertexShader(LPDIRECT3DDEVICE9 iface,
return
hrc
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_SetVertexShader
(
LPDIRECT3DDEVICE9
iface
,
IDirect3DVertexShader9
*
pShader
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_SetVertexShader
(
LPDIRECT3DDEVICE9
EX
iface
,
IDirect3DVertexShader9
*
pShader
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hrc
=
D3D_OK
;
...
...
@@ -157,7 +157,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_SetVertexShader(LPDIRECT3DDEVICE9 iface, IDi
return
hrc
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_GetVertexShader
(
LPDIRECT3DDEVICE9
iface
,
IDirect3DVertexShader9
**
ppShader
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_GetVertexShader
(
LPDIRECT3DDEVICE9
EX
iface
,
IDirect3DVertexShader9
**
ppShader
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
IWineD3DVertexShader
*
pShader
;
HRESULT
hrc
=
D3D_OK
;
...
...
@@ -176,7 +176,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetVertexShader(LPDIRECT3DDEVICE9 iface, IDi
return
hrc
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_SetVertexShaderConstantF
(
LPDIRECT3DDEVICE9
iface
,
UINT
Register
,
CONST
float
*
pConstantData
,
UINT
Vector4fCount
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_SetVertexShaderConstantF
(
LPDIRECT3DDEVICE9
EX
iface
,
UINT
Register
,
CONST
float
*
pConstantData
,
UINT
Vector4fCount
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hr
;
TRACE
(
"(%p) : Relay
\n
"
,
This
);
...
...
@@ -187,7 +187,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_SetVertexShaderConstantF(LPDIRECT3DDEVICE9 i
return
hr
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_GetVertexShaderConstantF
(
LPDIRECT3DDEVICE9
iface
,
UINT
Register
,
float
*
pConstantData
,
UINT
Vector4fCount
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_GetVertexShaderConstantF
(
LPDIRECT3DDEVICE9
EX
iface
,
UINT
Register
,
float
*
pConstantData
,
UINT
Vector4fCount
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hr
;
...
...
@@ -198,7 +198,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetVertexShaderConstantF(LPDIRECT3DDEVICE9 i
return
hr
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_SetVertexShaderConstantI
(
LPDIRECT3DDEVICE9
iface
,
UINT
Register
,
CONST
int
*
pConstantData
,
UINT
Vector4iCount
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_SetVertexShaderConstantI
(
LPDIRECT3DDEVICE9
EX
iface
,
UINT
Register
,
CONST
int
*
pConstantData
,
UINT
Vector4iCount
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hr
;
TRACE
(
"(%p) : Relay
\n
"
,
This
);
...
...
@@ -209,7 +209,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_SetVertexShaderConstantI(LPDIRECT3DDEVICE9 i
return
hr
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_GetVertexShaderConstantI
(
LPDIRECT3DDEVICE9
iface
,
UINT
Register
,
int
*
pConstantData
,
UINT
Vector4iCount
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_GetVertexShaderConstantI
(
LPDIRECT3DDEVICE9
EX
iface
,
UINT
Register
,
int
*
pConstantData
,
UINT
Vector4iCount
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hr
;
TRACE
(
"(%p) : Relay
\n
"
,
This
);
...
...
@@ -220,7 +220,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetVertexShaderConstantI(LPDIRECT3DDEVICE9 i
return
hr
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_SetVertexShaderConstantB
(
LPDIRECT3DDEVICE9
iface
,
UINT
Register
,
CONST
BOOL
*
pConstantData
,
UINT
BoolCount
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_SetVertexShaderConstantB
(
LPDIRECT3DDEVICE9
EX
iface
,
UINT
Register
,
CONST
BOOL
*
pConstantData
,
UINT
BoolCount
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hr
;
TRACE
(
"(%p) : Relay
\n
"
,
This
);
...
...
@@ -231,7 +231,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_SetVertexShaderConstantB(LPDIRECT3DDEVICE9 i
return
hr
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_GetVertexShaderConstantB
(
LPDIRECT3DDEVICE9
iface
,
UINT
Register
,
BOOL
*
pConstantData
,
UINT
BoolCount
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_GetVertexShaderConstantB
(
LPDIRECT3DDEVICE9
EX
iface
,
UINT
Register
,
BOOL
*
pConstantData
,
UINT
BoolCount
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hr
;
TRACE
(
"(%p) : Relay
\n
"
,
This
);
...
...
dlls/d3d9/volumetexture.c
View file @
c1a0037b
...
...
@@ -238,7 +238,7 @@ static const IDirect3DVolumeTexture9Vtbl Direct3DVolumeTexture9_Vtbl =
/* IDirect3DDevice9 IDirect3DVolumeTexture9 Methods follow: */
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateVolumeTexture
(
LPDIRECT3DDEVICE9
iface
,
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateVolumeTexture
(
LPDIRECT3DDEVICE9
EX
iface
,
UINT
Width
,
UINT
Height
,
UINT
Depth
,
UINT
Levels
,
DWORD
Usage
,
D3DFORMAT
Format
,
D3DPOOL
Pool
,
IDirect3DVolumeTexture9
**
ppVolumeTexture
,
HANDLE
*
pSharedHandle
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment