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
ffc8e46e
Commit
ffc8e46e
authored
Apr 14, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Apr 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add IWineD3DSurface::Blt.
parent
02bf3558
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
1 deletion
+15
-1
d3d8_private.h
dlls/d3d8/d3d8_private.h
+1
-0
d3d9_private.h
dlls/d3d9/d3d9_private.h
+1
-1
surface.c
dlls/wined3d/surface.c
+6
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-0
wined3d_interface.h
include/wine/wined3d_interface.h
+6
-0
No files found.
dlls/d3d8/d3d8_private.h
View file @
ffc8e46e
...
...
@@ -46,6 +46,7 @@
#include "wingdi.h"
#include "wine/debug.h"
#include "d3d8.h"
#include "ddraw.h"
#include "wine/wined3d_interface.h"
/* Device caps */
...
...
dlls/d3d9/d3d9_private.h
View file @
ffc8e46e
...
...
@@ -49,7 +49,7 @@
#include "gdi.h"
#include "d3d9.h"
#include "d
3d9_private
.h"
#include "d
draw
.h"
#include "wine/wined3d_interface.h"
/* ===========================================================================
...
...
dlls/wined3d/surface.c
View file @
ffc8e46e
...
...
@@ -1450,6 +1450,11 @@ HRESULT WINAPI IWineD3DSurfaceImpl_Flip(IWineD3DSurface *iface, IWineD3DSurface
return
WINED3DERR_INVALIDCALL
;
}
HRESULT
WINAPI
IWineD3DSurfaceImpl_Blt
(
IWineD3DSurface
*
iface
,
RECT
*
DestRect
,
IWineD3DSurface
*
SrcSurface
,
RECT
*
SrcRect
,
DWORD
Flags
,
DDBLTFX
*
DDBltFx
)
{
FIXME
(
"This is unimplemented for now(d3d7 merge)
\n
"
);
return
WINED3DERR_INVALIDCALL
;
}
const
IWineD3DSurfaceVtbl
IWineD3DSurface_Vtbl
=
{
/* IUnknown */
...
...
@@ -1475,6 +1480,7 @@ const IWineD3DSurfaceVtbl IWineD3DSurface_Vtbl =
IWineD3DSurfaceImpl_GetDC
,
IWineD3DSurfaceImpl_ReleaseDC
,
IWineD3DSurfaceImpl_Flip
,
IWineD3DSurfaceImpl_Blt
,
/* Internal use: */
IWineD3DSurfaceImpl_CleanDirtyRect
,
IWineD3DSurfaceImpl_AddDirtyRect
,
...
...
dlls/wined3d/wined3d_private.h
View file @
ffc8e46e
...
...
@@ -39,6 +39,7 @@
#include "d3d9.h"
#include "d3d9types.h"
#include "ddraw.h"
#include "wine/wined3d_interface.h"
#include "wine/wined3d_gl.h"
...
...
include/wine/wined3d_interface.h
View file @
ffc8e46e
...
...
@@ -31,6 +31,10 @@
# error You must include d3d.h, d3d8.h or d3d9.h header to use this header
#endif
#if !defined( __WINE_DDRAW_H)
#error You must include ddraw.h to use this header
#endif
#include "wined3d_types.h"
/*****************************************************************
* THIS FILE MUST NOT CONTAIN X11 or MESA DEFINES
...
...
@@ -1107,6 +1111,7 @@ DECLARE_INTERFACE_(IWineD3DSurface,IWineD3DResource)
STDMETHOD
(
GetDC
)(
THIS_
HDC
*
pHdc
)
PURE
;
STDMETHOD
(
ReleaseDC
)(
THIS_
HDC
hdc
)
PURE
;
STDMETHOD
(
Flip
)(
THIS_
IWineD3DSurface
*
Override
,
DWORD
FLAGS
)
PURE
;
STDMETHOD
(
Blt
)(
THIS_
RECT
*
DestRect
,
IWineD3DSurface
*
SrcSurface
,
RECT
*
SrcRect
,
DWORD
Flags
,
DDBLTFX
*
DDBltFx
)
PURE
;
/* Internally used methods */
STDMETHOD
(
CleanDirtyRect
)(
THIS
)
PURE
;
STDMETHOD
(
AddDirtyRect
)(
THIS_
CONST
RECT
*
pRect
)
PURE
;
...
...
@@ -1146,6 +1151,7 @@ DECLARE_INTERFACE_(IWineD3DSurface,IWineD3DResource)
#define IWineD3DSurface_GetDC(p,a) (p)->lpVtbl->GetDC(p,a)
#define IWineD3DSurface_ReleaseDC(p,a) (p)->lpVtbl->ReleaseDC(p,a)
#define IWineD3DSurface_Flip(p,a,b) (p)->lpVtbl->Flip(p,a,b)
#define IWineD3DSurface_Blt(p,a,b,c,d,e) (p)->lpVtbl->Blt(p,a,b,c,d,e)
/*** 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