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
5569db9a
Commit
5569db9a
authored
Apr 22, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Get rid of IDirect3DTexture9Impl.
parent
dd8ed6f8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
18 deletions
+10
-18
d3d9_private.h
dlls/d3d9/d3d9_private.h
+9
-17
device.c
dlls/d3d9/device.c
+1
-1
texture.c
dlls/d3d9/texture.c
+0
-0
No files found.
dlls/d3d9/d3d9_private.h
View file @
5569db9a
...
...
@@ -303,6 +303,14 @@ typedef struct IDirect3DBaseTexture9Impl
struct
wined3d_texture
*
wined3d_texture
;
}
IDirect3DBaseTexture9Impl
;
struct
d3d9_texture
{
IDirect3DTexture9
IDirect3DTexture9_iface
;
LONG
refcount
;
struct
wined3d_texture
*
wined3d_texture
;
IDirect3DDevice9Ex
*
parent_device
;
};
/* --------------------- */
/* IDirect3DCubeTexture9 */
/* --------------------- */
...
...
@@ -320,23 +328,7 @@ typedef struct IDirect3DCubeTexture9Impl
HRESULT
cubetexture_init
(
IDirect3DCubeTexture9Impl
*
texture
,
IDirect3DDevice9Impl
*
device
,
UINT
edge_length
,
UINT
levels
,
DWORD
usage
,
D3DFORMAT
format
,
D3DPOOL
pool
)
DECLSPEC_HIDDEN
;
/* ----------------- */
/* IDirect3DTexture9 */
/* ----------------- */
/*****************************************************************************
* IDirect3DTexture9 implementation structure
*/
typedef
struct
IDirect3DTexture9Impl
{
IDirect3DTexture9
IDirect3DTexture9_iface
;
LONG
ref
;
struct
wined3d_texture
*
wined3d_texture
;
IDirect3DDevice9Ex
*
parentDevice
;
}
IDirect3DTexture9Impl
;
HRESULT
texture_init
(
IDirect3DTexture9Impl
*
texture
,
IDirect3DDevice9Impl
*
device
,
HRESULT
texture_init
(
struct
d3d9_texture
*
texture
,
IDirect3DDevice9Impl
*
device
,
UINT
width
,
UINT
height
,
UINT
levels
,
DWORD
usage
,
D3DFORMAT
format
,
D3DPOOL
pool
)
DECLSPEC_HIDDEN
;
/* ----------------------- */
...
...
dlls/d3d9/device.c
View file @
5569db9a
...
...
@@ -676,7 +676,7 @@ static HRESULT WINAPI IDirect3DDevice9Impl_CreateTexture(IDirect3DDevice9Ex *ifa
D3DPOOL
pool
,
IDirect3DTexture9
**
texture
,
HANDLE
*
shared_handle
)
{
IDirect3DDevice9Impl
*
This
=
impl_from_IDirect3DDevice9Ex
(
iface
);
IDirect3DTexture9Impl
*
object
;
struct
d3d9_texture
*
object
;
BOOL
set_mem
=
FALSE
;
HRESULT
hr
;
...
...
dlls/d3d9/texture.c
View file @
5569db9a
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