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
f6647486
Commit
f6647486
authored
Oct 05, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Oct 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add IWineD3DSurface::GetOverlayPosition.
parent
0f3995d2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
2 deletions
+18
-2
surface.c
dlls/ddraw/surface.c
+5
-2
surface.c
dlls/wined3d/surface.c
+9
-0
surface_gdi.c
dlls/wined3d/surface_gdi.c
+1
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-0
wined3d_interface.h
include/wine/wined3d_interface.h
+2
-0
No files found.
dlls/ddraw/surface.c
View file @
f6647486
...
...
@@ -1351,9 +1351,12 @@ static HRESULT WINAPI
IDirectDrawSurfaceImpl_GetOverlayPosition
(
IDirectDrawSurface7
*
iface
,
LONG
*
X
,
LONG
*
Y
)
{
FIXME
(
"(%p)->(%p,%p): Stub!
\n
"
,
iface
,
X
,
Y
);
ICOM_THIS_FROM
(
IDirectDrawSurfaceImpl
,
IDirectDrawSurface7
,
iface
);
TRACE
(
"(%p)->(%p,%p): Relay
\n
"
,
This
,
X
,
Y
);
return
DDERR_NOTAOVERLAYSURFACE
;
return
IWineD3DSurface_GetOverlayPosition
(
This
->
WineD3DSurface
,
X
,
Y
);
}
/*****************************************************************************
...
...
dlls/wined3d/surface.c
View file @
f6647486
...
...
@@ -3079,6 +3079,14 @@ HRESULT WINAPI IWineD3DSurfaceImpl_SetOverlayPosition(IWineD3DSurface *iface, LO
return
WINED3D_OK
;
}
HRESULT
WINAPI
IWineD3DSurfaceImpl_GetOverlayPosition
(
IWineD3DSurface
*
iface
,
LONG
*
X
,
LONG
*
Y
)
{
IWineD3DSurfaceImpl
*
This
=
(
IWineD3DSurfaceImpl
*
)
iface
;
FIXME
(
"(%p)->(%p,%p) Stub!
\n
"
,
This
,
X
,
Y
);
return
WINED3D_OK
;
}
const
IWineD3DSurfaceVtbl
IWineD3DSurface_Vtbl
=
{
/* IUnknown */
...
...
@@ -3117,6 +3125,7 @@ const IWineD3DSurfaceVtbl IWineD3DSurface_Vtbl =
IWineD3DSurfaceImpl_GetPitch
,
IWineD3DSurfaceImpl_SetMem
,
IWineD3DSurfaceImpl_SetOverlayPosition
,
IWineD3DSurfaceImpl_GetOverlayPosition
,
/* Internal use: */
IWineD3DSurfaceImpl_CleanDirtyRect
,
IWineD3DSurfaceImpl_AddDirtyRect
,
...
...
dlls/wined3d/surface_gdi.c
View file @
f6647486
...
...
@@ -1584,6 +1584,7 @@ const IWineD3DSurfaceVtbl IWineGDISurface_Vtbl =
IWineD3DSurfaceImpl_GetPitch
,
IWineD3DSurfaceImpl_SetMem
,
IWineD3DSurfaceImpl_SetOverlayPosition
,
IWineD3DSurfaceImpl_GetOverlayPosition
,
/* Internal use: */
IWineD3DSurfaceImpl_CleanDirtyRect
,
IWineD3DSurfaceImpl_AddDirtyRect
,
...
...
dlls/wined3d/wined3d_private.h
View file @
f6647486
...
...
@@ -949,6 +949,7 @@ DWORD WINAPI IWineD3DSurfaceImpl_GetPitch(IWineD3DSurface *iface);
HRESULT
WINAPI
IWineD3DSurfaceImpl_RealizePalette
(
IWineD3DSurface
*
iface
);
HRESULT
WINAPI
IWineD3DSurfaceImpl_SetMem
(
IWineD3DSurface
*
iface
,
void
*
Mem
);
HRESULT
WINAPI
IWineD3DSurfaceImpl_SetOverlayPosition
(
IWineD3DSurface
*
iface
,
LONG
X
,
LONG
Y
);
HRESULT
WINAPI
IWineD3DSurfaceImpl_GetOverlayPosition
(
IWineD3DSurface
*
iface
,
LONG
*
X
,
LONG
*
Y
);
/* Surface flags: */
#define SFLAG_OVERSIZE 0x00000001
/* Surface is bigger than gl size, blts only */
...
...
include/wine/wined3d_interface.h
View file @
f6647486
...
...
@@ -1134,6 +1134,7 @@ DECLARE_INTERFACE_(IWineD3DSurface,IWineD3DResource)
STDMETHOD_
(
DWORD
,
GetPitch
)(
THIS
)
PURE
;
STDMETHOD
(
SetMem
)(
THIS_
void
*
mem
)
PURE
;
STDMETHOD
(
SetOverlayPosition
)(
THIS_
LONG
X
,
LONG
Y
)
PURE
;
STDMETHOD
(
GetOverlayPosition
)(
THIS_
LONG
*
X
,
LONG
*
Y
)
PURE
;
/* Internally used methods */
STDMETHOD
(
CleanDirtyRect
)(
THIS
)
PURE
;
STDMETHOD
(
AddDirtyRect
)(
THIS_
CONST
RECT
*
pRect
)
PURE
;
...
...
@@ -1187,6 +1188,7 @@ DECLARE_INTERFACE_(IWineD3DSurface,IWineD3DResource)
#define IWineD3DSurface_GetPitch(p) (p)->lpVtbl->GetPitch(p)
#define IWineD3DSurface_SetMem(p, a) (p)->lpVtbl->SetMem(p, a)
#define IWineD3DSurface_SetOverlayPosition(p, a, b) (p)->lpVtbl->SetOverlayPosition(p, a, b)
#define IWineD3DSurface_GetOverlayPosition(p, a, b) (p)->lpVtbl->GetOverlayPosition(p, a, b)
/*** IWineD3DSurface (Internal, no d3d mapping) methods ***/
#define IWineD3DSurface_CleanDirtyRect(p) (p)->lpVtbl->CleanDirtyRect(p)
#define IWineD3DSurface_AddDirtyRect(p,a) (p)->lpVtbl->AddDirtyRect(p,a)
...
...
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