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
8eccb01a
Commit
8eccb01a
authored
Dec 04, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Make some functions static.
parent
00e0d151
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
11 deletions
+6
-11
d3d9_private.h
dlls/d3d9/d3d9_private.h
+0
-5
device.c
dlls/d3d9/device.c
+6
-6
No files found.
dlls/d3d9/d3d9_private.h
View file @
8eccb01a
...
...
@@ -191,7 +191,6 @@ typedef struct IDirect3DDevice9Impl
/* IDirect3DDevice9: */
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_GetDirect3D
(
LPDIRECT3DDEVICE9EX
iface
,
IDirect3D9
**
ppD3D9
);
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateAdditionalSwapChain
(
LPDIRECT3DDEVICE9EX
iface
,
D3DPRESENT_PARAMETERS
*
pPresentationParameters
,
IDirect3DSwapChain9
**
pSwapChain
);
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_GetSwapChain
(
LPDIRECT3DDEVICE9EX
iface
,
UINT
iSwapChain
,
IDirect3DSwapChain9
**
pSwapChain
);
extern
UINT
WINAPI
IDirect3DDevice9Impl_GetNumberOfSwapChains
(
LPDIRECT3DDEVICE9EX
iface
);
...
...
@@ -206,8 +205,6 @@ extern HRESULT WINAPI IDirect3DDevice9Impl_EndStateBlock(LPDIRECT3DDEVICE9EX i
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateVertexDeclaration
(
LPDIRECT3DDEVICE9EX
iface
,
CONST
D3DVERTEXELEMENT9
*
pVertexElements
,
IDirect3DVertexDeclaration9
**
ppDecl
);
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_SetVertexDeclaration
(
LPDIRECT3DDEVICE9EX
iface
,
IDirect3DVertexDeclaration9
*
pDecl
);
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_GetVertexDeclaration
(
LPDIRECT3DDEVICE9EX
iface
,
IDirect3DVertexDeclaration9
**
ppDecl
);
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_SetFVF
(
LPDIRECT3DDEVICE9EX
iface
,
DWORD
FVF
);
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_GetFVF
(
LPDIRECT3DDEVICE9EX
iface
,
DWORD
*
pFVF
);
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_CreateVertexShader
(
LPDIRECT3DDEVICE9EX
iface
,
CONST
DWORD
*
pFunction
,
IDirect3DVertexShader9
**
ppShader
);
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_SetVertexShader
(
LPDIRECT3DDEVICE9EX
iface
,
IDirect3DVertexShader9
*
pShader
);
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_GetVertexShader
(
LPDIRECT3DDEVICE9EX
iface
,
IDirect3DVertexShader9
**
ppShader
);
...
...
@@ -217,8 +214,6 @@ extern HRESULT WINAPI IDirect3DDevice9Impl_SetVertexShaderConstantI(LPDIRECT3D
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_GetVertexShaderConstantI
(
LPDIRECT3DDEVICE9EX
iface
,
UINT
StartRegister
,
int
*
pConstantData
,
UINT
Vector4iCount
);
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_SetVertexShaderConstantB
(
LPDIRECT3DDEVICE9EX
iface
,
UINT
StartRegister
,
CONST
BOOL
*
pConstantData
,
UINT
BoolCount
);
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_GetVertexShaderConstantB
(
LPDIRECT3DDEVICE9EX
iface
,
UINT
StartRegister
,
BOOL
*
pConstantData
,
UINT
BoolCount
);
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_SetStreamSource
(
LPDIRECT3DDEVICE9EX
iface
,
UINT
StreamNumber
,
IDirect3DVertexBuffer9
*
pStreamData
,
UINT
OffsetInBytes
,
UINT
Stride
);
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_GetStreamSource
(
LPDIRECT3DDEVICE9EX
iface
,
UINT
StreamNumber
,
IDirect3DVertexBuffer9
**
ppStreamData
,
UINT
*
OffsetInBytes
,
UINT
*
pStride
);
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_CreatePixelShader
(
LPDIRECT3DDEVICE9EX
iface
,
CONST
DWORD
*
pFunction
,
IDirect3DPixelShader9
**
ppShader
);
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_SetPixelShader
(
LPDIRECT3DDEVICE9EX
iface
,
IDirect3DPixelShader9
*
pShader
);
extern
HRESULT
WINAPI
IDirect3DDevice9Impl_GetPixelShader
(
LPDIRECT3DDEVICE9EX
iface
,
IDirect3DPixelShader9
**
ppShader
);
...
...
dlls/d3d9/device.c
View file @
8eccb01a
...
...
@@ -142,7 +142,7 @@ static HRESULT WINAPI IDirect3DDevice9Impl_EvictManagedResources(LPDIRECT3DDEV
return
hr
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_GetDirect3D
(
LPDIRECT3DDEVICE9EX
iface
,
IDirect3D9
**
ppD3D9
)
{
static
HRESULT
WINAPI
IDirect3DDevice9Impl_GetDirect3D
(
LPDIRECT3DDEVICE9EX
iface
,
IDirect3D9
**
ppD3D9
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hr
=
D3D_OK
;
IWineD3D
*
pWineD3D
;
...
...
@@ -1235,7 +1235,7 @@ static HRESULT WINAPI IDirect3DDevice9Impl_ProcessVertices(LPDIRECT3DDEVICE9EX
return
hr
;
}
IDirect3DVertexDeclaration9
*
getConvertedDecl
(
IDirect3DDevice9Impl
*
This
,
DWORD
fvf
)
{
static
IDirect3DVertexDeclaration9
*
getConvertedDecl
(
IDirect3DDevice9Impl
*
This
,
DWORD
fvf
)
{
HRESULT
hr
;
D3DVERTEXELEMENT9
*
elements
=
NULL
;
IDirect3DVertexDeclaration9
*
pDecl
=
NULL
;
...
...
@@ -1292,7 +1292,7 @@ IDirect3DVertexDeclaration9 *getConvertedDecl(IDirect3DDevice9Impl *This, DWORD
return
pDecl
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_SetFVF
(
LPDIRECT3DDEVICE9EX
iface
,
DWORD
FVF
)
{
static
HRESULT
WINAPI
IDirect3DDevice9Impl_SetFVF
(
LPDIRECT3DDEVICE9EX
iface
,
DWORD
FVF
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hr
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
...
...
@@ -1320,7 +1320,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_SetFVF(LPDIRECT3DDEVICE9EX iface, DWORD FV
return
hr
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_GetFVF
(
LPDIRECT3DDEVICE9EX
iface
,
DWORD
*
pFVF
)
{
static
HRESULT
WINAPI
IDirect3DDevice9Impl_GetFVF
(
LPDIRECT3DDEVICE9EX
iface
,
DWORD
*
pFVF
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hr
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
...
...
@@ -1331,7 +1331,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetFVF(LPDIRECT3DDEVICE9EX iface, DWORD* p
return
hr
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_SetStreamSource
(
LPDIRECT3DDEVICE9EX
iface
,
UINT
StreamNumber
,
IDirect3DVertexBuffer9
*
pStreamData
,
UINT
OffsetInBytes
,
UINT
Stride
)
{
static
HRESULT
WINAPI
IDirect3DDevice9Impl_SetStreamSource
(
LPDIRECT3DDEVICE9EX
iface
,
UINT
StreamNumber
,
IDirect3DVertexBuffer9
*
pStreamData
,
UINT
OffsetInBytes
,
UINT
Stride
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hr
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
...
...
@@ -1344,7 +1344,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_SetStreamSource(LPDIRECT3DDEVICE9EX iface,
return
hr
;
}
HRESULT
WINAPI
IDirect3DDevice9Impl_GetStreamSource
(
LPDIRECT3DDEVICE9EX
iface
,
UINT
StreamNumber
,
IDirect3DVertexBuffer9
**
pStream
,
UINT
*
OffsetInBytes
,
UINT
*
pStride
)
{
static
HRESULT
WINAPI
IDirect3DDevice9Impl_GetStreamSource
(
LPDIRECT3DDEVICE9EX
iface
,
UINT
StreamNumber
,
IDirect3DVertexBuffer9
**
pStream
,
UINT
*
OffsetInBytes
,
UINT
*
pStride
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
IWineD3DVertexBuffer
*
retStream
=
NULL
;
HRESULT
rc
=
D3D_OK
;
...
...
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