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
a78fa408
Commit
a78fa408
authored
Oct 02, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10core: Implement d3d10_device_OMSetDepthStencilState().
parent
37f36b73
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
1 deletion
+19
-1
d3d10core_private.h
dlls/d3d10core/d3d10core_private.h
+4
-0
device.c
dlls/d3d10core/device.c
+6
-1
state.c
dlls/d3d10core/state.c
+9
-0
No files found.
dlls/d3d10core/d3d10core_private.h
View file @
a78fa408
...
...
@@ -226,6 +226,8 @@ struct d3d10_depthstencil_state
};
HRESULT
d3d10_depthstencil_state_init
(
struct
d3d10_depthstencil_state
*
state
)
DECLSPEC_HIDDEN
;
struct
d3d10_depthstencil_state
*
unsafe_impl_from_ID3D10DepthStencilState
(
ID3D10DepthStencilState
*
iface
)
DECLSPEC_HIDDEN
;
/* ID3D10RasterizerState */
struct
d3d10_rasterizer_state
...
...
@@ -267,6 +269,8 @@ struct d3d10_device
struct
wined3d_device_parent
device_parent
;
struct
wined3d_device
*
wined3d_device
;
struct
d3d10_depthstencil_state
*
depth_stencil_state
;
UINT
stencil_ref
;
struct
d3d10_rasterizer_state
*
rasterizer_state
;
};
...
...
dlls/d3d10core/device.c
View file @
a78fa408
...
...
@@ -325,8 +325,13 @@ static void STDMETHODCALLTYPE d3d10_device_OMSetBlendState(ID3D10Device *iface,
static
void
STDMETHODCALLTYPE
d3d10_device_OMSetDepthStencilState
(
ID3D10Device
*
iface
,
ID3D10DepthStencilState
*
depth_stencil_state
,
UINT
stencil_ref
)
{
FIXME
(
"iface %p, depth_stencil_state %p, stencil_ref %u stub!
\n
"
,
struct
d3d10_device
*
device
=
impl_from_ID3D10Device
(
iface
);
TRACE
(
"iface %p, depth_stencil_state %p, stencil_ref %u.
\n
"
,
iface
,
depth_stencil_state
,
stencil_ref
);
device
->
depth_stencil_state
=
unsafe_impl_from_ID3D10DepthStencilState
(
depth_stencil_state
);
device
->
stencil_ref
=
stencil_ref
;
}
static
void
STDMETHODCALLTYPE
d3d10_device_SOSetTargets
(
ID3D10Device
*
iface
,
...
...
dlls/d3d10core/state.c
View file @
a78fa408
...
...
@@ -256,6 +256,15 @@ HRESULT d3d10_depthstencil_state_init(struct d3d10_depthstencil_state *state)
return
S_OK
;
}
struct
d3d10_depthstencil_state
*
unsafe_impl_from_ID3D10DepthStencilState
(
ID3D10DepthStencilState
*
iface
)
{
if
(
!
iface
)
return
NULL
;
assert
(
iface
->
lpVtbl
==
&
d3d10_depthstencil_state_vtbl
);
return
impl_from_ID3D10DepthStencilState
(
iface
);
}
static
inline
struct
d3d10_rasterizer_state
*
impl_from_ID3D10RasterizerState
(
ID3D10RasterizerState
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
struct
d3d10_rasterizer_state
,
ID3D10RasterizerState_iface
);
...
...
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