From 9a254d82927e9316183ae86c596a369554d1e6d6 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 7 Feb 2012 16:53:12 +0000 Subject: [PATCH] debug: Adds COGL_DEBUG=winsys option Although we internally had a COGL_DEBUG_WINSYS enum we weren't providing a way to enable that via the COGL_DEBUG environment variable. This adds a "winsys" option that can be used to enable printing of winsys debug notes. Reviewed-by: Neil Roberts --- cogl/cogl-debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cogl/cogl-debug.c b/cogl/cogl-debug.c index 74432228b..2724e63b6 100644 --- a/cogl/cogl-debug.c +++ b/cogl/cogl-debug.c @@ -55,7 +55,8 @@ static const GDebugKey cogl_log_debug_keys[] = { { "offscreen", COGL_DEBUG_OFFSCREEN }, { "texture-pixmap", COGL_DEBUG_TEXTURE_PIXMAP }, { "bitmap", COGL_DEBUG_BITMAP }, - { "clipping", COGL_DEBUG_CLIPPING } + { "clipping", COGL_DEBUG_CLIPPING }, + { "winsys", COGL_DEBUG_WINSYS } }; static const int n_cogl_log_debug_keys = G_N_ELEMENTS (cogl_log_debug_keys);