[gtk/matthiasc/for-master: 1/4] gl: Make debug spew more complete




commit f8c12d2da3713aeca92b6e850d3ae3f2abf5a745
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Sep 25 15:52:15 2020 -0400

    gl: Make debug spew more complete
    
    List GL_EXT_unpack_subimage among the extensions
    we check for.

 gdk/gdkglcontext.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c
index 7f544dc003..7a7ed9d96f 100644
--- a/gdk/gdkglcontext.c
+++ b/gdk/gdkglcontext.c
@@ -1067,6 +1067,7 @@ gdk_gl_context_check_extensions (GdkGLContext *context)
                        " - GL_ARB_texture_non_power_of_two: %s\n"
                        " - GL_ARB_texture_rectangle: %s\n"
                        " - GL_KHR_debug: %s\n"
+                       " - GL_EXT_unpack_subimage: %s\n"
                        "* Using texture rectangle: %s",
                        priv->use_es ? "OpenGL ES" : "OpenGL",
                        priv->gl_version / 10, priv->gl_version % 10,
@@ -1075,6 +1076,7 @@ gdk_gl_context_check_extensions (GdkGLContext *context)
                        has_npot ? "yes" : "no",
                        has_texture_rectangle ? "yes" : "no",
                        priv->has_khr_debug ? "yes" : "no",
+                       priv->has_unpack_subimage ? "yes" : "no",
                        priv->use_texture_rectangle ? "yes" : "no"));
 
   priv->extensions_checked = TRUE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]