From 1d3cc65e894d8342b7bf72e51e036be7a5c4d339 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 5 Feb 2015 16:23:04 +0000 Subject: [PATCH] gl: Add more debugging notes https://bugzilla.gnome.org/show_bug.cgi?id=741946 --- gdk/gdkglcontext.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c index 3ffaf8f8c2..bb914f71af 100644 --- a/gdk/gdkglcontext.c +++ b/gdk/gdkglcontext.c @@ -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; }