Merge branch 'matthiasc/for-master' into 'master'

gl: Make debug spew more complete

Closes #3197

See merge request GNOME/gtk!2623
This commit is contained in:
Matthias Clasen 2020-09-26 02:02:13 +00:00
commit fe8986f2d5
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -94,7 +94,7 @@ gdk_popup_default_init (GdkPopupInterface *iface)
g_object_interface_install_property (iface,
g_param_spec_boolean ("autohide",
P_("Autohide"),
P_("The parent surface"),
P_("Whether to hide on outside clicks"),
FALSE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));