Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
a78fa408
Commit
a78fa408
authored
12 years ago
by
Henri Verbeet
Committed by
Alexandre Julliard
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
d3d10core: Implement d3d10_device_OMSetDepthStencilState().
parent
37f36b73
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dlls/d3d10core/d3d10core_private.h
+4
-0
4 additions, 0 deletions
dlls/d3d10core/d3d10core_private.h
dlls/d3d10core/device.c
+6
-1
6 additions, 1 deletion
dlls/d3d10core/device.c
dlls/d3d10core/state.c
+9
-0
9 additions, 0 deletions
dlls/d3d10core/state.c
with
19 additions
and
1 deletion
dlls/d3d10core/d3d10core_private.h
+
4
−
0
View file @
a78fa408
...
@@ -226,6 +226,8 @@ struct d3d10_depthstencil_state
...
@@ -226,6 +226,8 @@ struct d3d10_depthstencil_state
};
};
HRESULT
d3d10_depthstencil_state_init
(
struct
d3d10_depthstencil_state
*
state
)
DECLSPEC_HIDDEN
;
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 */
/* ID3D10RasterizerState */
struct
d3d10_rasterizer_state
struct
d3d10_rasterizer_state
...
@@ -267,6 +269,8 @@ struct d3d10_device
...
@@ -267,6 +269,8 @@ struct d3d10_device
struct
wined3d_device_parent
device_parent
;
struct
wined3d_device_parent
device_parent
;
struct
wined3d_device
*
wined3d_device
;
struct
wined3d_device
*
wined3d_device
;
struct
d3d10_depthstencil_state
*
depth_stencil_state
;
UINT
stencil_ref
;
struct
d3d10_rasterizer_state
*
rasterizer_state
;
struct
d3d10_rasterizer_state
*
rasterizer_state
;
};
};
...
...
This diff is collapsed.
Click to expand it.
dlls/d3d10core/device.c
+
6
−
1
View file @
a78fa408
...
@@ -325,8 +325,13 @@ static void STDMETHODCALLTYPE d3d10_device_OMSetBlendState(ID3D10Device *iface,
...
@@ -325,8 +325,13 @@ static void STDMETHODCALLTYPE d3d10_device_OMSetBlendState(ID3D10Device *iface,
static
void
STDMETHODCALLTYPE
d3d10_device_OMSetDepthStencilState
(
ID3D10Device
*
iface
,
static
void
STDMETHODCALLTYPE
d3d10_device_OMSetDepthStencilState
(
ID3D10Device
*
iface
,
ID3D10DepthStencilState
*
depth_stencil_state
,
UINT
stencil_ref
)
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
);
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
,
static
void
STDMETHODCALLTYPE
d3d10_device_SOSetTargets
(
ID3D10Device
*
iface
,
...
...
This diff is collapsed.
Click to expand it.
dlls/d3d10core/state.c
+
9
−
0
View file @
a78fa408
...
@@ -256,6 +256,15 @@ HRESULT d3d10_depthstencil_state_init(struct d3d10_depthstencil_state *state)
...
@@ -256,6 +256,15 @@ HRESULT d3d10_depthstencil_state_init(struct d3d10_depthstencil_state *state)
return
S_OK
;
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
)
static
inline
struct
d3d10_rasterizer_state
*
impl_from_ID3D10RasterizerState
(
ID3D10RasterizerState
*
iface
)
{
{
return
CONTAINING_RECORD
(
iface
,
struct
d3d10_rasterizer_state
,
ID3D10RasterizerState_iface
);
return
CONTAINING_RECORD
(
iface
,
struct
d3d10_rasterizer_state
,
ID3D10RasterizerState_iface
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment