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
07ace95f
Commit
07ace95f
authored
Oct 14, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 14, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10core: Implement device_parent_CreateVolume().
parent
4eb8fd79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
device.c
dlls/d3d10core/device.c
+19
-2
No files found.
dlls/d3d10core/device.c
View file @
07ace95f
...
...
@@ -1253,6 +1253,13 @@ static const struct IUnknownVtbl d3d10_device_inner_unknown_vtbl =
d3d10_device_inner_Release
,
};
static
void
STDMETHODCALLTYPE
d3d10_subresource_destroyed
(
void
*
parent
)
{}
const
struct
wined3d_parent_ops
d3d10_subresource_parent_ops
=
{
d3d10_subresource_destroyed
,
};
/* IWineD3DDeviceParent IUnknown methods */
static
inline
struct
d3d10_device
*
device_from_device_parent
(
IWineD3DDeviceParent
*
iface
)
...
...
@@ -1418,10 +1425,20 @@ static HRESULT STDMETHODCALLTYPE device_parent_CreateVolume(IWineD3DDeviceParent
IUnknown
*
superior
,
UINT
width
,
UINT
height
,
UINT
depth
,
enum
wined3d_format_id
format
,
WINED3DPOOL
pool
,
DWORD
usage
,
IWineD3DVolume
**
volume
)
{
FIXME
(
"iface %p, superior %p, width %u, height %u, depth %u, format %#x, pool %#x, usage %#x, volume %p stub!
\n
"
,
HRESULT
hr
;
TRACE
(
"iface %p, superior %p, width %u, height %u, depth %u, format %#x, pool %#x, usage %#x, volume %p.
\n
"
,
iface
,
superior
,
width
,
height
,
depth
,
format
,
pool
,
usage
,
volume
);
return
E_NOTIMPL
;
hr
=
IWineD3DDevice_CreateVolume
(
device_from_device_parent
(
iface
)
->
wined3d_device
,
width
,
height
,
depth
,
usage
,
format
,
pool
,
NULL
,
&
d3d10_subresource_parent_ops
,
volume
);
if
(
FAILED
(
hr
))
{
WARN
(
"Failed to create wined3d volume, hr %#x.
\n
"
,
hr
);
return
hr
;
}
return
S_OK
;
}
static
HRESULT
STDMETHODCALLTYPE
device_parent_CreateSwapChain
(
IWineD3DDeviceParent
*
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