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
076fa811
Commit
076fa811
authored
Apr 15, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Apr 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add a method to change the front and back buffers.
parent
ffc8e46e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
device.c
dlls/wined3d/device.c
+6
-0
wined3d_interface.h
include/wine/wined3d_interface.h
+2
-0
No files found.
dlls/wined3d/device.c
View file @
076fa811
...
@@ -5963,6 +5963,11 @@ HRESULT WINAPI IWineD3DDeviceImpl_GetRenderTarget(IWineD3DDevice* iface,DWORD
...
@@ -5963,6 +5963,11 @@ HRESULT WINAPI IWineD3DDeviceImpl_GetRenderTarget(IWineD3DDevice* iface,DWORD
return
WINED3D_OK
;
return
WINED3D_OK
;
}
}
HRESULT
WINAPI
IWineD3DDeviceImpl_SetFrontBackBuffers
(
IWineD3DDevice
*
iface
,
IWineD3DSurface
*
Front
,
IWineD3DSurface
*
Back
)
{
FIXME
(
"This call is a d3d7 merge stub. It will be implemented later
\n
"
);
return
WINED3DERR_INVALIDCALL
;
}
HRESULT
WINAPI
IWineD3DDeviceImpl_GetDepthStencilSurface
(
IWineD3DDevice
*
iface
,
IWineD3DSurface
**
ppZStencilSurface
)
{
HRESULT
WINAPI
IWineD3DDeviceImpl_GetDepthStencilSurface
(
IWineD3DDevice
*
iface
,
IWineD3DSurface
**
ppZStencilSurface
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
*
ppZStencilSurface
=
This
->
depthStencilBuffer
;
*
ppZStencilSurface
=
This
->
depthStencilBuffer
;
...
@@ -6875,6 +6880,7 @@ const IWineD3DDeviceVtbl IWineD3DDevice_Vtbl =
...
@@ -6875,6 +6880,7 @@ const IWineD3DDeviceVtbl IWineD3DDevice_Vtbl =
IWineD3DDeviceImpl_GetRenderState
,
IWineD3DDeviceImpl_GetRenderState
,
IWineD3DDeviceImpl_SetRenderTarget
,
IWineD3DDeviceImpl_SetRenderTarget
,
IWineD3DDeviceImpl_GetRenderTarget
,
IWineD3DDeviceImpl_GetRenderTarget
,
IWineD3DDeviceImpl_SetFrontBackBuffers
,
IWineD3DDeviceImpl_SetSamplerState
,
IWineD3DDeviceImpl_SetSamplerState
,
IWineD3DDeviceImpl_GetSamplerState
,
IWineD3DDeviceImpl_GetSamplerState
,
IWineD3DDeviceImpl_SetScissorRect
,
IWineD3DDeviceImpl_SetScissorRect
,
...
...
include/wine/wined3d_interface.h
View file @
076fa811
...
@@ -425,6 +425,7 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase)
...
@@ -425,6 +425,7 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase)
STDMETHOD
(
GetRenderState
)(
THIS_
D3DRENDERSTATETYPE
State
,
DWORD
*
pValue
)
PURE
;
STDMETHOD
(
GetRenderState
)(
THIS_
D3DRENDERSTATETYPE
State
,
DWORD
*
pValue
)
PURE
;
STDMETHOD
(
SetRenderTarget
)(
THIS_
DWORD
RenderTargetIndex
,
struct
IWineD3DSurface
*
pRenderTarget
)
PURE
;
STDMETHOD
(
SetRenderTarget
)(
THIS_
DWORD
RenderTargetIndex
,
struct
IWineD3DSurface
*
pRenderTarget
)
PURE
;
STDMETHOD
(
GetRenderTarget
)(
THIS_
DWORD
RenderTargetIndex
,
struct
IWineD3DSurface
**
ppRenderTarget
)
PURE
;
STDMETHOD
(
GetRenderTarget
)(
THIS_
DWORD
RenderTargetIndex
,
struct
IWineD3DSurface
**
ppRenderTarget
)
PURE
;
STDMETHOD
(
SetFrontBackBuffers
)(
THIS_
struct
IWineD3DSurface
*
Front
,
struct
IWineD3DSurface
*
Back
)
PURE
;
STDMETHOD
(
SetSamplerState
)(
THIS_
DWORD
Sampler
,
WINED3DSAMPLERSTATETYPE
Type
,
DWORD
Value
)
PURE
;
STDMETHOD
(
SetSamplerState
)(
THIS_
DWORD
Sampler
,
WINED3DSAMPLERSTATETYPE
Type
,
DWORD
Value
)
PURE
;
STDMETHOD
(
GetSamplerState
)(
THIS_
DWORD
Sampler
,
WINED3DSAMPLERSTATETYPE
Type
,
DWORD
*
Value
)
PURE
;
STDMETHOD
(
GetSamplerState
)(
THIS_
DWORD
Sampler
,
WINED3DSAMPLERSTATETYPE
Type
,
DWORD
*
Value
)
PURE
;
STDMETHOD
(
SetScissorRect
)(
THIS_
CONST
RECT
*
pRect
)
PURE
;
STDMETHOD
(
SetScissorRect
)(
THIS_
CONST
RECT
*
pRect
)
PURE
;
...
@@ -566,6 +567,7 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase)
...
@@ -566,6 +567,7 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase)
#define IWineD3DDevice_GetRenderState(p,a,b) (p)->lpVtbl->GetRenderState(p,a,b)
#define IWineD3DDevice_GetRenderState(p,a,b) (p)->lpVtbl->GetRenderState(p,a,b)
#define IWineD3DDevice_SetRenderTarget(p,a,b) (p)->lpVtbl->SetRenderTarget(p,a,b)
#define IWineD3DDevice_SetRenderTarget(p,a,b) (p)->lpVtbl->SetRenderTarget(p,a,b)
#define IWineD3DDevice_GetRenderTarget(p,a,b) (p)->lpVtbl->GetRenderTarget(p,a,b)
#define IWineD3DDevice_GetRenderTarget(p,a,b) (p)->lpVtbl->GetRenderTarget(p,a,b)
#define IWineD3DDevice_SetFrontBackBuffers(p, a, b) (p)->lpVtbl->SetFrontBackBuffers(p,a,b);
#define IWineD3DDevice_SetSamplerState(p,a,b,c) (p)->lpVtbl->SetSamplerState(p,a,b,c)
#define IWineD3DDevice_SetSamplerState(p,a,b,c) (p)->lpVtbl->SetSamplerState(p,a,b,c)
#define IWineD3DDevice_GetSamplerState(p,a,b,c) (p)->lpVtbl->GetSamplerState(p,a,b,c)
#define IWineD3DDevice_GetSamplerState(p,a,b,c) (p)->lpVtbl->GetSamplerState(p,a,b,c)
#define IWineD3DDevice_SetScissorRect(p,a) (p)->lpVtbl->SetScissorRect(p,a)
#define IWineD3DDevice_SetScissorRect(p,a) (p)->lpVtbl->SetScissorRect(p,a)
...
...
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