[cogl] debug: Adds COGL_DEBUG=winsys option
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] debug: Adds COGL_DEBUG=winsys option
- Date: Thu, 9 Feb 2012 13:12:02 +0000 (UTC)
commit 9a254d82927e9316183ae86c596a369554d1e6d6
Author: Robert Bragg <robert linux intel com>
Date: Tue Feb 7 16:53:12 2012 +0000
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 <neil linux intel com>
cogl/cogl-debug.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/cogl/cogl-debug.c b/cogl/cogl-debug.c
index 7443222..2724e63 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]