Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c117248b
Commit
c117248b
authored
Jan 07, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Pass an IWineD3DResourceImpl pointer to resource_get_type().
parent
7e67bced
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
17 deletions
+20
-17
buffer.c
dlls/wined3d/buffer.c
+1
-1
cubetexture.c
dlls/wined3d/cubetexture.c
+3
-2
resource.c
dlls/wined3d/resource.c
+3
-4
surface_base.c
dlls/wined3d/surface_base.c
+3
-3
texture.c
dlls/wined3d/texture.c
+3
-2
volume.c
dlls/wined3d/volume.c
+3
-2
volumetexture.c
dlls/wined3d/volumetexture.c
+3
-2
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-1
No files found.
dlls/wined3d/buffer.c
View file @
c117248b
...
...
@@ -1190,7 +1190,7 @@ end:
static
WINED3DRESOURCETYPE
STDMETHODCALLTYPE
buffer_GetType
(
IWineD3DBuffer
*
iface
)
{
return
resource_get_type
((
IWineD3DResource
*
)
iface
);
return
resource_get_type
((
IWineD3DResource
Impl
*
)
iface
);
}
/* IWineD3DBuffer methods */
...
...
dlls/wined3d/cubetexture.c
View file @
c117248b
...
...
@@ -270,8 +270,9 @@ static void WINAPI IWineD3DCubeTextureImpl_UnLoad(IWineD3DCubeTexture *iface)
basetexture_unload
((
IWineD3DBaseTextureImpl
*
)
This
);
}
static
WINED3DRESOURCETYPE
WINAPI
IWineD3DCubeTextureImpl_GetType
(
IWineD3DCubeTexture
*
iface
)
{
return
resource_get_type
((
IWineD3DResource
*
)
iface
);
static
WINED3DRESOURCETYPE
WINAPI
IWineD3DCubeTextureImpl_GetType
(
IWineD3DCubeTexture
*
iface
)
{
return
resource_get_type
((
IWineD3DResourceImpl
*
)
iface
);
}
static
void
*
WINAPI
IWineD3DCubeTextureImpl_GetParent
(
IWineD3DCubeTexture
*
iface
)
...
...
dlls/wined3d/resource.c
View file @
c117248b
...
...
@@ -264,9 +264,8 @@ DWORD resource_get_priority(struct IWineD3DResourceImpl *resource)
return
resource
->
resource
.
priority
;
}
WINED3DRESOURCETYPE
resource_get_type
(
IWineD3DResource
*
ifa
ce
)
WINED3DRESOURCETYPE
resource_get_type
(
struct
IWineD3DResourceImpl
*
resour
ce
)
{
IWineD3DResourceImpl
*
This
=
(
IWineD3DResourceImpl
*
)
iface
;
TRACE
(
"(%p) : returning %d
\n
"
,
This
,
This
->
resource
.
resourceType
);
return
This
->
resource
.
resourceType
;
TRACE
(
"resource %p, returning %#x.
\n
"
,
resource
,
resource
->
resource
.
resourceType
);
return
resource
->
resource
.
resourceType
;
}
dlls/wined3d/surface_base.c
View file @
c117248b
...
...
@@ -138,9 +138,9 @@ DWORD WINAPI IWineD3DBaseSurfaceImpl_GetPriority(IWineD3DSurface *iface)
return
resource_get_priority
((
IWineD3DResourceImpl
*
)
iface
);
}
WINED3DRESOURCETYPE
WINAPI
IWineD3DBaseSurfaceImpl_GetType
(
IWineD3DSurface
*
iface
)
{
TRACE
(
"(%p) : calling resourceimpl_GetType
\n
"
,
iface
);
return
resource_get_type
((
IWineD3DResource
*
)
iface
);
WINED3DRESOURCETYPE
WINAPI
IWineD3DBaseSurfaceImpl_GetType
(
IWineD3DSurface
*
iface
)
{
return
resource_get_type
((
IWineD3DResource
Impl
*
)
iface
);
}
void
*
WINAPI
IWineD3DBaseSurfaceImpl_GetParent
(
IWineD3DSurface
*
iface
)
...
...
dlls/wined3d/texture.c
View file @
c117248b
...
...
@@ -291,8 +291,9 @@ static void WINAPI IWineD3DTextureImpl_UnLoad(IWineD3DTexture *iface) {
basetexture_unload
((
IWineD3DBaseTextureImpl
*
)
This
);
}
static
WINED3DRESOURCETYPE
WINAPI
IWineD3DTextureImpl_GetType
(
IWineD3DTexture
*
iface
)
{
return
resource_get_type
((
IWineD3DResource
*
)
iface
);
static
WINED3DRESOURCETYPE
WINAPI
IWineD3DTextureImpl_GetType
(
IWineD3DTexture
*
iface
)
{
return
resource_get_type
((
IWineD3DResourceImpl
*
)
iface
);
}
static
void
*
WINAPI
IWineD3DTextureImpl_GetParent
(
IWineD3DTexture
*
iface
)
...
...
dlls/wined3d/volume.c
View file @
c117248b
...
...
@@ -193,8 +193,9 @@ static void WINAPI IWineD3DVolumeImpl_UnLoad(IWineD3DVolume *iface)
resource_unload
((
IWineD3DResourceImpl
*
)
iface
);
}
static
WINED3DRESOURCETYPE
WINAPI
IWineD3DVolumeImpl_GetType
(
IWineD3DVolume
*
iface
)
{
return
resource_get_type
((
IWineD3DResource
*
)
iface
);
static
WINED3DRESOURCETYPE
WINAPI
IWineD3DVolumeImpl_GetType
(
IWineD3DVolume
*
iface
)
{
return
resource_get_type
((
IWineD3DResourceImpl
*
)
iface
);
}
static
void
WINAPI
IWineD3DVolumeImpl_GetDesc
(
IWineD3DVolume
*
iface
,
WINED3DVOLUME_DESC
*
desc
)
...
...
dlls/wined3d/volumetexture.c
View file @
c117248b
...
...
@@ -207,8 +207,9 @@ static void WINAPI IWineD3DVolumeTextureImpl_UnLoad(IWineD3DVolumeTexture *iface
basetexture_unload
((
IWineD3DBaseTextureImpl
*
)
This
);
}
static
WINED3DRESOURCETYPE
WINAPI
IWineD3DVolumeTextureImpl_GetType
(
IWineD3DVolumeTexture
*
iface
)
{
return
resource_get_type
((
IWineD3DResource
*
)
iface
);
static
WINED3DRESOURCETYPE
WINAPI
IWineD3DVolumeTextureImpl_GetType
(
IWineD3DVolumeTexture
*
iface
)
{
return
resource_get_type
((
IWineD3DResourceImpl
*
)
iface
);
}
static
void
*
WINAPI
IWineD3DVolumeTextureImpl_GetParent
(
IWineD3DVolumeTexture
*
iface
)
...
...
dlls/wined3d/wined3d_private.h
View file @
c117248b
...
...
@@ -1836,7 +1836,7 @@ HRESULT resource_get_private_data(struct IWineD3DResourceImpl *resource, REFGUID
HRESULT
resource_init
(
struct
IWineD3DResourceImpl
*
resource
,
WINED3DRESOURCETYPE
resource_type
,
IWineD3DDeviceImpl
*
device
,
UINT
size
,
DWORD
usage
,
const
struct
wined3d_format
*
format
,
WINED3DPOOL
pool
,
void
*
parent
,
const
struct
wined3d_parent_ops
*
parent_ops
)
DECLSPEC_HIDDEN
;
WINED3DRESOURCETYPE
resource_get_type
(
IWineD3DResource
*
ifa
ce
)
DECLSPEC_HIDDEN
;
WINED3DRESOURCETYPE
resource_get_type
(
struct
IWineD3DResourceImpl
*
resour
ce
)
DECLSPEC_HIDDEN
;
DWORD
resource_set_priority
(
struct
IWineD3DResourceImpl
*
resource
,
DWORD
priority
)
DECLSPEC_HIDDEN
;
HRESULT
resource_set_private_data
(
struct
IWineD3DResourceImpl
*
resource
,
REFGUID
guid
,
const
void
*
data
,
DWORD
data_size
,
DWORD
flags
)
DECLSPEC_HIDDEN
;
...
...
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