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
42b814c7
Commit
42b814c7
authored
Aug 25, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove the GetContainer() methods from the public wined3d interface.
There's nothing left that uses these.
parent
22428d97
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
2 additions
and
52 deletions
+2
-52
surface.c
dlls/wined3d/surface.c
+0
-1
surface_base.c
dlls/wined3d/surface_base.c
+0
-18
surface_gdi.c
dlls/wined3d/surface_gdi.c
+0
-1
volume.c
dlls/wined3d/volume.c
+2
-22
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-2
wined3d.idl
include/wine/wined3d.idl
+0
-8
No files found.
dlls/wined3d/surface.c
View file @
42b814c7
...
...
@@ -4719,7 +4719,6 @@ const IWineD3DSurfaceVtbl IWineD3DSurface_Vtbl =
IWineD3DSurfaceImpl_UnLoad
,
IWineD3DBaseSurfaceImpl_GetType
,
/* IWineD3DSurface */
IWineD3DBaseSurfaceImpl_GetContainer
,
IWineD3DBaseSurfaceImpl_GetDesc
,
IWineD3DSurfaceImpl_LockRect
,
IWineD3DSurfaceImpl_UnlockRect
,
...
...
dlls/wined3d/surface_base.c
View file @
42b814c7
...
...
@@ -148,24 +148,6 @@ HRESULT WINAPI IWineD3DBaseSurfaceImpl_GetParent(IWineD3DSurface *iface, IUnknow
IWineD3DSurface IWineD3DSurface parts follow
****************************************************** */
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_GetContainer
(
IWineD3DSurface
*
iface
,
REFIID
riid
,
void
**
ppContainer
)
{
IWineD3DSurfaceImpl
*
This
=
(
IWineD3DSurfaceImpl
*
)
iface
;
IWineD3DBase
*
container
=
0
;
TRACE
(
"(This %p, riid %s, ppContainer %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
ppContainer
);
if
(
!
ppContainer
)
{
ERR
(
"Called without a valid ppContainer.
\n
"
);
}
/* Standalone surfaces return the device as container. */
if
(
This
->
container
.
u
.
base
)
container
=
This
->
container
.
u
.
base
;
else
container
=
(
IWineD3DBase
*
)
This
->
resource
.
device
;
TRACE
(
"Relaying to QueryInterface
\n
"
);
return
IUnknown_QueryInterface
(
container
,
riid
,
ppContainer
);
}
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_GetDesc
(
IWineD3DSurface
*
iface
,
WINED3DSURFACE_DESC
*
pDesc
)
{
IWineD3DSurfaceImpl
*
This
=
(
IWineD3DSurfaceImpl
*
)
iface
;
...
...
dlls/wined3d/surface_gdi.c
View file @
42b814c7
...
...
@@ -503,7 +503,6 @@ const IWineD3DSurfaceVtbl IWineGDISurface_Vtbl =
IWineGDISurfaceImpl_UnLoad
,
IWineD3DBaseSurfaceImpl_GetType
,
/* IWineD3DSurface */
IWineD3DBaseSurfaceImpl_GetContainer
,
IWineD3DBaseSurfaceImpl_GetDesc
,
IWineGDISurfaceImpl_LockRect
,
IWineGDISurfaceImpl_UnlockRect
,
...
...
dlls/wined3d/volume.c
View file @
42b814c7
...
...
@@ -184,27 +184,8 @@ static WINED3DRESOURCETYPE WINAPI IWineD3DVolumeImpl_GetType(IWineD3DVolume *ifa
/* *******************************************
IWineD3DVolume parts follow
******************************************* */
static
HRESULT
WINAPI
IWineD3DVolumeImpl_GetContainer
(
IWineD3DVolume
*
iface
,
REFIID
riid
,
void
**
ppContainer
)
{
IWineD3DVolumeImpl
*
This
=
(
IWineD3DVolumeImpl
*
)
iface
;
TRACE
(
"(This %p, riid %s, ppContainer %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
ppContainer
);
if
(
!
ppContainer
)
{
ERR
(
"Called without a valid ppContainer.
\n
"
);
return
E_FAIL
;
}
/* Although surfaces can be standalone, volumes can't */
if
(
!
This
->
container
)
{
ERR
(
"Volume without an container. Should not happen.
\n
"
);
return
E_FAIL
;
}
TRACE
(
"Relaying to QueryInterface
\n
"
);
return
IUnknown_QueryInterface
((
IWineD3DVolumeTexture
*
)
This
->
container
,
riid
,
ppContainer
);
}
static
HRESULT
WINAPI
IWineD3DVolumeImpl_GetDesc
(
IWineD3DVolume
*
iface
,
WINED3DVOLUME_DESC
*
pDesc
)
{
static
HRESULT
WINAPI
IWineD3DVolumeImpl_GetDesc
(
IWineD3DVolume
*
iface
,
WINED3DVOLUME_DESC
*
pDesc
)
{
IWineD3DVolumeImpl
*
This
=
(
IWineD3DVolumeImpl
*
)
iface
;
TRACE
(
"(%p) : copying into %p
\n
"
,
This
,
pDesc
);
...
...
@@ -349,7 +330,6 @@ static const IWineD3DVolumeVtbl IWineD3DVolume_Vtbl =
IWineD3DVolumeImpl_UnLoad
,
IWineD3DVolumeImpl_GetType
,
/* IWineD3DVolume */
IWineD3DVolumeImpl_GetContainer
,
IWineD3DVolumeImpl_GetDesc
,
IWineD3DVolumeImpl_LockBox
,
IWineD3DVolumeImpl_UnlockBox
,
...
...
dlls/wined3d/wined3d_private.h
View file @
42b814c7
...
...
@@ -2124,8 +2124,6 @@ HRESULT WINAPI IWineD3DBaseSurfaceImpl_FreePrivateData(IWineD3DSurface *iface, R
DWORD
WINAPI
IWineD3DBaseSurfaceImpl_SetPriority
(
IWineD3DSurface
*
iface
,
DWORD
PriorityNew
)
DECLSPEC_HIDDEN
;
DWORD
WINAPI
IWineD3DBaseSurfaceImpl_GetPriority
(
IWineD3DSurface
*
iface
)
DECLSPEC_HIDDEN
;
WINED3DRESOURCETYPE
WINAPI
IWineD3DBaseSurfaceImpl_GetType
(
IWineD3DSurface
*
iface
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_GetContainer
(
IWineD3DSurface
*
iface
,
REFIID
riid
,
void
**
ppContainer
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_GetDesc
(
IWineD3DSurface
*
iface
,
WINED3DSURFACE_DESC
*
pDesc
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_GetBltStatus
(
IWineD3DSurface
*
iface
,
DWORD
Flags
)
DECLSPEC_HIDDEN
;
HRESULT
WINAPI
IWineD3DBaseSurfaceImpl_GetFlipStatus
(
IWineD3DSurface
*
iface
,
DWORD
Flags
)
DECLSPEC_HIDDEN
;
...
...
include/wine/wined3d.idl
View file @
42b814c7
...
...
@@ -2384,10 +2384,6 @@ interface IWineD3DClipper : IWineD3DBase
]
interface
IWineD3DSurface
:
IWineD3DResource
{
HRESULT
GetContainer
(
[
in
]
REFIID
riid
,
[
out
]
void
**
container
)
;
HRESULT
GetDesc
(
[
out
]
WINED3DSURFACE_DESC
*
desc
)
;
...
...
@@ -2501,10 +2497,6 @@ interface IWineD3DSurface : IWineD3DResource
]
interface
IWineD3DVolume
:
IWineD3DResource
{
HRESULT
GetContainer
(
[
in
]
REFIID
riid
,
[
out
]
void
**
container
)
;
HRESULT
GetDesc
(
[
out
]
WINED3DVOLUME_DESC
*
desc
)
;
...
...
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