Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gtk
Commits
1d3cc65e
Commit
1d3cc65e
authored
Feb 05, 2015
by
Emmanuele Bassi
👣
Browse files
gl: Add more debugging notes
https://bugzilla.gnome.org/show_bug.cgi?id=741946
parent
5a3b28aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
gdk/gdkglcontext.c
View file @
1d3cc65e
...
...
@@ -631,6 +631,19 @@ gdk_gl_context_check_extensions (GdkGLContext *context)
else
g_warning
(
"GL implementation doesn't support any form of non-power-of-two textures"
);
GDK_NOTE
(
OPENGL
,
g_print
(
"Extensions checked:
\n
"
" - GL_ARB_texture_non_power_of_two: %s
\n
"
" - GL_ARB_texture_rectangle: %s
\n
"
" - GL_EXT_framebuffer_blit: %s
\n
"
" - GL_GREMEDY_frame_terminator: %s
\n
"
"Using texture rectangle: %s
\n
"
,
has_npot
?
"yes"
:
"no"
,
has_texture_rectangle
?
"yes"
:
"no"
,
priv
->
has_gl_framebuffer_blit
?
"yes"
:
"no"
,
priv
->
has_frame_terminator
?
"yes"
:
"no"
,
priv
->
use_texture_rectangle
?
"yes"
:
"no"
));
priv
->
extensions_checked
=
TRUE
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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