diff options
author | Robert Bragg <robert@linux.intel.com> | 2012-02-07 16:53:12 +0000 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2012-02-09 13:10:14 +0000 |
commit | 9a254d82927e9316183ae86c596a369554d1e6d6 (patch) | |
tree | 3c6bfe3750942ac6d7550747387ff32eeac39356 | |
parent | 379fa8b4355751dd3f7820e458330af5cc16bcde (diff) | |
download | cogl-9a254d82927e9316183ae86c596a369554d1e6d6.tar.gz |
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>
-rw-r--r-- | 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 74432228..2724e63b 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); |