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
b6ef17f2
Commit
b6ef17f2
authored
Dec 09, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove unused GetDevice() implementations.
parent
c2cf1935
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
0 additions
and
111 deletions
+0
-111
buffer.c
dlls/wined3d/buffer.c
+0
-6
cubetexture.c
dlls/wined3d/cubetexture.c
+0
-5
pixelshader.c
dlls/wined3d/pixelshader.c
+0
-10
query.c
dlls/wined3d/query.c
+0
-12
resource.c
dlls/wined3d/resource.c
+0
-9
stateblock.c
dlls/wined3d/stateblock.c
+0
-11
surface.c
dlls/wined3d/surface.c
+0
-1
surface_base.c
dlls/wined3d/surface_base.c
+0
-4
surface_gdi.c
dlls/wined3d/surface_gdi.c
+0
-1
texture.c
dlls/wined3d/texture.c
+0
-5
vertexdeclaration.c
dlls/wined3d/vertexdeclaration.c
+0
-11
vertexshader.c
dlls/wined3d/vertexshader.c
+0
-9
volume.c
dlls/wined3d/volume.c
+0
-5
volumetexture.c
dlls/wined3d/volumetexture.c
+0
-5
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-2
wined3d.idl
include/wine/wined3d.idl
+0
-15
No files found.
dlls/wined3d/buffer.c
View file @
b6ef17f2
...
@@ -657,11 +657,6 @@ static HRESULT STDMETHODCALLTYPE buffer_GetParent(IWineD3DBuffer *iface, IUnknow
...
@@ -657,11 +657,6 @@ static HRESULT STDMETHODCALLTYPE buffer_GetParent(IWineD3DBuffer *iface, IUnknow
/* IWineD3DResource methods */
/* IWineD3DResource methods */
static
HRESULT
STDMETHODCALLTYPE
buffer_GetDevice
(
IWineD3DBuffer
*
iface
,
IWineD3DDevice
**
device
)
{
return
resource_get_device
((
IWineD3DResource
*
)
iface
,
device
);
}
static
HRESULT
STDMETHODCALLTYPE
buffer_SetPrivateData
(
IWineD3DBuffer
*
iface
,
static
HRESULT
STDMETHODCALLTYPE
buffer_SetPrivateData
(
IWineD3DBuffer
*
iface
,
REFGUID
guid
,
const
void
*
data
,
DWORD
data_size
,
DWORD
flags
)
REFGUID
guid
,
const
void
*
data
,
DWORD
data_size
,
DWORD
flags
)
{
{
...
@@ -1064,7 +1059,6 @@ static const struct IWineD3DBufferVtbl wined3d_buffer_vtbl =
...
@@ -1064,7 +1059,6 @@ static const struct IWineD3DBufferVtbl wined3d_buffer_vtbl =
/* IWineD3DBase methods */
/* IWineD3DBase methods */
buffer_GetParent
,
buffer_GetParent
,
/* IWineD3DResource methods */
/* IWineD3DResource methods */
buffer_GetDevice
,
buffer_SetPrivateData
,
buffer_SetPrivateData
,
buffer_GetPrivateData
,
buffer_GetPrivateData
,
buffer_FreePrivateData
,
buffer_FreePrivateData
,
...
...
dlls/wined3d/cubetexture.c
View file @
b6ef17f2
...
@@ -183,10 +183,6 @@ static ULONG WINAPI IWineD3DCubeTextureImpl_Release(IWineD3DCubeTexture *iface)
...
@@ -183,10 +183,6 @@ static ULONG WINAPI IWineD3DCubeTextureImpl_Release(IWineD3DCubeTexture *iface)
/* ****************************************************
/* ****************************************************
IWineD3DCubeTexture IWineD3DResource parts follow
IWineD3DCubeTexture IWineD3DResource parts follow
**************************************************** */
**************************************************** */
static
HRESULT
WINAPI
IWineD3DCubeTextureImpl_GetDevice
(
IWineD3DCubeTexture
*
iface
,
IWineD3DDevice
**
ppDevice
)
{
return
resource_get_device
((
IWineD3DResource
*
)
iface
,
ppDevice
);
}
static
HRESULT
WINAPI
IWineD3DCubeTextureImpl_SetPrivateData
(
IWineD3DCubeTexture
*
iface
,
REFGUID
refguid
,
CONST
void
*
pData
,
DWORD
SizeOfData
,
DWORD
Flags
)
{
static
HRESULT
WINAPI
IWineD3DCubeTextureImpl_SetPrivateData
(
IWineD3DCubeTexture
*
iface
,
REFGUID
refguid
,
CONST
void
*
pData
,
DWORD
SizeOfData
,
DWORD
Flags
)
{
return
resource_set_private_data
((
IWineD3DResource
*
)
iface
,
refguid
,
pData
,
SizeOfData
,
Flags
);
return
resource_set_private_data
((
IWineD3DResource
*
)
iface
,
refguid
,
pData
,
SizeOfData
,
Flags
);
}
}
...
@@ -404,7 +400,6 @@ static const IWineD3DCubeTextureVtbl IWineD3DCubeTexture_Vtbl =
...
@@ -404,7 +400,6 @@ static const IWineD3DCubeTextureVtbl IWineD3DCubeTexture_Vtbl =
IWineD3DCubeTextureImpl_Release
,
IWineD3DCubeTextureImpl_Release
,
/* IWineD3DResource */
/* IWineD3DResource */
IWineD3DCubeTextureImpl_GetParent
,
IWineD3DCubeTextureImpl_GetParent
,
IWineD3DCubeTextureImpl_GetDevice
,
IWineD3DCubeTextureImpl_SetPrivateData
,
IWineD3DCubeTextureImpl_SetPrivateData
,
IWineD3DCubeTextureImpl_GetPrivateData
,
IWineD3DCubeTextureImpl_GetPrivateData
,
IWineD3DCubeTextureImpl_FreePrivateData
,
IWineD3DCubeTextureImpl_FreePrivateData
,
...
...
dlls/wined3d/pixelshader.c
View file @
b6ef17f2
...
@@ -90,15 +90,6 @@ static HRESULT WINAPI IWineD3DPixelShaderImpl_GetParent(IWineD3DPixelShader *if
...
@@ -90,15 +90,6 @@ static HRESULT WINAPI IWineD3DPixelShaderImpl_GetParent(IWineD3DPixelShader *if
return
WINED3D_OK
;
return
WINED3D_OK
;
}
}
static
HRESULT
WINAPI
IWineD3DPixelShaderImpl_GetDevice
(
IWineD3DPixelShader
*
iface
,
IWineD3DDevice
**
pDevice
){
IWineD3DPixelShaderImpl
*
This
=
(
IWineD3DPixelShaderImpl
*
)
iface
;
IWineD3DDevice_AddRef
(
This
->
baseShader
.
device
);
*
pDevice
=
This
->
baseShader
.
device
;
TRACE
(
"(%p) returning %p
\n
"
,
This
,
*
pDevice
);
return
WINED3D_OK
;
}
static
HRESULT
WINAPI
IWineD3DPixelShaderImpl_GetFunction
(
IWineD3DPixelShader
*
impl
,
VOID
*
pData
,
UINT
*
pSizeOfData
)
{
static
HRESULT
WINAPI
IWineD3DPixelShaderImpl_GetFunction
(
IWineD3DPixelShader
*
impl
,
VOID
*
pData
,
UINT
*
pSizeOfData
)
{
IWineD3DPixelShaderImpl
*
This
=
(
IWineD3DPixelShaderImpl
*
)
impl
;
IWineD3DPixelShaderImpl
*
This
=
(
IWineD3DPixelShaderImpl
*
)
impl
;
TRACE
(
"(%p) : pData(%p), pSizeOfData(%p)
\n
"
,
This
,
pData
,
pSizeOfData
);
TRACE
(
"(%p) : pData(%p), pSizeOfData(%p)
\n
"
,
This
,
pData
,
pSizeOfData
);
...
@@ -353,7 +344,6 @@ static const IWineD3DPixelShaderVtbl IWineD3DPixelShader_Vtbl =
...
@@ -353,7 +344,6 @@ static const IWineD3DPixelShaderVtbl IWineD3DPixelShader_Vtbl =
/*** IWineD3DBase methods ***/
/*** IWineD3DBase methods ***/
IWineD3DPixelShaderImpl_GetParent
,
IWineD3DPixelShaderImpl_GetParent
,
/*** IWineD3DBaseShader methods ***/
/*** IWineD3DBaseShader methods ***/
IWineD3DPixelShaderImpl_GetDevice
,
IWineD3DPixelShaderImpl_GetFunction
IWineD3DPixelShaderImpl_GetFunction
/*** IWineD3DPixelShader methods ***/
/*** IWineD3DPixelShader methods ***/
};
};
...
...
dlls/wined3d/query.c
View file @
b6ef17f2
...
@@ -98,15 +98,6 @@ static HRESULT WINAPI IWineD3DQueryImpl_GetParent(IWineD3DQuery *iface, IUnknow
...
@@ -98,15 +98,6 @@ static HRESULT WINAPI IWineD3DQueryImpl_GetParent(IWineD3DQuery *iface, IUnknow
return
WINED3D_OK
;
return
WINED3D_OK
;
}
}
static
HRESULT
WINAPI
IWineD3DQueryImpl_GetDevice
(
IWineD3DQuery
*
iface
,
IWineD3DDevice
**
pDevice
){
IWineD3DQueryImpl
*
This
=
(
IWineD3DQueryImpl
*
)
iface
;
IWineD3DDevice_AddRef
((
IWineD3DDevice
*
)
This
->
wineD3DDevice
);
*
pDevice
=
(
IWineD3DDevice
*
)
This
->
wineD3DDevice
;
TRACE
(
"(%p) returning %p
\n
"
,
This
,
*
pDevice
);
return
WINED3D_OK
;
}
static
HRESULT
WINAPI
IWineD3DQueryImpl_GetData
(
IWineD3DQuery
*
iface
,
void
*
pData
,
DWORD
dwSize
,
DWORD
dwGetDataFlags
){
static
HRESULT
WINAPI
IWineD3DQueryImpl_GetData
(
IWineD3DQuery
*
iface
,
void
*
pData
,
DWORD
dwSize
,
DWORD
dwGetDataFlags
){
IWineD3DQueryImpl
*
This
=
(
IWineD3DQueryImpl
*
)
iface
;
IWineD3DQueryImpl
*
This
=
(
IWineD3DQueryImpl
*
)
iface
;
HRESULT
res
=
S_OK
;
HRESULT
res
=
S_OK
;
...
@@ -640,7 +631,6 @@ const IWineD3DQueryVtbl IWineD3DQuery_Vtbl =
...
@@ -640,7 +631,6 @@ const IWineD3DQueryVtbl IWineD3DQuery_Vtbl =
IWineD3DQueryImpl_Release
,
IWineD3DQueryImpl_Release
,
/*** IWineD3Dquery methods ***/
/*** IWineD3Dquery methods ***/
IWineD3DQueryImpl_GetParent
,
IWineD3DQueryImpl_GetParent
,
IWineD3DQueryImpl_GetDevice
,
IWineD3DQueryImpl_GetData
,
IWineD3DQueryImpl_GetData
,
IWineD3DQueryImpl_GetDataSize
,
IWineD3DQueryImpl_GetDataSize
,
IWineD3DQueryImpl_GetType
,
IWineD3DQueryImpl_GetType
,
...
@@ -655,7 +645,6 @@ const IWineD3DQueryVtbl IWineD3DEventQuery_Vtbl =
...
@@ -655,7 +645,6 @@ const IWineD3DQueryVtbl IWineD3DEventQuery_Vtbl =
IWineD3DQueryImpl_Release
,
IWineD3DQueryImpl_Release
,
/*** IWineD3Dquery methods ***/
/*** IWineD3Dquery methods ***/
IWineD3DQueryImpl_GetParent
,
IWineD3DQueryImpl_GetParent
,
IWineD3DQueryImpl_GetDevice
,
IWineD3DEventQueryImpl_GetData
,
IWineD3DEventQueryImpl_GetData
,
IWineD3DEventQueryImpl_GetDataSize
,
IWineD3DEventQueryImpl_GetDataSize
,
IWineD3DQueryImpl_GetType
,
IWineD3DQueryImpl_GetType
,
...
@@ -670,7 +659,6 @@ const IWineD3DQueryVtbl IWineD3DOcclusionQuery_Vtbl =
...
@@ -670,7 +659,6 @@ const IWineD3DQueryVtbl IWineD3DOcclusionQuery_Vtbl =
IWineD3DQueryImpl_Release
,
IWineD3DQueryImpl_Release
,
/*** IWineD3Dquery methods ***/
/*** IWineD3Dquery methods ***/
IWineD3DQueryImpl_GetParent
,
IWineD3DQueryImpl_GetParent
,
IWineD3DQueryImpl_GetDevice
,
IWineD3DOcclusionQueryImpl_GetData
,
IWineD3DOcclusionQueryImpl_GetData
,
IWineD3DOcclusionQueryImpl_GetDataSize
,
IWineD3DOcclusionQueryImpl_GetDataSize
,
IWineD3DQueryImpl_GetType
,
IWineD3DQueryImpl_GetType
,
...
...
dlls/wined3d/resource.c
View file @
b6ef17f2
...
@@ -105,15 +105,6 @@ void resource_cleanup(IWineD3DResource *iface)
...
@@ -105,15 +105,6 @@ void resource_cleanup(IWineD3DResource *iface)
if
(
This
->
resource
.
wineD3DDevice
)
device_resource_released
(
This
->
resource
.
wineD3DDevice
,
iface
);
if
(
This
->
resource
.
wineD3DDevice
)
device_resource_released
(
This
->
resource
.
wineD3DDevice
,
iface
);
}
}
HRESULT
resource_get_device
(
IWineD3DResource
*
iface
,
IWineD3DDevice
**
ppDevice
)
{
IWineD3DResourceImpl
*
This
=
(
IWineD3DResourceImpl
*
)
iface
;
TRACE
(
"(%p) : returning %p
\n
"
,
This
,
This
->
resource
.
wineD3DDevice
);
*
ppDevice
=
(
IWineD3DDevice
*
)
This
->
resource
.
wineD3DDevice
;
IWineD3DDevice_AddRef
(
*
ppDevice
);
return
WINED3D_OK
;
}
static
PrivateData
*
resource_find_private_data
(
IWineD3DResourceImpl
*
This
,
REFGUID
tag
)
static
PrivateData
*
resource_find_private_data
(
IWineD3DResourceImpl
*
This
,
REFGUID
tag
)
{
{
PrivateData
*
data
;
PrivateData
*
data
;
...
...
dlls/wined3d/stateblock.c
View file @
b6ef17f2
...
@@ -535,16 +535,6 @@ static ULONG WINAPI IWineD3DStateBlockImpl_Release(IWineD3DStateBlock *iface) {
...
@@ -535,16 +535,6 @@ static ULONG WINAPI IWineD3DStateBlockImpl_Release(IWineD3DStateBlock *iface) {
/**********************************************************
/**********************************************************
* IWineD3DStateBlockImpl parts follows
* IWineD3DStateBlockImpl parts follows
**********************************************************/
**********************************************************/
static
HRESULT
WINAPI
IWineD3DStateBlockImpl_GetDevice
(
IWineD3DStateBlock
*
iface
,
IWineD3DDevice
**
ppDevice
){
IWineD3DStateBlockImpl
*
This
=
(
IWineD3DStateBlockImpl
*
)
iface
;
*
ppDevice
=
(
IWineD3DDevice
*
)
This
->
wineD3DDevice
;
IWineD3DDevice_AddRef
(
*
ppDevice
);
return
WINED3D_OK
;
}
static
void
record_lights
(
IWineD3DStateBlockImpl
*
This
,
const
IWineD3DStateBlockImpl
*
targetStateBlock
)
static
void
record_lights
(
IWineD3DStateBlockImpl
*
This
,
const
IWineD3DStateBlockImpl
*
targetStateBlock
)
{
{
UINT
i
;
UINT
i
;
...
@@ -1321,7 +1311,6 @@ static const IWineD3DStateBlockVtbl IWineD3DStateBlock_Vtbl =
...
@@ -1321,7 +1311,6 @@ static const IWineD3DStateBlockVtbl IWineD3DStateBlock_Vtbl =
IWineD3DStateBlockImpl_AddRef
,
IWineD3DStateBlockImpl_AddRef
,
IWineD3DStateBlockImpl_Release
,
IWineD3DStateBlockImpl_Release
,
/* IWineD3DStateBlock */
/* IWineD3DStateBlock */
IWineD3DStateBlockImpl_GetDevice
,
IWineD3DStateBlockImpl_Capture
,
IWineD3DStateBlockImpl_Capture
,
IWineD3DStateBlockImpl_Apply
,
IWineD3DStateBlockImpl_Apply
,
IWineD3DStateBlockImpl_InitStartupStateBlock
IWineD3DStateBlockImpl_InitStartupStateBlock
...
...
dlls/wined3d/surface.c
View file @
b6ef17f2
...
@@ -5154,7 +5154,6 @@ const IWineD3DSurfaceVtbl IWineD3DSurface_Vtbl =
...
@@ -5154,7 +5154,6 @@ const IWineD3DSurfaceVtbl IWineD3DSurface_Vtbl =
IWineD3DSurfaceImpl_Release
,
IWineD3DSurfaceImpl_Release
,
/* IWineD3DResource */
/* IWineD3DResource */
IWineD3DBaseSurfaceImpl_GetParent
,
IWineD3DBaseSurfaceImpl_GetParent
,
IWineD3DBaseSurfaceImpl_GetDevice
,
IWineD3DBaseSurfaceImpl_SetPrivateData
,
IWineD3DBaseSurfaceImpl_SetPrivateData
,
IWineD3DBaseSurfaceImpl_GetPrivateData
,
IWineD3DBaseSurfaceImpl_GetPrivateData
,
IWineD3DBaseSurfaceImpl_FreePrivateData
,
IWineD3DBaseSurfaceImpl_FreePrivateData
,
...
...
dlls/wined3d/surface_base.c
View file @
b6ef17f2
...
@@ -117,10 +117,6 @@ ULONG WINAPI IWineD3DBaseSurfaceImpl_AddRef(IWineD3DSurface *iface) {
...
@@ -117,10 +117,6 @@ ULONG WINAPI IWineD3DBaseSurfaceImpl_AddRef(IWineD3DSurface *iface) {
/* ****************************************************
/* ****************************************************
IWineD3DSurface IWineD3DResource parts follow
IWineD3DSurface IWineD3DResource parts follow
**************************************************** */
**************************************************** */
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_GetDevice
(
IWineD3DSurface
*
iface
,
IWineD3DDevice
**
ppDevice
)
{
return
resource_get_device
((
IWineD3DResource
*
)
iface
,
ppDevice
);
}
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_SetPrivateData
(
IWineD3DSurface
*
iface
,
REFGUID
refguid
,
CONST
void
*
pData
,
DWORD
SizeOfData
,
DWORD
Flags
)
{
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_SetPrivateData
(
IWineD3DSurface
*
iface
,
REFGUID
refguid
,
CONST
void
*
pData
,
DWORD
SizeOfData
,
DWORD
Flags
)
{
return
resource_set_private_data
((
IWineD3DResource
*
)
iface
,
refguid
,
pData
,
SizeOfData
,
Flags
);
return
resource_set_private_data
((
IWineD3DResource
*
)
iface
,
refguid
,
pData
,
SizeOfData
,
Flags
);
}
}
...
...
dlls/wined3d/surface_gdi.c
View file @
b6ef17f2
...
@@ -646,7 +646,6 @@ const IWineD3DSurfaceVtbl IWineGDISurface_Vtbl =
...
@@ -646,7 +646,6 @@ const IWineD3DSurfaceVtbl IWineGDISurface_Vtbl =
IWineGDISurfaceImpl_Release
,
IWineGDISurfaceImpl_Release
,
/* IWineD3DResource */
/* IWineD3DResource */
IWineD3DBaseSurfaceImpl_GetParent
,
IWineD3DBaseSurfaceImpl_GetParent
,
IWineD3DBaseSurfaceImpl_GetDevice
,
IWineD3DBaseSurfaceImpl_SetPrivateData
,
IWineD3DBaseSurfaceImpl_SetPrivateData
,
IWineD3DBaseSurfaceImpl_GetPrivateData
,
IWineD3DBaseSurfaceImpl_GetPrivateData
,
IWineD3DBaseSurfaceImpl_FreePrivateData
,
IWineD3DBaseSurfaceImpl_FreePrivateData
,
...
...
dlls/wined3d/texture.c
View file @
b6ef17f2
...
@@ -171,10 +171,6 @@ static ULONG WINAPI IWineD3DTextureImpl_Release(IWineD3DTexture *iface) {
...
@@ -171,10 +171,6 @@ static ULONG WINAPI IWineD3DTextureImpl_Release(IWineD3DTexture *iface) {
/* ****************************************************
/* ****************************************************
IWineD3DTexture IWineD3DResource parts follow
IWineD3DTexture IWineD3DResource parts follow
**************************************************** */
**************************************************** */
static
HRESULT
WINAPI
IWineD3DTextureImpl_GetDevice
(
IWineD3DTexture
*
iface
,
IWineD3DDevice
**
ppDevice
)
{
return
resource_get_device
((
IWineD3DResource
*
)
iface
,
ppDevice
);
}
static
HRESULT
WINAPI
IWineD3DTextureImpl_SetPrivateData
(
IWineD3DTexture
*
iface
,
REFGUID
refguid
,
CONST
void
*
pData
,
DWORD
SizeOfData
,
DWORD
Flags
)
{
static
HRESULT
WINAPI
IWineD3DTextureImpl_SetPrivateData
(
IWineD3DTexture
*
iface
,
REFGUID
refguid
,
CONST
void
*
pData
,
DWORD
SizeOfData
,
DWORD
Flags
)
{
return
resource_set_private_data
((
IWineD3DResource
*
)
iface
,
refguid
,
pData
,
SizeOfData
,
Flags
);
return
resource_set_private_data
((
IWineD3DResource
*
)
iface
,
refguid
,
pData
,
SizeOfData
,
Flags
);
}
}
...
@@ -405,7 +401,6 @@ static const IWineD3DTextureVtbl IWineD3DTexture_Vtbl =
...
@@ -405,7 +401,6 @@ static const IWineD3DTextureVtbl IWineD3DTexture_Vtbl =
IWineD3DTextureImpl_Release
,
IWineD3DTextureImpl_Release
,
/* IWineD3DResource */
/* IWineD3DResource */
IWineD3DTextureImpl_GetParent
,
IWineD3DTextureImpl_GetParent
,
IWineD3DTextureImpl_GetDevice
,
IWineD3DTextureImpl_SetPrivateData
,
IWineD3DTextureImpl_SetPrivateData
,
IWineD3DTextureImpl_GetPrivateData
,
IWineD3DTextureImpl_GetPrivateData
,
IWineD3DTextureImpl_FreePrivateData
,
IWineD3DTextureImpl_FreePrivateData
,
...
...
dlls/wined3d/vertexdeclaration.c
View file @
b6ef17f2
...
@@ -88,16 +88,6 @@ static HRESULT WINAPI IWineD3DVertexDeclarationImpl_GetParent(IWineD3DVertexDecl
...
@@ -88,16 +88,6 @@ static HRESULT WINAPI IWineD3DVertexDeclarationImpl_GetParent(IWineD3DVertexDecl
return
WINED3D_OK
;
return
WINED3D_OK
;
}
}
static
HRESULT
WINAPI
IWineD3DVertexDeclarationImpl_GetDevice
(
IWineD3DVertexDeclaration
*
iface
,
IWineD3DDevice
**
ppDevice
)
{
IWineD3DVertexDeclarationImpl
*
This
=
(
IWineD3DVertexDeclarationImpl
*
)
iface
;
TRACE
(
"(%p) : returning %p
\n
"
,
This
,
This
->
wineD3DDevice
);
*
ppDevice
=
(
IWineD3DDevice
*
)
This
->
wineD3DDevice
;
IWineD3DDevice_AddRef
(
*
ppDevice
);
return
WINED3D_OK
;
}
static
BOOL
declaration_element_valid_ffp
(
const
WINED3DVERTEXELEMENT
*
element
)
static
BOOL
declaration_element_valid_ffp
(
const
WINED3DVERTEXELEMENT
*
element
)
{
{
switch
(
element
->
usage
)
switch
(
element
->
usage
)
...
@@ -194,7 +184,6 @@ static const IWineD3DVertexDeclarationVtbl IWineD3DVertexDeclaration_Vtbl =
...
@@ -194,7 +184,6 @@ static const IWineD3DVertexDeclarationVtbl IWineD3DVertexDeclaration_Vtbl =
IWineD3DVertexDeclarationImpl_Release
,
IWineD3DVertexDeclarationImpl_Release
,
/* IWineD3DVertexDeclaration */
/* IWineD3DVertexDeclaration */
IWineD3DVertexDeclarationImpl_GetParent
,
IWineD3DVertexDeclarationImpl_GetParent
,
IWineD3DVertexDeclarationImpl_GetDevice
,
};
};
HRESULT
vertexdeclaration_init
(
IWineD3DVertexDeclarationImpl
*
declaration
,
IWineD3DDeviceImpl
*
device
,
HRESULT
vertexdeclaration_init
(
IWineD3DVertexDeclarationImpl
*
declaration
,
IWineD3DDeviceImpl
*
device
,
...
...
dlls/wined3d/vertexshader.c
View file @
b6ef17f2
...
@@ -194,14 +194,6 @@ static HRESULT WINAPI IWineD3DVertexShaderImpl_GetParent(IWineD3DVertexShader *i
...
@@ -194,14 +194,6 @@ static HRESULT WINAPI IWineD3DVertexShaderImpl_GetParent(IWineD3DVertexShader *i
return
WINED3D_OK
;
return
WINED3D_OK
;
}
}
static
HRESULT
WINAPI
IWineD3DVertexShaderImpl_GetDevice
(
IWineD3DVertexShader
*
iface
,
IWineD3DDevice
**
pDevice
){
IWineD3DVertexShaderImpl
*
This
=
(
IWineD3DVertexShaderImpl
*
)
iface
;
IWineD3DDevice_AddRef
(
This
->
baseShader
.
device
);
*
pDevice
=
This
->
baseShader
.
device
;
TRACE
(
"(%p) returning %p
\n
"
,
This
,
*
pDevice
);
return
WINED3D_OK
;
}
static
HRESULT
WINAPI
IWineD3DVertexShaderImpl_GetFunction
(
IWineD3DVertexShader
*
impl
,
VOID
*
pData
,
UINT
*
pSizeOfData
)
{
static
HRESULT
WINAPI
IWineD3DVertexShaderImpl_GetFunction
(
IWineD3DVertexShader
*
impl
,
VOID
*
pData
,
UINT
*
pSizeOfData
)
{
IWineD3DVertexShaderImpl
*
This
=
(
IWineD3DVertexShaderImpl
*
)
impl
;
IWineD3DVertexShaderImpl
*
This
=
(
IWineD3DVertexShaderImpl
*
)
impl
;
TRACE
(
"(%p) : pData(%p), pSizeOfData(%p)
\n
"
,
This
,
pData
,
pSizeOfData
);
TRACE
(
"(%p) : pData(%p), pSizeOfData(%p)
\n
"
,
This
,
pData
,
pSizeOfData
);
...
@@ -348,7 +340,6 @@ static const IWineD3DVertexShaderVtbl IWineD3DVertexShader_Vtbl =
...
@@ -348,7 +340,6 @@ static const IWineD3DVertexShaderVtbl IWineD3DVertexShader_Vtbl =
/*** IWineD3DBase methods ***/
/*** IWineD3DBase methods ***/
IWineD3DVertexShaderImpl_GetParent
,
IWineD3DVertexShaderImpl_GetParent
,
/*** IWineD3DBaseShader methods ***/
/*** IWineD3DBaseShader methods ***/
IWineD3DVertexShaderImpl_GetDevice
,
IWineD3DVertexShaderImpl_GetFunction
,
IWineD3DVertexShaderImpl_GetFunction
,
/*** IWineD3DVertexShader methods ***/
/*** IWineD3DVertexShader methods ***/
IWIneD3DVertexShaderImpl_SetLocalConstantsF
IWIneD3DVertexShaderImpl_SetLocalConstantsF
...
...
dlls/wined3d/volume.c
View file @
b6ef17f2
...
@@ -138,10 +138,6 @@ static HRESULT WINAPI IWineD3DVolumeImpl_GetParent(IWineD3DVolume *iface, IUnkno
...
@@ -138,10 +138,6 @@ static HRESULT WINAPI IWineD3DVolumeImpl_GetParent(IWineD3DVolume *iface, IUnkno
return
resource_get_parent
((
IWineD3DResource
*
)
iface
,
pParent
);
return
resource_get_parent
((
IWineD3DResource
*
)
iface
,
pParent
);
}
}
static
HRESULT
WINAPI
IWineD3DVolumeImpl_GetDevice
(
IWineD3DVolume
*
iface
,
IWineD3DDevice
**
ppDevice
)
{
return
resource_get_device
((
IWineD3DResource
*
)
iface
,
ppDevice
);
}
static
HRESULT
WINAPI
IWineD3DVolumeImpl_SetPrivateData
(
IWineD3DVolume
*
iface
,
REFGUID
refguid
,
CONST
void
*
pData
,
DWORD
SizeOfData
,
DWORD
Flags
)
{
static
HRESULT
WINAPI
IWineD3DVolumeImpl_SetPrivateData
(
IWineD3DVolume
*
iface
,
REFGUID
refguid
,
CONST
void
*
pData
,
DWORD
SizeOfData
,
DWORD
Flags
)
{
return
resource_set_private_data
((
IWineD3DResource
*
)
iface
,
refguid
,
pData
,
SizeOfData
,
Flags
);
return
resource_set_private_data
((
IWineD3DResource
*
)
iface
,
refguid
,
pData
,
SizeOfData
,
Flags
);
}
}
...
@@ -361,7 +357,6 @@ static const IWineD3DVolumeVtbl IWineD3DVolume_Vtbl =
...
@@ -361,7 +357,6 @@ static const IWineD3DVolumeVtbl IWineD3DVolume_Vtbl =
IWineD3DVolumeImpl_Release
,
IWineD3DVolumeImpl_Release
,
/* IWineD3DResource */
/* IWineD3DResource */
IWineD3DVolumeImpl_GetParent
,
IWineD3DVolumeImpl_GetParent
,
IWineD3DVolumeImpl_GetDevice
,
IWineD3DVolumeImpl_SetPrivateData
,
IWineD3DVolumeImpl_SetPrivateData
,
IWineD3DVolumeImpl_GetPrivateData
,
IWineD3DVolumeImpl_GetPrivateData
,
IWineD3DVolumeImpl_FreePrivateData
,
IWineD3DVolumeImpl_FreePrivateData
,
...
...
dlls/wined3d/volumetexture.c
View file @
b6ef17f2
...
@@ -139,10 +139,6 @@ static ULONG WINAPI IWineD3DVolumeTextureImpl_Release(IWineD3DVolumeTexture *ifa
...
@@ -139,10 +139,6 @@ static ULONG WINAPI IWineD3DVolumeTextureImpl_Release(IWineD3DVolumeTexture *ifa
/* ****************************************************
/* ****************************************************
IWineD3DVolumeTexture IWineD3DResource parts follow
IWineD3DVolumeTexture IWineD3DResource parts follow
**************************************************** */
**************************************************** */
static
HRESULT
WINAPI
IWineD3DVolumeTextureImpl_GetDevice
(
IWineD3DVolumeTexture
*
iface
,
IWineD3DDevice
**
ppDevice
)
{
return
resource_get_device
((
IWineD3DResource
*
)
iface
,
ppDevice
);
}
static
HRESULT
WINAPI
IWineD3DVolumeTextureImpl_SetPrivateData
(
IWineD3DVolumeTexture
*
iface
,
REFGUID
refguid
,
CONST
void
*
pData
,
DWORD
SizeOfData
,
DWORD
Flags
)
{
static
HRESULT
WINAPI
IWineD3DVolumeTextureImpl_SetPrivateData
(
IWineD3DVolumeTexture
*
iface
,
REFGUID
refguid
,
CONST
void
*
pData
,
DWORD
SizeOfData
,
DWORD
Flags
)
{
return
resource_set_private_data
((
IWineD3DResource
*
)
iface
,
refguid
,
pData
,
SizeOfData
,
Flags
);
return
resource_set_private_data
((
IWineD3DResource
*
)
iface
,
refguid
,
pData
,
SizeOfData
,
Flags
);
}
}
...
@@ -322,7 +318,6 @@ static const IWineD3DVolumeTextureVtbl IWineD3DVolumeTexture_Vtbl =
...
@@ -322,7 +318,6 @@ static const IWineD3DVolumeTextureVtbl IWineD3DVolumeTexture_Vtbl =
IWineD3DVolumeTextureImpl_Release
,
IWineD3DVolumeTextureImpl_Release
,
/* resource */
/* resource */
IWineD3DVolumeTextureImpl_GetParent
,
IWineD3DVolumeTextureImpl_GetParent
,
IWineD3DVolumeTextureImpl_GetDevice
,
IWineD3DVolumeTextureImpl_SetPrivateData
,
IWineD3DVolumeTextureImpl_SetPrivateData
,
IWineD3DVolumeTextureImpl_GetPrivateData
,
IWineD3DVolumeTextureImpl_GetPrivateData
,
IWineD3DVolumeTextureImpl_FreePrivateData
,
IWineD3DVolumeTextureImpl_FreePrivateData
,
...
...
dlls/wined3d/wined3d_private.h
View file @
b6ef17f2
...
@@ -1653,7 +1653,6 @@ typedef struct IWineD3DResourceImpl
...
@@ -1653,7 +1653,6 @@ typedef struct IWineD3DResourceImpl
void
resource_cleanup
(
IWineD3DResource
*
iface
)
DECLSPEC_HIDDEN
;
void
resource_cleanup
(
IWineD3DResource
*
iface
)
DECLSPEC_HIDDEN
;
HRESULT
resource_free_private_data
(
IWineD3DResource
*
iface
,
REFGUID
guid
)
DECLSPEC_HIDDEN
;
HRESULT
resource_free_private_data
(
IWineD3DResource
*
iface
,
REFGUID
guid
)
DECLSPEC_HIDDEN
;
HRESULT
resource_get_device
(
IWineD3DResource
*
iface
,
IWineD3DDevice
**
device
)
DECLSPEC_HIDDEN
;
HRESULT
resource_get_parent
(
IWineD3DResource
*
iface
,
IUnknown
**
parent
)
DECLSPEC_HIDDEN
;
HRESULT
resource_get_parent
(
IWineD3DResource
*
iface
,
IUnknown
**
parent
)
DECLSPEC_HIDDEN
;
DWORD
resource_get_priority
(
IWineD3DResource
*
iface
)
DECLSPEC_HIDDEN
;
DWORD
resource_get_priority
(
IWineD3DResource
*
iface
)
DECLSPEC_HIDDEN
;
HRESULT
resource_get_private_data
(
IWineD3DResource
*
iface
,
REFGUID
guid
,
HRESULT
resource_get_private_data
(
IWineD3DResource
*
iface
,
REFGUID
guid
,
...
@@ -1974,7 +1973,6 @@ HRESULT WINAPI IWineD3DBaseSurfaceImpl_QueryInterface(IWineD3DSurface *iface,
...
@@ -1974,7 +1973,6 @@ HRESULT WINAPI IWineD3DBaseSurfaceImpl_QueryInterface(IWineD3DSurface *iface,
REFIID
riid
,
LPVOID
*
ppobj
)
DECLSPEC_HIDDEN
;
REFIID
riid
,
LPVOID
*
ppobj
)
DECLSPEC_HIDDEN
;
ULONG
WINAPI
IWineD3DBaseSurfaceImpl_AddRef
(
IWineD3DSurface
*
iface
)
DECLSPEC_HIDDEN
;
ULONG
WINAPI
IWineD3DBaseSurfaceImpl_AddRef
(
IWineD3DSurface
*
iface
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_GetParent
(
IWineD3DSurface
*
iface
,
IUnknown
**
pParent
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_GetParent
(
IWineD3DSurface
*
iface
,
IUnknown
**
pParent
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_GetDevice
(
IWineD3DSurface
*
iface
,
IWineD3DDevice
**
ppDevice
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_SetPrivateData
(
IWineD3DSurface
*
iface
,
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_SetPrivateData
(
IWineD3DSurface
*
iface
,
REFGUID
refguid
,
const
void
*
pData
,
DWORD
SizeOfData
,
DWORD
Flags
)
DECLSPEC_HIDDEN
;
REFGUID
refguid
,
const
void
*
pData
,
DWORD
SizeOfData
,
DWORD
Flags
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_GetPrivateData
(
IWineD3DSurface
*
iface
,
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_GetPrivateData
(
IWineD3DSurface
*
iface
,
...
...
include/wine/wined3d.idl
View file @
b6ef17f2
...
@@ -2327,9 +2327,6 @@ interface IWineD3D : IWineD3DBase
...
@@ -2327,9 +2327,6 @@ interface IWineD3D : IWineD3DBase
]
]
interface
IWineD3DResource
:
IWineD3DBase
interface
IWineD3DResource
:
IWineD3DBase
{
{
HRESULT
GetDevice
(
[
out
]
IWineD3DDevice
**
device
)
;
HRESULT
SetPrivateData
(
HRESULT
SetPrivateData
(
[
in
]
REFGUID
guid
,
[
in
]
REFGUID
guid
,
[
in
]
const
void
*
data
,
[
in
]
const
void
*
data
,
...
@@ -2715,9 +2712,6 @@ interface IWineD3DVolumeTexture : IWineD3DBaseTexture
...
@@ -2715,9 +2712,6 @@ interface IWineD3DVolumeTexture : IWineD3DBaseTexture
]
]
interface
IWineD3DVertexDeclaration
:
IWineD3DBase
interface
IWineD3DVertexDeclaration
:
IWineD3DBase
{
{
HRESULT
GetDevice
(
[
out
]
IWineD3DDevice
**
device
)
;
}
}
[
[
...
@@ -2727,9 +2721,6 @@ interface IWineD3DVertexDeclaration : IWineD3DBase
...
@@ -2727,9 +2721,6 @@ interface IWineD3DVertexDeclaration : IWineD3DBase
]
]
interface
IWineD3DStateBlock
:
IUnknown
interface
IWineD3DStateBlock
:
IUnknown
{
{
HRESULT
GetDevice
(
[
out
]
IWineD3DDevice
**
device
)
;
HRESULT
Capture
(
HRESULT
Capture
(
)
;
)
;
HRESULT
Apply
(
HRESULT
Apply
(
...
@@ -2745,9 +2736,6 @@ interface IWineD3DStateBlock : IUnknown
...
@@ -2745,9 +2736,6 @@ interface IWineD3DStateBlock : IUnknown
]
]
interface
IWineD3DQuery
:
IWineD3DBase
interface
IWineD3DQuery
:
IWineD3DBase
{
{
HRESULT
GetDevice
(
[
out
]
IWineD3DDevice
**
device
)
;
HRESULT
GetData
(
HRESULT
GetData
(
[
out
]
void
*
data
,
[
out
]
void
*
data
,
[
in
]
DWORD
data_size
,
[
in
]
DWORD
data_size
,
...
@@ -2837,9 +2825,6 @@ interface IWineD3DBuffer : IWineD3DResource
...
@@ -2837,9 +2825,6 @@ interface IWineD3DBuffer : IWineD3DResource
]
]
interface
IWineD3DBaseShader
:
IWineD3DBase
interface
IWineD3DBaseShader
:
IWineD3DBase
{
{
HRESULT
GetDevice
(
[
out
]
IWineD3DDevice
**
device
)
;
HRESULT
GetFunction
(
HRESULT
GetFunction
(
[
out
]
void
*
data
,
[
out
]
void
*
data
,
[
in
,
out
]
UINT
*
data_size
[
in
,
out
]
UINT
*
data_size
...
...
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