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
a91ef521
Commit
a91ef521
authored
May 28, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
May 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Get rid of IDirect3DVolume9Impl.
parent
2a63fe66
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
12 deletions
+8
-12
d3d9_private.h
dlls/d3d9/d3d9_private.h
+4
-8
device.c
dlls/d3d9/device.c
+1
-1
texture.c
dlls/d3d9/texture.c
+3
-3
volume.c
dlls/d3d9/volume.c
+0
-0
No files found.
dlls/d3d9/d3d9_private.h
View file @
a91ef521
...
...
@@ -164,20 +164,16 @@ HRESULT device_init(struct d3d9_device *device, struct d3d9 *parent, struct wine
UINT
adapter
,
D3DDEVTYPE
device_type
,
HWND
focus_window
,
DWORD
flags
,
D3DPRESENT_PARAMETERS
*
parameters
,
D3DDISPLAYMODEEX
*
mode
)
DECLSPEC_HIDDEN
;
/*****************************************************************************
* IDirect3DVolume9 implementation structure
*/
typedef
struct
IDirect3DVolume9Impl
struct
d3d9_volume
{
/* IUnknown fields */
IDirect3DVolume9
IDirect3DVolume9_iface
;
LONG
ref
;
LONG
ref
count
;
struct
wined3d_volume
*
wined3d_volume
;
IUnknown
*
container
;
IUnknown
*
forwardReference
;
}
IDirect3DVolume9Impl
;
};
HRESULT
volume_init
(
IDirect3DVolume9Impl
*
volume
,
struct
d3d9_device
*
device
,
UINT
width
,
UINT
height
,
HRESULT
volume_init
(
struct
d3d9_volume
*
volume
,
struct
d3d9_device
*
device
,
UINT
width
,
UINT
height
,
UINT
depth
,
DWORD
usage
,
enum
wined3d_format_id
format
,
enum
wined3d_pool
pool
)
DECLSPEC_HIDDEN
;
/* ------------------- */
...
...
dlls/d3d9/device.c
View file @
a91ef521
...
...
@@ -3196,7 +3196,7 @@ static HRESULT CDECL device_parent_create_volume(struct wined3d_device_parent *d
enum
wined3d_pool
pool
,
DWORD
usage
,
struct
wined3d_volume
**
volume
)
{
struct
d3d9_device
*
device
=
device_from_device_parent
(
device_parent
);
IDirect3DVolume9Impl
*
object
;
struct
d3d9_volume
*
object
;
HRESULT
hr
;
TRACE
(
"device_parent %p, container_parent %p, width %u, height %u, depth %u, "
...
...
dlls/d3d9/texture.c
View file @
a91ef521
...
...
@@ -1176,7 +1176,7 @@ static HRESULT WINAPI d3d9_texture_3d_GetVolumeLevel(IDirect3DVolumeTexture9 *if
{
struct
d3d9_texture
*
texture
=
impl_from_IDirect3DVolumeTexture9
(
iface
);
struct
wined3d_resource
*
sub_resource
;
IDirect3DVolume9Impl
*
volume_impl
;
struct
d3d9_volume
*
volume_impl
;
TRACE
(
"iface %p, level %u, volume %p.
\n
"
,
iface
,
level
,
volume
);
...
...
@@ -1200,7 +1200,7 @@ static HRESULT WINAPI d3d9_texture_3d_LockBox(IDirect3DVolumeTexture9 *iface,
{
struct
d3d9_texture
*
texture
=
impl_from_IDirect3DVolumeTexture9
(
iface
);
struct
wined3d_resource
*
sub_resource
;
IDirect3DVolume9Impl
*
volume_impl
;
struct
d3d9_volume
*
volume_impl
;
HRESULT
hr
;
TRACE
(
"iface %p, level %u, locked_box %p, box %p, flags %#x.
\n
"
,
...
...
@@ -1223,7 +1223,7 @@ static HRESULT WINAPI d3d9_texture_3d_UnlockBox(IDirect3DVolumeTexture9 *iface,
{
struct
d3d9_texture
*
texture
=
impl_from_IDirect3DVolumeTexture9
(
iface
);
struct
wined3d_resource
*
sub_resource
;
IDirect3DVolume9Impl
*
volume_impl
;
struct
d3d9_volume
*
volume_impl
;
HRESULT
hr
;
TRACE
(
"iface %p, level %u.
\n
"
,
iface
,
level
);
...
...
dlls/d3d9/volume.c
View file @
a91ef521
This diff is collapsed.
Click to expand it.
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