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
0ad31f81
Commit
0ad31f81
authored
Apr 01, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Apr 03, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add WINED3DBACKBUFFER_TYPE to wined3d_types.h.
parent
fce54bcc
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
16 additions
and
8 deletions
+16
-8
device.c
dlls/d3d8/device.c
+1
-1
swapchain.c
dlls/d3d8/swapchain.c
+1
-1
device.c
dlls/d3d9/device.c
+1
-1
swapchain.c
dlls/d3d9/swapchain.c
+1
-1
device.c
dlls/wined3d/device.c
+1
-1
swapchain.c
dlls/wined3d/swapchain.c
+1
-1
wined3d_interface.h
include/wine/wined3d_interface.h
+2
-2
wined3d_types.h
include/wine/wined3d_types.h
+8
-0
No files found.
dlls/d3d8/device.c
View file @
0ad31f81
...
...
@@ -254,7 +254,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_GetBackBuffer(LPDIRECT3DDEVICE8 iface, UINT
TRACE
(
"(%p) Relay
\n
"
,
This
);
rc
=
IWineD3DDevice_GetBackBuffer
(
This
->
WineD3DDevice
,
0
,
BackBuffer
,
Type
,
(
IWineD3DSurface
**
)
&
retSurface
);
rc
=
IWineD3DDevice_GetBackBuffer
(
This
->
WineD3DDevice
,
0
,
BackBuffer
,
(
WINED3DBACKBUFFER_TYPE
)
Type
,
(
IWineD3DSurface
**
)
&
retSurface
);
if
(
rc
==
D3D_OK
&&
NULL
!=
retSurface
&&
NULL
!=
ppBackBuffer
)
{
IWineD3DSurface_GetParent
(
retSurface
,
(
IUnknown
**
)
ppBackBuffer
);
IWineD3DSurface_Release
(
retSurface
);
...
...
dlls/d3d8/swapchain.c
View file @
0ad31f81
...
...
@@ -75,7 +75,7 @@ HRESULT WINAPI IDirect3DSwapChain8Impl_GetBackBuffer(LPDIRECT3DSWAPCHAIN8 iface,
TRACE
(
"(%p) Relay
\n
"
,
This
);
hrc
=
IWineD3DSwapChain_GetBackBuffer
(
This
->
wineD3DSwapChain
,
iBackBuffer
,
Type
,
&
mySurface
);
hrc
=
IWineD3DSwapChain_GetBackBuffer
(
This
->
wineD3DSwapChain
,
iBackBuffer
,
(
WINED3DBACKBUFFER_TYPE
)
Type
,
&
mySurface
);
if
(
hrc
==
D3D_OK
&&
NULL
!=
mySurface
)
{
IWineD3DSurface_GetParent
(
mySurface
,
(
IUnknown
**
)
ppBackBuffer
);
IWineD3DSurface_Release
(
mySurface
);
...
...
dlls/d3d9/device.c
View file @
0ad31f81
...
...
@@ -197,7 +197,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetBackBuffer(LPDIRECT3DDEVICE9 iface, UIN
TRACE
(
"(%p) Relay
\n
"
,
This
);
rc
=
IWineD3DDevice_GetBackBuffer
(
This
->
WineD3DDevice
,
iSwapChain
,
BackBuffer
,
Type
,
(
IWineD3DSurface
**
)
&
retSurface
);
rc
=
IWineD3DDevice_GetBackBuffer
(
This
->
WineD3DDevice
,
iSwapChain
,
BackBuffer
,
(
WINED3DBACKBUFFER_TYPE
)
Type
,
(
IWineD3DSurface
**
)
&
retSurface
);
if
(
rc
==
D3D_OK
&&
NULL
!=
retSurface
&&
NULL
!=
ppBackBuffer
)
{
IWineD3DSurface_GetParent
(
retSurface
,
(
IUnknown
**
)
ppBackBuffer
);
IWineD3DSurface_Release
(
retSurface
);
...
...
dlls/d3d9/swapchain.c
View file @
0ad31f81
...
...
@@ -83,7 +83,7 @@ HRESULT WINAPI IDirect3DSwapChain9Impl_GetBackBuffer(LPDIRECT3DSWAPCHAIN9 iface,
TRACE
(
"(%p) Relay
\n
"
,
This
);
hrc
=
IWineD3DSwapChain_GetBackBuffer
(
This
->
wineD3DSwapChain
,
iBackBuffer
,
Type
,
&
mySurface
);
hrc
=
IWineD3DSwapChain_GetBackBuffer
(
This
->
wineD3DSwapChain
,
iBackBuffer
,
(
WINED3DBACKBUFFER_TYPE
)
Type
,
&
mySurface
);
if
(
hrc
==
D3D_OK
&&
NULL
!=
mySurface
)
{
IWineD3DSurface_GetParent
(
mySurface
,
(
IUnknown
**
)
ppBackBuffer
);
IWineD3DSurface_Release
(
mySurface
);
...
...
dlls/wined3d/device.c
View file @
0ad31f81
...
...
@@ -4740,7 +4740,7 @@ HRESULT WINAPI IWineD3DDeviceImpl_GetTexture(IWineD3DDevice *iface, DWORD Stage,
/*****
* Get Back Buffer
*****/
HRESULT
WINAPI
IWineD3DDeviceImpl_GetBackBuffer
(
IWineD3DDevice
*
iface
,
UINT
iSwapChain
,
UINT
BackBuffer
,
D3DBACKBUFFER_TYPE
Type
,
HRESULT
WINAPI
IWineD3DDeviceImpl_GetBackBuffer
(
IWineD3DDevice
*
iface
,
UINT
iSwapChain
,
UINT
BackBuffer
,
WINE
D3DBACKBUFFER_TYPE
Type
,
IWineD3DSurface
**
ppBackBuffer
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
IWineD3DSwapChain
*
swapChain
;
...
...
dlls/wined3d/swapchain.c
View file @
0ad31f81
...
...
@@ -363,7 +363,7 @@ HRESULT WINAPI IWineD3DSwapChainImpl_GetFrontBufferData(IWineD3DSwapChain *iface
return
D3D_OK
;
}
HRESULT
WINAPI
IWineD3DSwapChainImpl_GetBackBuffer
(
IWineD3DSwapChain
*
iface
,
UINT
iBackBuffer
,
D3DBACKBUFFER_TYPE
Type
,
IWineD3DSurface
**
ppBackBuffer
)
{
HRESULT
WINAPI
IWineD3DSwapChainImpl_GetBackBuffer
(
IWineD3DSwapChain
*
iface
,
UINT
iBackBuffer
,
WINE
D3DBACKBUFFER_TYPE
Type
,
IWineD3DSurface
**
ppBackBuffer
)
{
IWineD3DSwapChainImpl
*
This
=
(
IWineD3DSwapChainImpl
*
)
iface
;
...
...
include/wine/wined3d_interface.h
View file @
0ad31f81
...
...
@@ -323,7 +323,7 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase)
STDMETHOD
(
CreatePixelShader
)(
THIS_
CONST
DWORD
*
pFunction
,
struct
IWineD3DPixelShader
**
ppShader
,
IUnknown
*
pParent
)
PURE
;
STDMETHOD
(
EvictManagedResources
)(
THIS
)
PURE
;
STDMETHOD_
(
UINT
,
GetAvailableTextureMem
)(
THIS
)
PURE
;
STDMETHOD
(
GetBackBuffer
)(
THIS_
UINT
iSwapChain
,
UINT
BackBuffer
,
D3DBACKBUFFER_TYPE
,
struct
IWineD3DSurface
**
ppBackBuffer
)
PURE
;
STDMETHOD
(
GetBackBuffer
)(
THIS_
UINT
iSwapChain
,
UINT
BackBuffer
,
WINE
D3DBACKBUFFER_TYPE
,
struct
IWineD3DSurface
**
ppBackBuffer
)
PURE
;
STDMETHOD
(
GetCreationParameters
)(
THIS_
D3DDEVICE_CREATION_PARAMETERS
*
pParameters
)
PURE
;
STDMETHOD
(
GetDeviceCaps
)(
THIS_
WINED3DCAPS
*
pCaps
)
PURE
;
STDMETHOD
(
GetDirect3D
)(
THIS_
IWineD3D
**
ppD3D
)
PURE
;
...
...
@@ -1292,7 +1292,7 @@ DECLARE_INTERFACE_(IWineD3DSwapChain,IWineD3DBase)
STDMETHOD
(
GetDevice
)(
THIS_
IWineD3DDevice
**
ppDevice
)
PURE
;
STDMETHOD
(
Present
)(
THIS_
CONST
RECT
*
pSourceRect
,
CONST
RECT
*
pDestRect
,
HWND
hDestWindowOverride
,
CONST
RGNDATA
*
pDirtyRegion
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
GetFrontBufferData
)(
THIS_
IWineD3DSurface
*
pDestSurface
)
PURE
;
STDMETHOD
(
GetBackBuffer
)(
THIS_
UINT
iBackBuffer
,
D3DBACKBUFFER_TYPE
Type
,
IWineD3DSurface
**
ppBackBuffer
)
PURE
;
STDMETHOD
(
GetBackBuffer
)(
THIS_
UINT
iBackBuffer
,
WINE
D3DBACKBUFFER_TYPE
Type
,
IWineD3DSurface
**
ppBackBuffer
)
PURE
;
STDMETHOD
(
GetRasterStatus
)(
THIS_
D3DRASTER_STATUS
*
pRasterStatus
)
PURE
;
STDMETHOD
(
GetDisplayMode
)(
THIS_
WINED3DDISPLAYMODE
*
pMode
)
PURE
;
STDMETHOD
(
GetPresentParameters
)(
THIS_
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
)
PURE
;
...
...
include/wine/wined3d_types.h
View file @
0ad31f81
...
...
@@ -360,6 +360,14 @@ typedef struct _WINED3DDISPLAYMODE {
WINED3DFORMAT
Format
;
}
WINED3DDISPLAYMODE
;
typedef
enum
_WINED3DBACKBUFFER_TYPE
{
WINED3DBACKBUFFER_TYPE_MONO
=
0
,
WINED3DBACKBUFFER_TYPE_LEFT
=
1
,
WINED3DBACKBUFFER_TYPE_RIGHT
=
2
,
WINED3DBACKBUFFER_TYPE_FORCE_DWORD
=
0x7fffffff
}
WINED3DBACKBUFFER_TYPE
;
typedef
enum
_WINED3DSWAPEFFECT
{
WINED3DSWAPEFFECT_DISCARD
=
1
,
WINED3DSWAPEFFECT_FLIP
=
2
,
...
...
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