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
360c1114
Commit
360c1114
authored
Dec 02, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 02, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the WINED3DRASTER_STATUS typedef.
parent
94c9b0b4
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
11 deletions
+12
-11
device.c
dlls/d3d8/device.c
+1
-1
device.c
dlls/d3d9/device.c
+2
-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.h
include/wine/wined3d.h
+6
-6
No files found.
dlls/d3d8/device.c
View file @
360c1114
...
...
@@ -648,7 +648,7 @@ static HRESULT WINAPI IDirect3DDevice8Impl_GetRasterStatus(IDirect3DDevice8 *ifa
TRACE
(
"iface %p, raster_status %p.
\n
"
,
iface
,
pRasterStatus
);
wined3d_mutex_lock
();
hr
=
wined3d_device_get_raster_status
(
This
->
wined3d_device
,
0
,
(
WINED3DRASTER_STATUS
*
)
pRasterStatus
);
hr
=
wined3d_device_get_raster_status
(
This
->
wined3d_device
,
0
,
(
struct
wined3d_raster_status
*
)
pRasterStatus
);
wined3d_mutex_unlock
();
return
hr
;
...
...
dlls/d3d9/device.c
View file @
360c1114
...
...
@@ -640,7 +640,8 @@ static HRESULT WINAPI IDirect3DDevice9Impl_GetRasterStatus(IDirect3DDevice9Ex *i
TRACE
(
"iface %p, swapchain %u, raster_status %p.
\n
"
,
iface
,
iSwapChain
,
pRasterStatus
);
wined3d_mutex_lock
();
hr
=
wined3d_device_get_raster_status
(
This
->
wined3d_device
,
iSwapChain
,
(
WINED3DRASTER_STATUS
*
)
pRasterStatus
);
hr
=
wined3d_device_get_raster_status
(
This
->
wined3d_device
,
iSwapChain
,
(
struct
wined3d_raster_status
*
)
pRasterStatus
);
wined3d_mutex_unlock
();
return
hr
;
...
...
dlls/d3d9/swapchain.c
View file @
360c1114
...
...
@@ -146,7 +146,7 @@ static HRESULT WINAPI IDirect3DSwapChain9Impl_GetRasterStatus(LPDIRECT3DSWAPCHAI
TRACE
(
"iface %p, raster_status %p.
\n
"
,
iface
,
pRasterStatus
);
wined3d_mutex_lock
();
hr
=
wined3d_swapchain_get_raster_status
(
This
->
wined3d_swapchain
,
(
WINED3DRASTER_STATUS
*
)
pRasterStatus
);
hr
=
wined3d_swapchain_get_raster_status
(
This
->
wined3d_swapchain
,
(
struct
wined3d_raster_status
*
)
pRasterStatus
);
wined3d_mutex_unlock
();
return
hr
;
...
...
dlls/wined3d/device.c
View file @
360c1114
...
...
@@ -4572,7 +4572,7 @@ BOOL CDECL wined3d_device_get_software_vertex_processing(const struct wined3d_de
}
HRESULT
CDECL
wined3d_device_get_raster_status
(
const
struct
wined3d_device
*
device
,
UINT
swapchain_idx
,
WINED3DRASTER_STATUS
*
raster_status
)
UINT
swapchain_idx
,
struct
wined3d_raster_status
*
raster_status
)
{
struct
wined3d_swapchain
*
swapchain
;
HRESULT
hr
;
...
...
dlls/wined3d/swapchain.c
View file @
360c1114
...
...
@@ -203,7 +203,7 @@ HRESULT CDECL wined3d_swapchain_get_back_buffer(const struct wined3d_swapchain *
}
HRESULT
CDECL
wined3d_swapchain_get_raster_status
(
const
struct
wined3d_swapchain
*
swapchain
,
WINED3DRASTER_STATUS
*
raster_status
)
struct
wined3d_raster_status
*
raster_status
)
{
static
BOOL
warned
;
/* No OpenGL equivalent */
...
...
include/wine/wined3d.h
View file @
360c1114
...
...
@@ -1696,11 +1696,11 @@ struct wined3d_device_creation_parameters
DWORD
flags
;
};
typedef
struct
_WINED3DRASTER_STATUS
struct
wined3d_raster_status
{
BOOL
InVB
lank
;
UINT
ScanL
ine
;
}
WINED3DRASTER_STATUS
;
BOOL
in_vb
lank
;
UINT
scan_l
ine
;
};
typedef
struct
_WINED3DDEVINFO_VERTEXSTATS
{
...
...
@@ -2177,7 +2177,7 @@ HRESULT __cdecl wined3d_device_get_ps_consts_f(const struct wined3d_device *devi
HRESULT
__cdecl
wined3d_device_get_ps_consts_i
(
const
struct
wined3d_device
*
device
,
UINT
start_register
,
int
*
constants
,
UINT
vector4i_count
);
HRESULT
__cdecl
wined3d_device_get_raster_status
(
const
struct
wined3d_device
*
device
,
UINT
swapchain_idx
,
WINED3DRASTER_STATUS
*
raster_status
);
UINT
swapchain_idx
,
struct
wined3d_raster_status
*
raster_status
);
HRESULT
__cdecl
wined3d_device_get_render_state
(
const
struct
wined3d_device
*
device
,
WINED3DRENDERSTATETYPE
state
,
DWORD
*
value
);
HRESULT
__cdecl
wined3d_device_get_render_target
(
const
struct
wined3d_device
*
device
,
...
...
@@ -2411,7 +2411,7 @@ void * __cdecl wined3d_swapchain_get_parent(const struct wined3d_swapchain *swap
HRESULT
__cdecl
wined3d_swapchain_get_desc
(
const
struct
wined3d_swapchain
*
swapchain
,
struct
wined3d_swapchain_desc
*
desc
);
HRESULT
__cdecl
wined3d_swapchain_get_raster_status
(
const
struct
wined3d_swapchain
*
swapchain
,
WINED3DRASTER_STATUS
*
raster_status
);
struct
wined3d_raster_status
*
raster_status
);
ULONG
__cdecl
wined3d_swapchain_incref
(
struct
wined3d_swapchain
*
swapchain
);
HRESULT
__cdecl
wined3d_swapchain_present
(
struct
wined3d_swapchain
*
swapchain
,
const
RECT
*
src_rect
,
const
RECT
*
dst_rect
,
HWND
dst_window_override
,
...
...
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