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
9b397ec2
Commit
9b397ec2
authored
Dec 18, 2006
by
Markus Amsler
Committed by
Alexandre Julliard
Dec 18, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove IWineD3DSurface_GetContainerParent.
parent
63e23995
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
28 deletions
+0
-28
surface.c
dlls/wined3d/surface.c
+0
-24
surface_gdi.c
dlls/wined3d/surface_gdi.c
+0
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-1
wined3d_interface.h
include/wine/wined3d_interface.h
+0
-2
No files found.
dlls/wined3d/surface.c
View file @
9b397ec2
...
...
@@ -337,29 +337,6 @@ HRESULT WINAPI IWineD3DSurfaceImpl_GetParent(IWineD3DSurface *iface, IUnknown **
IWineD3DSurface IWineD3DSurface parts follow
****************************************************** */
HRESULT
WINAPI
IWineD3DSurfaceImpl_GetContainerParent
(
IWineD3DSurface
*
iface
,
IUnknown
**
ppContainerParent
)
{
IWineD3DSurfaceImpl
*
This
=
(
IWineD3DSurfaceImpl
*
)
iface
;
TRACE
(
"(%p) : ppContainerParent %p)
\n
"
,
This
,
ppContainerParent
);
if
(
!
ppContainerParent
)
{
ERR
(
"(%p) : Called without a valid ppContainerParent.
\n
"
,
This
);
}
if
(
This
->
container
)
{
IWineD3DBase_GetParent
(
This
->
container
,
ppContainerParent
);
if
(
!
ppContainerParent
)
{
/* WineD3D objects should always have a parent */
ERR
(
"(%p) : GetParent returned NULL
\n
"
,
This
);
}
IUnknown_Release
(
*
ppContainerParent
);
/* GetParent adds a reference; we want just the pointer */
}
else
{
*
ppContainerParent
=
NULL
;
}
return
WINED3D_OK
;
}
HRESULT
WINAPI
IWineD3DSurfaceImpl_GetContainer
(
IWineD3DSurface
*
iface
,
REFIID
riid
,
void
**
ppContainer
)
{
IWineD3DSurfaceImpl
*
This
=
(
IWineD3DSurfaceImpl
*
)
iface
;
IWineD3DBase
*
container
=
0
;
...
...
@@ -3115,7 +3092,6 @@ const IWineD3DSurfaceVtbl IWineD3DSurface_Vtbl =
IWineD3DSurfaceImpl_PreLoad
,
IWineD3DSurfaceImpl_GetType
,
/* IWineD3DSurface */
IWineD3DSurfaceImpl_GetContainerParent
,
IWineD3DSurfaceImpl_GetContainer
,
IWineD3DSurfaceImpl_GetDesc
,
IWineD3DSurfaceImpl_LockRect
,
...
...
dlls/wined3d/surface_gdi.c
View file @
9b397ec2
...
...
@@ -1568,7 +1568,6 @@ const IWineD3DSurfaceVtbl IWineGDISurface_Vtbl =
IWineGDISurfaceImpl_PreLoad
,
IWineD3DSurfaceImpl_GetType
,
/* IWineD3DSurface */
IWineD3DSurfaceImpl_GetContainerParent
,
IWineD3DSurfaceImpl_GetContainer
,
IWineD3DSurfaceImpl_GetDesc
,
IWineGDISurfaceImpl_LockRect
,
...
...
dlls/wined3d/wined3d_private.h
View file @
9b397ec2
...
...
@@ -961,7 +961,6 @@ DWORD WINAPI IWineD3DSurfaceImpl_SetPriority(IWineD3DSurface *iface, DWORD Pri
DWORD
WINAPI
IWineD3DSurfaceImpl_GetPriority
(
IWineD3DSurface
*
iface
);
void
WINAPI
IWineD3DSurfaceImpl_PreLoad
(
IWineD3DSurface
*
iface
);
WINED3DRESOURCETYPE
WINAPI
IWineD3DSurfaceImpl_GetType
(
IWineD3DSurface
*
iface
);
HRESULT
WINAPI
IWineD3DSurfaceImpl_GetContainerParent
(
IWineD3DSurface
*
iface
,
IUnknown
**
ppContainerParent
);
HRESULT
WINAPI
IWineD3DSurfaceImpl_GetContainer
(
IWineD3DSurface
*
iface
,
REFIID
riid
,
void
**
ppContainer
);
HRESULT
WINAPI
IWineD3DSurfaceImpl_GetDesc
(
IWineD3DSurface
*
iface
,
WINED3DSURFACE_DESC
*
pDesc
);
HRESULT
WINAPI
IWineD3DSurfaceImpl_GetBltStatus
(
IWineD3DSurface
*
iface
,
DWORD
Flags
);
...
...
include/wine/wined3d_interface.h
View file @
9b397ec2
...
...
@@ -1096,7 +1096,6 @@ DECLARE_INTERFACE_(IWineD3DSurface,IWineD3DResource)
STDMETHOD_
(
void
,
PreLoad
)(
THIS
)
PURE
;
STDMETHOD_
(
WINED3DRESOURCETYPE
,
GetType
)(
THIS
)
PURE
;
/*** IWineD3DSurface methods ***/
STDMETHOD
(
GetContainerParent
)(
THIS_
IUnknown
**
ppContainerParent
)
PURE
;
STDMETHOD
(
GetContainer
)(
THIS_
REFIID
riid
,
void
**
ppContainer
)
PURE
;
STDMETHOD
(
GetDesc
)(
THIS_
WINED3DSURFACE_DESC
*
pDesc
)
PURE
;
STDMETHOD
(
LockRect
)(
THIS_
WINED3DLOCKED_RECT
*
pLockedRect
,
CONST
RECT
*
pRect
,
DWORD
Flags
)
PURE
;
...
...
@@ -1152,7 +1151,6 @@ DECLARE_INTERFACE_(IWineD3DSurface,IWineD3DResource)
#define IWineD3DSurface_PreLoad(p) (p)->lpVtbl->PreLoad(p)
#define IWineD3DSurface_GetType(p) (p)->lpVtbl->GetType(p)
/*** IWineD3DSurface methods ***/
#define IWineD3DSurface_GetContainerParent(p,a) (p)->lpVtbl->GetContainerParent(p,a)
#define IWineD3DSurface_GetContainer(p,a,b) (p)->lpVtbl->GetContainer(p,a,b)
#define IWineD3DSurface_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a)
#define IWineD3DSurface_LockRect(p,a,b,c) (p)->lpVtbl->LockRect(p,a,b,c)
...
...
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