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
4a965589
Commit
4a965589
authored
Mar 11, 2015
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 11, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10core: Implement d3d10_depthstencil_view_SetPrivateData().
parent
c840645b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
d3d10core_private.h
dlls/d3d10core/d3d10core_private.h
+1
-0
view.c
dlls/d3d10core/view.c
+6
-2
No files found.
dlls/d3d10core/d3d10core_private.h
View file @
4a965589
...
...
@@ -137,6 +137,7 @@ struct d3d10_depthstencil_view
ID3D10DepthStencilView
ID3D10DepthStencilView_iface
;
LONG
refcount
;
struct
wined3d_private_store
private_store
;
struct
wined3d_rendertarget_view
*
wined3d_view
;
D3D10_DEPTH_STENCIL_VIEW_DESC
desc
;
ID3D10Resource
*
resource
;
...
...
dlls/d3d10core/view.c
View file @
4a965589
...
...
@@ -407,6 +407,7 @@ static ULONG STDMETHODCALLTYPE d3d10_depthstencil_view_Release(ID3D10DepthStenci
wined3d_rendertarget_view_decref
(
This
->
wined3d_view
);
ID3D10Resource_Release
(
This
->
resource
);
ID3D10Device1_Release
(
This
->
device
);
wined3d_private_store_cleanup
(
&
This
->
private_store
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
}
...
...
@@ -437,10 +438,12 @@ static HRESULT STDMETHODCALLTYPE d3d10_depthstencil_view_GetPrivateData(ID3D10De
static
HRESULT
STDMETHODCALLTYPE
d3d10_depthstencil_view_SetPrivateData
(
ID3D10DepthStencilView
*
iface
,
REFGUID
guid
,
UINT
data_size
,
const
void
*
data
)
{
FIXME
(
"iface %p, guid %s, data_size %u, data %p stub!
\n
"
,
struct
d3d10_depthstencil_view
*
view
=
impl_from_ID3D10DepthStencilView
(
iface
);
TRACE
(
"iface %p, guid %s, data_size %u, data %p.
\n
"
,
iface
,
debugstr_guid
(
guid
),
data_size
,
data
);
return
E_NOTIMPL
;
return
d3d10_set_private_data
(
&
view
->
private_store
,
guid
,
data_size
,
data
)
;
}
static
HRESULT
STDMETHODCALLTYPE
d3d10_depthstencil_view_SetPrivateDataInterface
(
ID3D10DepthStencilView
*
iface
,
...
...
@@ -579,6 +582,7 @@ HRESULT d3d10_depthstencil_view_init(struct d3d10_depthstencil_view *view, struc
return
hr
;
}
wined3d_private_store_init
(
&
view
->
private_store
);
view
->
resource
=
resource
;
ID3D10Resource_AddRef
(
resource
);
view
->
device
=
&
device
->
ID3D10Device1_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