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
56de92d7
Commit
56de92d7
authored
Mar 25, 2006
by
Tomas Carnecky
Committed by
Alexandre Julliard
Mar 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl: Put OpenGL setup functions into their own debug channel.
parent
f661e7a9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
wgl.c
dlls/opengl32/wgl.c
+3
-2
wgl_ext.c
dlls/opengl32/wgl_ext.c
+1
-1
opengl.c
dlls/x11drv/opengl.c
+3
-2
No files found.
dlls/opengl32/wgl.c
View file @
56de92d7
...
...
@@ -44,7 +44,8 @@
#include "wine/library.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
opengl
);
WINE_DEFAULT_DEBUG_CHANNEL
(
wgl
);
WINE_DECLARE_DEBUG_CHANNEL
(
opengl
);
/** global glx object */
wine_glx_t
wine_glx
;
...
...
@@ -698,7 +699,7 @@ BOOL WINAPI wglShareLists(HGLRC hglrc1,
*/
BOOL
WINAPI
wglSwapLayerBuffers
(
HDC
hdc
,
UINT
fuPlanes
)
{
TRACE
(
"(%p, %08x)
\n
"
,
hdc
,
fuPlanes
);
TRACE
_
(
opengl
)
(
"(%p, %08x)
\n
"
,
hdc
,
fuPlanes
);
if
(
fuPlanes
&
WGL_SWAP_MAIN_PLANE
)
{
if
(
!
SwapBuffers
(
hdc
))
return
FALSE
;
...
...
dlls/opengl32/wgl_ext.c
View file @
56de92d7
...
...
@@ -37,7 +37,7 @@
#include "wine/library.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
open
gl
);
WINE_DEFAULT_DEBUG_CHANNEL
(
w
gl
);
/* x11drv GDI escapes */
...
...
dlls/x11drv/opengl.c
View file @
56de92d7
...
...
@@ -28,7 +28,8 @@
#include "wine/library.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
opengl
);
WINE_DEFAULT_DEBUG_CHANNEL
(
wgl
);
WINE_DECLARE_DEBUG_CHANNEL
(
opengl
);
#if defined(HAVE_GL_GL_H) && defined(HAVE_GL_GLX_H)
...
...
@@ -533,7 +534,7 @@ BOOL X11DRV_SwapBuffers(X11DRV_PDEVICE *physDev) {
return
0
;
}
TRACE
(
"(%p)
\n
"
,
physDev
);
TRACE
_
(
opengl
)
(
"(%p)
\n
"
,
physDev
);
wine_tsx11_lock
();
pglXSwapBuffers
(
gdi_display
,
physDev
->
drawable
);
...
...
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