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
092b51e8
Commit
092b51e8
authored
Oct 28, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Rename CreateAdditionalSwapChain to CreateSwapChain.
parent
3eb35385
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
20 deletions
+20
-20
device.c
dlls/d3d8/device.c
+2
-2
swapchain.c
dlls/d3d9/swapchain.c
+2
-2
ddraw.c
dlls/ddraw/ddraw.c
+3
-3
device.c
dlls/wined3d/device.c
+8
-8
wined3d_interface.h
include/wine/wined3d_interface.h
+5
-5
No files found.
dlls/d3d8/device.c
View file @
092b51e8
...
@@ -307,7 +307,7 @@ static HRESULT WINAPI IDirect3DDevice8Impl_CreateAdditionalSwapChain(LPDIRECT3DD
...
@@ -307,7 +307,7 @@ static HRESULT WINAPI IDirect3DDevice8Impl_CreateAdditionalSwapChain(LPDIRECT3DD
localParameters
.
PresentationInterval
=
pPresentationParameters
->
FullScreen_PresentationInterval
;
localParameters
.
PresentationInterval
=
pPresentationParameters
->
FullScreen_PresentationInterval
;
EnterCriticalSection
(
&
d3d8_cs
);
EnterCriticalSection
(
&
d3d8_cs
);
hrc
=
IWineD3DDevice_Create
Additional
SwapChain
(
This
->
WineD3DDevice
,
&
localParameters
,
&
object
->
wineD3DSwapChain
,
(
IUnknown
*
)
object
,
D3D8CB_CreateRenderTarget
,
D3D8CB_CreateDepthStencilSurface
,
SURFACE_OPENGL
);
hrc
=
IWineD3DDevice_CreateSwapChain
(
This
->
WineD3DDevice
,
&
localParameters
,
&
object
->
wineD3DSwapChain
,
(
IUnknown
*
)
object
,
D3D8CB_CreateRenderTarget
,
D3D8CB_CreateDepthStencilSurface
,
SURFACE_OPENGL
);
LeaveCriticalSection
(
&
d3d8_cs
);
LeaveCriticalSection
(
&
d3d8_cs
);
pPresentationParameters
->
BackBufferWidth
=
localParameters
.
BackBufferWidth
;
pPresentationParameters
->
BackBufferWidth
=
localParameters
.
BackBufferWidth
;
...
@@ -325,7 +325,7 @@ static HRESULT WINAPI IDirect3DDevice8Impl_CreateAdditionalSwapChain(LPDIRECT3DD
...
@@ -325,7 +325,7 @@ static HRESULT WINAPI IDirect3DDevice8Impl_CreateAdditionalSwapChain(LPDIRECT3DD
pPresentationParameters
->
FullScreen_PresentationInterval
=
localParameters
.
PresentationInterval
;
pPresentationParameters
->
FullScreen_PresentationInterval
=
localParameters
.
PresentationInterval
;
if
(
hrc
!=
D3D_OK
)
{
if
(
hrc
!=
D3D_OK
)
{
FIXME
(
"(%p) call to IWineD3DDevice_Create
Additional
SwapChain failed
\n
"
,
This
);
FIXME
(
"(%p) call to IWineD3DDevice_CreateSwapChain failed
\n
"
,
This
);
HeapFree
(
GetProcessHeap
(),
0
,
object
);
HeapFree
(
GetProcessHeap
(),
0
,
object
);
*
pSwapChain
=
NULL
;
*
pSwapChain
=
NULL
;
}
else
{
}
else
{
...
...
dlls/d3d9/swapchain.c
View file @
092b51e8
...
@@ -229,7 +229,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_CreateAdditionalSwapChain(LPDIRECT3DDEVICE
...
@@ -229,7 +229,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_CreateAdditionalSwapChain(LPDIRECT3DDEVICE
localParameters
.
PresentationInterval
=
pPresentationParameters
->
PresentationInterval
;
localParameters
.
PresentationInterval
=
pPresentationParameters
->
PresentationInterval
;
EnterCriticalSection
(
&
d3d9_cs
);
EnterCriticalSection
(
&
d3d9_cs
);
hrc
=
IWineD3DDevice_Create
Additional
SwapChain
(
This
->
WineD3DDevice
,
&
localParameters
,
&
object
->
wineD3DSwapChain
,
(
IUnknown
*
)
object
,
D3D9CB_CreateRenderTarget
,
D3D9CB_CreateDepthStencilSurface
,
SURFACE_OPENGL
);
hrc
=
IWineD3DDevice_CreateSwapChain
(
This
->
WineD3DDevice
,
&
localParameters
,
&
object
->
wineD3DSwapChain
,
(
IUnknown
*
)
object
,
D3D9CB_CreateRenderTarget
,
D3D9CB_CreateDepthStencilSurface
,
SURFACE_OPENGL
);
LeaveCriticalSection
(
&
d3d9_cs
);
LeaveCriticalSection
(
&
d3d9_cs
);
pPresentationParameters
->
BackBufferWidth
=
localParameters
.
BackBufferWidth
;
pPresentationParameters
->
BackBufferWidth
=
localParameters
.
BackBufferWidth
;
...
@@ -248,7 +248,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_CreateAdditionalSwapChain(LPDIRECT3DDEVICE
...
@@ -248,7 +248,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_CreateAdditionalSwapChain(LPDIRECT3DDEVICE
pPresentationParameters
->
PresentationInterval
=
localParameters
.
PresentationInterval
;
pPresentationParameters
->
PresentationInterval
=
localParameters
.
PresentationInterval
;
if
(
hrc
!=
D3D_OK
)
{
if
(
hrc
!=
D3D_OK
)
{
FIXME
(
"(%p) call to IWineD3DDevice_Create
Additional
SwapChain failed
\n
"
,
This
);
FIXME
(
"(%p) call to IWineD3DDevice_CreateSwapChain failed
\n
"
,
This
);
HeapFree
(
GetProcessHeap
(),
0
,
object
);
HeapFree
(
GetProcessHeap
(),
0
,
object
);
}
else
{
}
else
{
IUnknown_AddRef
(
iface
);
IUnknown_AddRef
(
iface
);
...
...
dlls/ddraw/ddraw.c
View file @
092b51e8
...
@@ -3184,7 +3184,7 @@ D3D7CB_CreateAdditionalSwapChain(IUnknown *device,
...
@@ -3184,7 +3184,7 @@ D3D7CB_CreateAdditionalSwapChain(IUnknown *device,
ICOM_INIT_INTERFACE
(
object
,
IParent
,
IParent_Vtbl
);
ICOM_INIT_INTERFACE
(
object
,
IParent
,
IParent_Vtbl
);
object
->
ref
=
1
;
object
->
ref
=
1
;
res
=
IWineD3DDevice_Create
Additional
SwapChain
(
This
->
wineD3DDevice
,
res
=
IWineD3DDevice_CreateSwapChain
(
This
->
wineD3DDevice
,
pPresentationParameters
,
pPresentationParameters
,
&
swapchain
,
&
swapchain
,
(
IUnknown
*
)
ICOM_INTERFACE
(
object
,
IParent
),
(
IUnknown
*
)
ICOM_INTERFACE
(
object
,
IParent
),
...
@@ -3193,7 +3193,7 @@ D3D7CB_CreateAdditionalSwapChain(IUnknown *device,
...
@@ -3193,7 +3193,7 @@ D3D7CB_CreateAdditionalSwapChain(IUnknown *device,
This
->
ImplType
);
This
->
ImplType
);
if
(
res
!=
D3D_OK
)
if
(
res
!=
D3D_OK
)
{
{
FIXME
(
"(%p) call to IWineD3DDevice_Create
Additional
SwapChain failed
\n
"
,
This
);
FIXME
(
"(%p) call to IWineD3DDevice_CreateSwapChain failed
\n
"
,
This
);
HeapFree
(
GetProcessHeap
(),
0
,
object
);
HeapFree
(
GetProcessHeap
(),
0
,
object
);
*
ppSwapChain
=
NULL
;
*
ppSwapChain
=
NULL
;
}
}
...
@@ -3248,7 +3248,7 @@ static HRESULT WINAPI IDirectDrawImpl_CreateGDISwapChain(IDirectDrawImpl *This,
...
@@ -3248,7 +3248,7 @@ static HRESULT WINAPI IDirectDrawImpl_CreateGDISwapChain(IDirectDrawImpl *This,
if
(
hr
!=
D3D_OK
)
if
(
hr
!=
D3D_OK
)
{
{
FIXME
(
"(%p) call to IWineD3DDevice_
CreateAdditionalSwapChain
failed
\n
"
,
This
);
FIXME
(
"(%p) call to IWineD3DDevice_
InitGDI
failed
\n
"
,
This
);
primary
->
wineD3DSwapChain
=
NULL
;
primary
->
wineD3DSwapChain
=
NULL
;
}
}
return
hr
;
return
hr
;
...
...
dlls/wined3d/device.c
View file @
092b51e8
...
@@ -1391,7 +1391,7 @@ static void WINAPI IWineD3DDeviceImpl_RestoreWindow(IWineD3DDevice *iface, HWND
...
@@ -1391,7 +1391,7 @@ static void WINAPI IWineD3DDeviceImpl_RestoreWindow(IWineD3DDevice *iface, HWND
}
}
/* example at http://www.fairyengine.com/articles/dxmultiviews.htm */
/* example at http://www.fairyengine.com/articles/dxmultiviews.htm */
static
HRESULT
WINAPI
IWineD3DDeviceImpl_Create
Additional
SwapChain
(
IWineD3DDevice
*
iface
,
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
,
IWineD3DSwapChain
**
ppSwapChain
,
static
HRESULT
WINAPI
IWineD3DDeviceImpl_CreateSwapChain
(
IWineD3DDevice
*
iface
,
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
,
IWineD3DSwapChain
**
ppSwapChain
,
IUnknown
*
parent
,
IUnknown
*
parent
,
D3DCB_CREATERENDERTARGETFN
D3DCB_CreateRenderTarget
,
D3DCB_CREATERENDERTARGETFN
D3DCB_CreateRenderTarget
,
D3DCB_CREATEDEPTHSTENCILSURFACEFN
D3DCB_CreateDepthStencil
,
D3DCB_CREATEDEPTHSTENCILSURFACEFN
D3DCB_CreateDepthStencil
,
...
@@ -2069,14 +2069,14 @@ static void create_dummy_textures(IWineD3DDeviceImpl *This) {
...
@@ -2069,14 +2069,14 @@ static void create_dummy_textures(IWineD3DDeviceImpl *This) {
LEAVE_GL
();
LEAVE_GL
();
}
}
static
HRESULT
WINAPI
IWineD3DDeviceImpl_Init3D
(
IWineD3DDevice
*
iface
,
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
,
D3DCB_CREATE
ADDITIONALSWAPCHAIN
D3DCB_CreateAdditional
SwapChain
)
{
static
HRESULT
WINAPI
IWineD3DDeviceImpl_Init3D
(
IWineD3DDevice
*
iface
,
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
,
D3DCB_CREATE
SWAPCHAIN
D3DCB_Create
SwapChain
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
IWineD3DSwapChainImpl
*
swapchain
=
NULL
;
IWineD3DSwapChainImpl
*
swapchain
=
NULL
;
HRESULT
hr
;
HRESULT
hr
;
DWORD
state
;
DWORD
state
;
unsigned
int
i
;
unsigned
int
i
;
TRACE
(
"(%p)->(%p,%p)
\n
"
,
This
,
pPresentationParameters
,
D3DCB_Create
Additional
SwapChain
);
TRACE
(
"(%p)->(%p,%p)
\n
"
,
This
,
pPresentationParameters
,
D3DCB_CreateSwapChain
);
if
(
This
->
d3d_initialized
)
return
WINED3DERR_INVALIDCALL
;
if
(
This
->
d3d_initialized
)
return
WINED3DERR_INVALIDCALL
;
if
(
!
This
->
adapter
->
opengl
)
return
WINED3DERR_INVALIDCALL
;
if
(
!
This
->
adapter
->
opengl
)
return
WINED3DERR_INVALIDCALL
;
...
@@ -2136,7 +2136,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Init3D(IWineD3DDevice *iface, WINED3DPR
...
@@ -2136,7 +2136,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Init3D(IWineD3DDevice *iface, WINED3DPR
/* Setup the implicit swapchain */
/* Setup the implicit swapchain */
TRACE
(
"Creating implicit swapchain
\n
"
);
TRACE
(
"Creating implicit swapchain
\n
"
);
hr
=
D3DCB_Create
Additional
SwapChain
(
This
->
parent
,
pPresentationParameters
,
(
IWineD3DSwapChain
**
)
&
swapchain
);
hr
=
D3DCB_CreateSwapChain
(
This
->
parent
,
pPresentationParameters
,
(
IWineD3DSwapChain
**
)
&
swapchain
);
if
(
FAILED
(
hr
)
||
!
swapchain
)
{
if
(
FAILED
(
hr
)
||
!
swapchain
)
{
WARN
(
"Failed to create implicit swapchain
\n
"
);
WARN
(
"Failed to create implicit swapchain
\n
"
);
goto
err_out
;
goto
err_out
;
...
@@ -2275,14 +2275,14 @@ err_out:
...
@@ -2275,14 +2275,14 @@ err_out:
return
hr
;
return
hr
;
}
}
static
HRESULT
WINAPI
IWineD3DDeviceImpl_InitGDI
(
IWineD3DDevice
*
iface
,
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
,
D3DCB_CREATE
ADDITIONALSWAPCHAIN
D3DCB_CreateAdditional
SwapChain
)
{
static
HRESULT
WINAPI
IWineD3DDeviceImpl_InitGDI
(
IWineD3DDevice
*
iface
,
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
,
D3DCB_CREATE
SWAPCHAIN
D3DCB_Create
SwapChain
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
IWineD3DSwapChainImpl
*
swapchain
=
NULL
;
IWineD3DSwapChainImpl
*
swapchain
=
NULL
;
HRESULT
hr
;
HRESULT
hr
;
/* Setup the implicit swapchain */
/* Setup the implicit swapchain */
TRACE
(
"Creating implicit swapchain
\n
"
);
TRACE
(
"Creating implicit swapchain
\n
"
);
hr
=
D3DCB_Create
Additional
SwapChain
(
This
->
parent
,
pPresentationParameters
,
(
IWineD3DSwapChain
**
)
&
swapchain
);
hr
=
D3DCB_CreateSwapChain
(
This
->
parent
,
pPresentationParameters
,
(
IWineD3DSwapChain
**
)
&
swapchain
);
if
(
FAILED
(
hr
)
||
!
swapchain
)
{
if
(
FAILED
(
hr
)
||
!
swapchain
)
{
WARN
(
"Failed to create implicit swapchain
\n
"
);
WARN
(
"Failed to create implicit swapchain
\n
"
);
goto
err_out
;
goto
err_out
;
...
@@ -7497,7 +7497,7 @@ const IWineD3DDeviceVtbl IWineD3DDevice_Vtbl =
...
@@ -7497,7 +7497,7 @@ const IWineD3DDeviceVtbl IWineD3DDevice_Vtbl =
IWineD3DDeviceImpl_CreateVolume
,
IWineD3DDeviceImpl_CreateVolume
,
IWineD3DDeviceImpl_CreateCubeTexture
,
IWineD3DDeviceImpl_CreateCubeTexture
,
IWineD3DDeviceImpl_CreateQuery
,
IWineD3DDeviceImpl_CreateQuery
,
IWineD3DDeviceImpl_Create
Additional
SwapChain
,
IWineD3DDeviceImpl_CreateSwapChain
,
IWineD3DDeviceImpl_CreateVertexDeclaration
,
IWineD3DDeviceImpl_CreateVertexDeclaration
,
IWineD3DDeviceImpl_CreateVertexDeclarationFromFVF
,
IWineD3DDeviceImpl_CreateVertexDeclarationFromFVF
,
IWineD3DDeviceImpl_CreateVertexShader
,
IWineD3DDeviceImpl_CreateVertexShader
,
...
@@ -7642,7 +7642,7 @@ const IWineD3DDeviceVtbl IWineD3DDevice_DirtyConst_Vtbl =
...
@@ -7642,7 +7642,7 @@ const IWineD3DDeviceVtbl IWineD3DDevice_DirtyConst_Vtbl =
IWineD3DDeviceImpl_CreateVolume
,
IWineD3DDeviceImpl_CreateVolume
,
IWineD3DDeviceImpl_CreateCubeTexture
,
IWineD3DDeviceImpl_CreateCubeTexture
,
IWineD3DDeviceImpl_CreateQuery
,
IWineD3DDeviceImpl_CreateQuery
,
IWineD3DDeviceImpl_Create
Additional
SwapChain
,
IWineD3DDeviceImpl_CreateSwapChain
,
IWineD3DDeviceImpl_CreateVertexDeclaration
,
IWineD3DDeviceImpl_CreateVertexDeclaration
,
IWineD3DDeviceImpl_CreateVertexDeclarationFromFVF
,
IWineD3DDeviceImpl_CreateVertexDeclarationFromFVF
,
IWineD3DDeviceImpl_CreateVertexShader
,
IWineD3DDeviceImpl_CreateVertexShader
,
...
...
include/wine/wined3d_interface.h
View file @
092b51e8
...
@@ -243,7 +243,7 @@ typedef HRESULT (WINAPI *D3DCB_CREATEVOLUMEFN) (IUnknown *pDevice,
...
@@ -243,7 +243,7 @@ typedef HRESULT (WINAPI *D3DCB_CREATEVOLUMEFN) (IUnknown *pDevice,
struct
IWineD3DVolume
**
ppVolume
,
struct
IWineD3DVolume
**
ppVolume
,
HANDLE
*
pSharedHandle
);
HANDLE
*
pSharedHandle
);
typedef
HRESULT
(
WINAPI
*
D3DCB_CREATE
ADDITIONAL
SWAPCHAIN
)
(
IUnknown
*
pDevice
,
typedef
HRESULT
(
WINAPI
*
D3DCB_CREATESWAPCHAIN
)
(
IUnknown
*
pDevice
,
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
,
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
,
struct
IWineD3DSwapChain
**
pSwapChain
struct
IWineD3DSwapChain
**
pSwapChain
);
);
...
@@ -367,14 +367,14 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase)
...
@@ -367,14 +367,14 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase)
STDMETHOD
(
CreateVolume
)(
THIS_
UINT
Width
,
UINT
Height
,
UINT
Depth
,
DWORD
Usage
,
WINED3DFORMAT
Format
,
WINED3DPOOL
Pool
,
struct
IWineD3DVolume
**
ppVolumeTexture
,
HANDLE
*
pSharedHandle
,
IUnknown
*
parent
)
PURE
;
STDMETHOD
(
CreateVolume
)(
THIS_
UINT
Width
,
UINT
Height
,
UINT
Depth
,
DWORD
Usage
,
WINED3DFORMAT
Format
,
WINED3DPOOL
Pool
,
struct
IWineD3DVolume
**
ppVolumeTexture
,
HANDLE
*
pSharedHandle
,
IUnknown
*
parent
)
PURE
;
STDMETHOD
(
CreateCubeTexture
)(
THIS_
UINT
EdgeLength
,
UINT
Levels
,
DWORD
Usage
,
WINED3DFORMAT
Format
,
WINED3DPOOL
Pool
,
struct
IWineD3DCubeTexture
**
ppCubeTexture
,
HANDLE
*
pSharedHandle
,
IUnknown
*
parent
,
D3DCB_CREATESURFACEFN
pFn
)
PURE
;
STDMETHOD
(
CreateCubeTexture
)(
THIS_
UINT
EdgeLength
,
UINT
Levels
,
DWORD
Usage
,
WINED3DFORMAT
Format
,
WINED3DPOOL
Pool
,
struct
IWineD3DCubeTexture
**
ppCubeTexture
,
HANDLE
*
pSharedHandle
,
IUnknown
*
parent
,
D3DCB_CREATESURFACEFN
pFn
)
PURE
;
STDMETHOD
(
CreateQuery
)(
THIS_
WINED3DQUERYTYPE
Type
,
struct
IWineD3DQuery
**
ppQuery
,
IUnknown
*
pParent
);
STDMETHOD
(
CreateQuery
)(
THIS_
WINED3DQUERYTYPE
Type
,
struct
IWineD3DQuery
**
ppQuery
,
IUnknown
*
pParent
);
STDMETHOD
(
Create
Additional
SwapChain
)(
THIS_
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
,
struct
IWineD3DSwapChain
**
pSwapChain
,
IUnknown
*
pParent
,
D3DCB_CREATERENDERTARGETFN
pFn
,
D3DCB_CREATEDEPTHSTENCILSURFACEFN
pFn2
,
WINED3DSURFTYPE
surface_type
);
STDMETHOD
(
CreateSwapChain
)(
THIS_
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
,
struct
IWineD3DSwapChain
**
pSwapChain
,
IUnknown
*
pParent
,
D3DCB_CREATERENDERTARGETFN
pFn
,
D3DCB_CREATEDEPTHSTENCILSURFACEFN
pFn2
,
WINED3DSURFTYPE
surface_type
);
STDMETHOD
(
CreateVertexDeclaration
)(
THIS_
struct
IWineD3DVertexDeclaration
**
ppDecl
,
IUnknown
*
pParent
,
const
WINED3DVERTEXELEMENT
*
elements
,
UINT
element_count
)
PURE
;
STDMETHOD
(
CreateVertexDeclaration
)(
THIS_
struct
IWineD3DVertexDeclaration
**
ppDecl
,
IUnknown
*
pParent
,
const
WINED3DVERTEXELEMENT
*
elements
,
UINT
element_count
)
PURE
;
STDMETHOD
(
CreateVertexDeclarationFromFVF
)(
THIS_
struct
IWineD3DVertexDeclaration
**
ppDecl
,
IUnknown
*
pParent
,
DWORD
Fvf
)
PURE
;
STDMETHOD
(
CreateVertexDeclarationFromFVF
)(
THIS_
struct
IWineD3DVertexDeclaration
**
ppDecl
,
IUnknown
*
pParent
,
DWORD
Fvf
)
PURE
;
STDMETHOD
(
CreateVertexShader
)(
THIS_
struct
IWineD3DVertexDeclaration
*
vertex_declaration
,
CONST
DWORD
*
pFunction
,
struct
IWineD3DVertexShader
**
ppShader
,
IUnknown
*
pParent
)
PURE
;
STDMETHOD
(
CreateVertexShader
)(
THIS_
struct
IWineD3DVertexDeclaration
*
vertex_declaration
,
CONST
DWORD
*
pFunction
,
struct
IWineD3DVertexShader
**
ppShader
,
IUnknown
*
pParent
)
PURE
;
STDMETHOD
(
CreatePixelShader
)(
THIS_
CONST
DWORD
*
pFunction
,
struct
IWineD3DPixelShader
**
ppShader
,
IUnknown
*
pParent
)
PURE
;
STDMETHOD
(
CreatePixelShader
)(
THIS_
CONST
DWORD
*
pFunction
,
struct
IWineD3DPixelShader
**
ppShader
,
IUnknown
*
pParent
)
PURE
;
STDMETHOD_
(
HRESULT
,
CreatePalette
)(
THIS_
DWORD
Flags
,
PALETTEENTRY
*
PalEnt
,
struct
IWineD3DPalette
**
Palette
,
IUnknown
*
Parent
);
STDMETHOD_
(
HRESULT
,
CreatePalette
)(
THIS_
DWORD
Flags
,
PALETTEENTRY
*
PalEnt
,
struct
IWineD3DPalette
**
Palette
,
IUnknown
*
Parent
);
STDMETHOD
(
Init3D
)(
THIS_
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
,
D3DCB_CREATE
ADDITIONALSWAPCHAIN
D3DCB_CreateAdditional
SwapChain
);
STDMETHOD
(
Init3D
)(
THIS_
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
,
D3DCB_CREATE
SWAPCHAIN
D3DCB_Create
SwapChain
);
STDMETHOD
(
InitGDI
)(
THIS_
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
,
D3DCB_CREATE
ADDITIONALSWAPCHAIN
D3DCB_CreateAdditional
SwapChain
);
STDMETHOD
(
InitGDI
)(
THIS_
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
,
D3DCB_CREATE
SWAPCHAIN
D3DCB_Create
SwapChain
);
STDMETHOD
(
Uninit3D
)(
THIS
,
D3DCB_DESTROYSURFACEFN
pFn
,
D3DCB_DESTROYSWAPCHAINFN
pFn2
);
STDMETHOD
(
Uninit3D
)(
THIS
,
D3DCB_DESTROYSURFACEFN
pFn
,
D3DCB_DESTROYSWAPCHAINFN
pFn2
);
STDMETHOD
(
UninitGDI
)(
THIS
,
D3DCB_DESTROYSWAPCHAINFN
pFn2
);
STDMETHOD
(
UninitGDI
)(
THIS
,
D3DCB_DESTROYSWAPCHAINFN
pFn2
);
STDMETHOD_
(
void
,
SetMultithreaded
)(
THIS
);
STDMETHOD_
(
void
,
SetMultithreaded
)(
THIS
);
...
@@ -507,7 +507,7 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase)
...
@@ -507,7 +507,7 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase)
#define IWineD3DDevice_CreateVolume(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CreateVolume(p,a,b,c,d,e,f,g,h,i)
#define IWineD3DDevice_CreateVolume(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CreateVolume(p,a,b,c,d,e,f,g,h,i)
#define IWineD3DDevice_CreateCubeTexture(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CreateCubeTexture(p,a,b,c,d,e,f,g,h,i)
#define IWineD3DDevice_CreateCubeTexture(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CreateCubeTexture(p,a,b,c,d,e,f,g,h,i)
#define IWineD3DDevice_CreateQuery(p,a,b,c) (p)->lpVtbl->CreateQuery(p,a,b,c)
#define IWineD3DDevice_CreateQuery(p,a,b,c) (p)->lpVtbl->CreateQuery(p,a,b,c)
#define IWineD3DDevice_Create
AdditionalSwapChain(p,a,b,c,d,e,f) (p)->lpVtbl->CreateAdditional
SwapChain(p,a,b,c,d,e,f)
#define IWineD3DDevice_Create
SwapChain(p,a,b,c,d,e,f) (p)->lpVtbl->Create
SwapChain(p,a,b,c,d,e,f)
#define IWineD3DDevice_CreateVertexDeclaration(p,a,b,c,d) (p)->lpVtbl->CreateVertexDeclaration(p,a,b,c,d)
#define IWineD3DDevice_CreateVertexDeclaration(p,a,b,c,d) (p)->lpVtbl->CreateVertexDeclaration(p,a,b,c,d)
#define IWineD3DDevice_CreateVertexDeclarationFromFVF(p,a,b,c) (p)->lpVtbl->CreateVertexDeclarationFromFVF(p,a,b,c)
#define IWineD3DDevice_CreateVertexDeclarationFromFVF(p,a,b,c) (p)->lpVtbl->CreateVertexDeclarationFromFVF(p,a,b,c)
#define IWineD3DDevice_CreateVertexShader(p,a,b,c,d) (p)->lpVtbl->CreateVertexShader(p,a,b,c,d)
#define IWineD3DDevice_CreateVertexShader(p,a,b,c,d) (p)->lpVtbl->CreateVertexShader(p,a,b,c,d)
...
...
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