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
85844e50
Commit
85844e50
authored
Jun 10, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Authors: Jesse Allen <uh_ja@gmx.net>, Lionel Ulmer <lionel.ulmer@free.fr>
Added implementation of wglSwapLayerBuffers.
parent
4e73595a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
2 deletions
+44
-2
wgl.c
dlls/opengl32/wgl.c
+11
-2
wingdi.h
include/wingdi.h
+33
-0
No files found.
dlls/opengl32/wgl.c
View file @
85844e50
...
...
@@ -435,9 +435,18 @@ BOOL WINAPI wglShareLists(HGLRC hglrc1,
*/
BOOL
WINAPI
wglSwapLayerBuffers
(
HDC
hdc
,
UINT
fuPlanes
)
{
FIXME
(
"(): stub !
\n
"
);
TRACE
(
"(%08x, %08x)
\n
"
,
hdc
,
fuPlanes
);
return
FALSE
;
if
(
fuPlanes
&
WGL_SWAP_MAIN_PLANE
)
{
if
(
!
SwapBuffers
(
hdc
))
return
FALSE
;
fuPlanes
&=
~
WGL_SWAP_MAIN_PLANE
;
}
if
(
fuPlanes
)
{
WARN
(
"Following layers unhandled : %08x
\n
"
,
fuPlanes
);
}
return
TRUE
;
}
/***********************************************************************
...
...
include/wingdi.h
View file @
85844e50
...
...
@@ -3412,6 +3412,39 @@ BOOL WINAPI PolyTextOutA(HDC,PPOLYTEXTA,INT);
BOOL
WINAPI
PolyTextOutW
(
HDC
,
PPOLYTEXTW
,
INT
);
#define PolyTextOut WINELIB_NAME_AW(PolyTextOut)
/* These defines are used by wglSwapLayerBuffers */
#define WGL_SWAP_MAIN_PLANE (1 << 0)
#define WGL_SWAP_OVERLAY1 (1 << 1)
#define WGL_SWAP_OVERLAY2 (1 << 2)
#define WGL_SWAP_OVERLAY3 (1 << 3)
#define WGL_SWAP_OVERLAY4 (1 << 4)
#define WGL_SWAP_OVERLAY5 (1 << 5)
#define WGL_SWAP_OVERLAY6 (1 << 6)
#define WGL_SWAP_OVERLAY7 (1 << 7)
#define WGL_SWAP_OVERLAY8 (1 << 8)
#define WGL_SWAP_OVERLAY9 (1 << 9)
#define WGL_SWAP_OVERLAY10 (1 << 10)
#define WGL_SWAP_OVERLAY11 (1 << 11)
#define WGL_SWAP_OVERLAY12 (1 << 12)
#define WGL_SWAP_OVERLAY13 (1 << 13)
#define WGL_SWAP_OVERLAY14 (1 << 14)
#define WGL_SWAP_OVERLAY15 (1 << 15)
#define WGL_SWAP_UNDERLAY1 (1 << 16)
#define WGL_SWAP_UNDERLAY2 (1 << 17)
#define WGL_SWAP_UNDERLAY3 (1 << 18)
#define WGL_SWAP_UNDERLAY4 (1 << 19)
#define WGL_SWAP_UNDERLAY5 (1 << 20)
#define WGL_SWAP_UNDERLAY6 (1 << 21)
#define WGL_SWAP_UNDERLAY7 (1 << 22)
#define WGL_SWAP_UNDERLAY8 (1 << 23)
#define WGL_SWAP_UNDERLAY9 (1 << 24)
#define WGL_SWAP_UNDERLAY10 (1 << 25)
#define WGL_SWAP_UNDERLAY11 (1 << 26)
#define WGL_SWAP_UNDERLAY12 (1 << 27)
#define WGL_SWAP_UNDERLAY13 (1 << 28)
#define WGL_SWAP_UNDERLAY14 (1 << 29)
#define WGL_SWAP_UNDERLAY15 (1 << 30)
#ifdef __cplusplus
}
#endif
...
...
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