diff options
author | Neil Roberts <neil@linux.intel.com> | 2011-01-24 16:36:56 +0000 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2011-01-24 17:39:48 +0000 |
commit | 2ddab50ae45cba95a0188165166fec4a6057bcfb (patch) | |
tree | 979b96e4b47b9a5d184c2ed5cb6014a348612bac /cogl/cogl-debug.c | |
parent | c4a94439de2700c550da742143c46ee7e72e7f62 (diff) | |
download | cogl-2ddab50ae45cba95a0188165166fec4a6057bcfb.tar.gz |
cogl-debug: Add a debug option for tracing clipping
This adds a COGL_DEBUG=clipping option that reports how the clip is
being flushed. This is needed to determine whether the scissor,
stencil clip planes or software clipping is being used.
Diffstat (limited to 'cogl/cogl-debug.c')
-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 864f8c7b..d1205025 100644 --- a/cogl/cogl-debug.c +++ b/cogl/cogl-debug.c @@ -54,7 +54,8 @@ static const GDebugKey cogl_log_debug_keys[] = { { "show-source", COGL_DEBUG_SHOW_SOURCE}, { "offscreen", COGL_DEBUG_OFFSCREEN }, { "texture-pixmap", COGL_DEBUG_TEXTURE_PIXMAP }, - { "bitmap", COGL_DEBUG_BITMAP } + { "bitmap", COGL_DEBUG_BITMAP }, + { "clipping", COGL_DEBUG_CLIPPING } }; static const int n_cogl_log_debug_keys = G_N_ELEMENTS (cogl_log_debug_keys); |