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
581a8edd
Commit
581a8edd
authored
Dec 01, 1998
by
Lionel Ulmer
Committed by
Alexandre Julliard
Dec 01, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added definition of DirectDrawCreateClipper.
- more versatile support of surfaces / better surface description support.
parent
07e0d947
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
ddraw.c
graphics/ddraw.c
+0
-0
ddraw.h
include/ddraw.h
+5
-4
ddraw.spec
relay32/ddraw.spec
+1
-1
No files found.
graphics/ddraw.c
View file @
581a8edd
This diff is collapsed.
Click to expand it.
include/ddraw.h
View file @
581a8edd
...
@@ -985,8 +985,8 @@ struct _common_directdrawsurface {
...
@@ -985,8 +985,8 @@ struct _common_directdrawsurface {
LPDIRECTDRAWPALETTE
palette
;
LPDIRECTDRAWPALETTE
palette
;
LPDIRECTDRAW2
ddraw
;
LPDIRECTDRAW2
ddraw
;
LPDIRECTDRAWSURFACE3
backbuffer
;
LPDIRECTDRAWSURFACE3
backbuffer
;
LPVOID
surface
;
D
WORD
lpitch
,
width
,
height
;
D
DSURFACEDESC
surface_desc
;
};
};
struct
_dga_directdrawsurface
{
struct
_dga_directdrawsurface
{
...
@@ -995,7 +995,6 @@ struct _dga_directdrawsurface {
...
@@ -995,7 +995,6 @@ struct _dga_directdrawsurface {
struct
_xlib_directdrawsurface
{
struct
_xlib_directdrawsurface
{
XImage
*
image
;
XImage
*
image
;
int
on_screen
;
#ifdef HAVE_LIBXXSHM
#ifdef HAVE_LIBXXSHM
XShmSegmentInfo
shminfo
;
XShmSegmentInfo
shminfo
;
#endif
#endif
...
@@ -1013,7 +1012,8 @@ typedef struct IDirectDrawSurface_VTable {
...
@@ -1013,7 +1012,8 @@ typedef struct IDirectDrawSurface_VTable {
STDMETHOD
(
BltBatch
)(
THIS_
LPDDBLTBATCH
,
DWORD
,
DWORD
)
PURE
;
STDMETHOD
(
BltBatch
)(
THIS_
LPDDBLTBATCH
,
DWORD
,
DWORD
)
PURE
;
STDMETHOD
(
BltFast
)(
THIS_
DWORD
,
DWORD
,
LPDIRECTDRAWSURFACE
,
LPRECT32
,
DWORD
)
PURE
;
STDMETHOD
(
BltFast
)(
THIS_
DWORD
,
DWORD
,
LPDIRECTDRAWSURFACE
,
LPRECT32
,
DWORD
)
PURE
;
STDMETHOD
(
DeleteAttachedSurface
)(
THIS_
DWORD
,
LPDIRECTDRAWSURFACE
)
PURE
;
STDMETHOD
(
DeleteAttachedSurface
)(
THIS_
DWORD
,
LPDIRECTDRAWSURFACE
)
PURE
;
STDMETHOD
(
EnumAttachedSurfaces
)(
THIS_
LPVOID
,
LPDDENUMSURFACESCALLBACK
)
PURE
;
STDMETHOD
(
EnumOverlayZOrders
)(
THIS_
DWORD
,
LPVOID
,
LPDDENUMSURFACESCALLBACK
)
PURE
;
STDMETHOD
(
EnumAttachedSurfaces
)(
THIS_
LPVOID
,
LPDDENUMSURFACESCALLBACK
)
PURE
;
STDMETHOD
(
EnumOverlayZOrders
)(
THIS_
DWORD
,
LPVOID
,
LPDDENUMSURFACESCALLBACK
)
PURE
;
STDMETHOD
(
Flip
)(
THIS_
LPDIRECTDRAWSURFACE
,
DWORD
)
PURE
;
STDMETHOD
(
Flip
)(
THIS_
LPDIRECTDRAWSURFACE
,
DWORD
)
PURE
;
STDMETHOD
(
GetAttachedSurface
)(
THIS_
LPDDSCAPS
,
LPDIRECTDRAWSURFACE
FAR
*
)
PURE
;
STDMETHOD
(
GetAttachedSurface
)(
THIS_
LPDDSCAPS
,
LPDIRECTDRAWSURFACE
FAR
*
)
PURE
;
STDMETHOD
(
GetBltStatus
)(
THIS_
DWORD
)
PURE
;
STDMETHOD
(
GetBltStatus
)(
THIS_
DWORD
)
PURE
;
...
@@ -1196,5 +1196,6 @@ struct IDirectDrawColorControl {
...
@@ -1196,5 +1196,6 @@ struct IDirectDrawColorControl {
HRESULT
WINAPI
DirectDrawCreate
(
LPGUID
,
LPDIRECTDRAW
*
,
LPUNKNOWN
);
HRESULT
WINAPI
DirectDrawCreate
(
LPGUID
,
LPDIRECTDRAW
*
,
LPUNKNOWN
);
HRESULT
WINAPI
DirectDrawEnumerate32A
(
LPDDENUMCALLBACK32A
,
LPVOID
);
HRESULT
WINAPI
DirectDrawEnumerate32A
(
LPDDENUMCALLBACK32A
,
LPVOID
);
HRESULT
WINAPI
DirectDrawEnumerate32W
(
LPDDENUMCALLBACK32W
,
LPVOID
);
HRESULT
WINAPI
DirectDrawEnumerate32W
(
LPDDENUMCALLBACK32W
,
LPVOID
);
HRESULT
WINAPI
DirectDrawCreateClipper
(
DWORD
,
LPDIRECTDRAWCLIPPER
*
,
LPUNKNOWN
);
#define DirectDrawEnumerate WINELIB_NAME_AW(DirectDrawEnumerate)
#define DirectDrawEnumerate WINELIB_NAME_AW(DirectDrawEnumerate)
#endif
#endif
relay32/ddraw.spec
View file @
581a8edd
...
@@ -7,7 +7,7 @@ type win32
...
@@ -7,7 +7,7 @@ type win32
4 stub DDInternalUnlock
4 stub DDInternalUnlock
5 stdcall DSoundHelp(long long long) DSoundHelp
5 stdcall DSoundHelp(long long long) DSoundHelp
6 stdcall DirectDrawCreate(ptr ptr ptr) DirectDrawCreate
6 stdcall DirectDrawCreate(ptr ptr ptr) DirectDrawCreate
7 st
ub
DirectDrawCreateClipper
7 st
dcall DirectDrawCreateClipper(long ptr ptr)
DirectDrawCreateClipper
8 stdcall DirectDrawEnumerateA(ptr ptr) DirectDrawEnumerate32A
8 stdcall DirectDrawEnumerateA(ptr ptr) DirectDrawEnumerate32A
9 stub DirectDrawEnumerateW
9 stub DirectDrawEnumerateW
10 stub DllCanUnloadNow
10 stub DllCanUnloadNow
...
...
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