Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
08c38a87
Commit
08c38a87
authored
Apr 04, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Apr 04, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add WINED3DRASTERSTATUS to wined3d_types.h.
parent
92b5d9e1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
7 deletions
+12
-7
device.c
dlls/d3d8/device.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
+5
-0
No files found.
dlls/d3d8/device.c
View file @
08c38a87
...
...
@@ -266,7 +266,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_GetRasterStatus(LPDIRECT3DDEVICE8 iface, D3D
IDirect3DDevice8Impl
*
This
=
(
IDirect3DDevice8Impl
*
)
iface
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
return
IWineD3DDevice_GetRasterStatus
(
This
->
WineD3DDevice
,
0
,
pRasterStatus
);
return
IWineD3DDevice_GetRasterStatus
(
This
->
WineD3DDevice
,
0
,
(
WINED3DRASTER_STATUS
*
)
pRasterStatus
);
}
void
WINAPI
IDirect3DDevice8Impl_SetGammaRamp
(
LPDIRECT3DDEVICE8
iface
,
DWORD
Flags
,
CONST
D3DGAMMARAMP
*
pRamp
)
{
...
...
dlls/d3d9/device.c
View file @
08c38a87
...
...
@@ -208,7 +208,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetRasterStatus(LPDIRECT3DDEVICE9 iface, U
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
return
IWineD3DDevice_GetRasterStatus
(
This
->
WineD3DDevice
,
iSwapChain
,
pRasterStatus
);
return
IWineD3DDevice_GetRasterStatus
(
This
->
WineD3DDevice
,
iSwapChain
,
(
WINED3DRASTER_STATUS
*
)
pRasterStatus
);
}
HRESULT
WINAPI
IDirect3DDevice9Impl_SetDialogBoxMode
(
LPDIRECT3DDEVICE9
iface
,
BOOL
bEnableDialogs
)
{
...
...
dlls/d3d9/swapchain.c
View file @
08c38a87
...
...
@@ -94,7 +94,7 @@ HRESULT WINAPI IDirect3DSwapChain9Impl_GetBackBuffer(LPDIRECT3DSWAPCHAIN9 iface,
HRESULT
WINAPI
IDirect3DSwapChain9Impl_GetRasterStatus
(
LPDIRECT3DSWAPCHAIN9
iface
,
D3DRASTER_STATUS
*
pRasterStatus
)
{
IDirect3DSwapChain9Impl
*
This
=
(
IDirect3DSwapChain9Impl
*
)
iface
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
return
IWineD3DSwapChain_GetRasterStatus
(
This
->
wineD3DSwapChain
,
pRasterStatus
);
return
IWineD3DSwapChain_GetRasterStatus
(
This
->
wineD3DSwapChain
,
(
WINED3DRASTER_STATUS
*
)
pRasterStatus
);
}
HRESULT
WINAPI
IDirect3DSwapChain9Impl_GetDisplayMode
(
LPDIRECT3DSWAPCHAIN9
iface
,
D3DDISPLAYMODE
*
pMode
)
{
...
...
dlls/wined3d/device.c
View file @
08c38a87
...
...
@@ -5454,7 +5454,7 @@ BOOL WINAPI IWineD3DDeviceImpl_GetSoftwareVertexProcessing(IWineD3DDevice *
}
HRESULT
WINAPI
IWineD3DDeviceImpl_GetRasterStatus
(
IWineD3DDevice
*
iface
,
UINT
iSwapChain
,
D3DRASTER_STATUS
*
pRasterStatus
)
{
HRESULT
WINAPI
IWineD3DDeviceImpl_GetRasterStatus
(
IWineD3DDevice
*
iface
,
UINT
iSwapChain
,
WINE
D3DRASTER_STATUS
*
pRasterStatus
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
IWineD3DSwapChain
*
swapChain
;
HRESULT
hr
;
...
...
dlls/wined3d/swapchain.c
View file @
08c38a87
...
...
@@ -381,7 +381,7 @@ HRESULT WINAPI IWineD3DSwapChainImpl_GetBackBuffer(IWineD3DSwapChain *iface, UIN
}
HRESULT
WINAPI
IWineD3DSwapChainImpl_GetRasterStatus
(
IWineD3DSwapChain
*
iface
,
D3DRASTER_STATUS
*
pRasterStatus
)
{
HRESULT
WINAPI
IWineD3DSwapChainImpl_GetRasterStatus
(
IWineD3DSwapChain
*
iface
,
WINED3DRASTER_STATUS
*
pRasterStatus
)
{
IWineD3DSwapChainImpl
*
This
=
(
IWineD3DSwapChainImpl
*
)
iface
;
static
BOOL
showFixmes
=
TRUE
;
pRasterStatus
->
InVBlank
=
TRUE
;
...
...
include/wine/wined3d_interface.h
View file @
08c38a87
...
...
@@ -329,7 +329,7 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase)
STDMETHOD
(
GetDirect3D
)(
THIS_
IWineD3D
**
ppD3D
)
PURE
;
STDMETHOD
(
GetDisplayMode
)(
THIS_
UINT
iSwapChain
,
WINED3DDISPLAYMODE
*
pMode
)
PURE
;
STDMETHOD_
(
UINT
,
GetNumberOfSwapChains
)(
THIS
)
PURE
;
STDMETHOD
(
GetRasterStatus
)(
THIS_
UINT
iSwapChain
,
D3DRASTER_STATUS
*
pRasterStatus
)
PURE
;
STDMETHOD
(
GetRasterStatus
)(
THIS_
UINT
iSwapChain
,
WINE
D3DRASTER_STATUS
*
pRasterStatus
)
PURE
;
STDMETHOD
(
GetSwapChain
)(
THIS_
UINT
iSwapChain
,
struct
IWineD3DSwapChain
**
pSwapChain
)
PURE
;
STDMETHOD
(
Reset
)(
THIS_
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
)
PURE
;
STDMETHOD
(
SetDialogBoxMode
)(
THIS_
BOOL
bEnableDialogs
)
PURE
;
...
...
@@ -1293,7 +1293,7 @@ DECLARE_INTERFACE_(IWineD3DSwapChain,IWineD3DBase)
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
,
WINED3DBACKBUFFER_TYPE
Type
,
IWineD3DSurface
**
ppBackBuffer
)
PURE
;
STDMETHOD
(
GetRasterStatus
)(
THIS_
D3DRASTER_STATUS
*
pRasterStatus
)
PURE
;
STDMETHOD
(
GetRasterStatus
)(
THIS_
WINE
D3DRASTER_STATUS
*
pRasterStatus
)
PURE
;
STDMETHOD
(
GetDisplayMode
)(
THIS_
WINED3DDISPLAYMODE
*
pMode
)
PURE
;
STDMETHOD
(
GetPresentParameters
)(
THIS_
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
)
PURE
;
STDMETHOD
(
SetGammaRamp
)(
THIS_
DWORD
Flags
,
const
D3DGAMMARAMP
*
pRamp
)
PURE
;
...
...
include/wine/wined3d_types.h
View file @
08c38a87
...
...
@@ -631,6 +631,11 @@ typedef struct _WINED3DDEVINFO_STAGETIMINGS {
float
ComputationProcessingPercent
;
}
WINED3DDEVINFO_STAGETIMINGS
;
typedef
struct
_WINED3DRASTER_STATUS
{
BOOL
InVBlank
;
UINT
ScanLine
;
}
WINED3DRASTER_STATUS
;
typedef
struct
WINED3DRESOURCESTATS
{
BOOL
bThrashing
;
...
...
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