summaryrefslogtreecommitdiff
path: root/cogl/cogl-debug.c
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2009-11-04 16:55:18 +0000
committerRobert Bragg <robert@linux.intel.com>2009-11-05 21:10:16 +0000
commitd4ffa2f819737b0f06e7a1b1e83c6c648b11b8ca (patch)
tree380bec186820e1ba7a7b481fbf90de7943824c2e /cogl/cogl-debug.c
parentb49f90acb6a2d19a01e567a16928351f7db0747c (diff)
downloadcogl-d4ffa2f819737b0f06e7a1b1e83c6c648b11b8ca.tar.gz
[debug] Adds a COGL_DEBUG=force-scanline-paths
For a long time now the GLES driver for Cogl has supported a fallback scanline rasterizer for filling paths when no stencil buffer is available, but now that we build the same cogl-primitives code for GL and GLES I thought it may sometimes be useful for debugging to force Cogl to use the scanline rasterizer instead of the current stencil buffer approach.
Diffstat (limited to 'cogl/cogl-debug.c')
-rw-r--r--cogl/cogl-debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cogl/cogl-debug.c b/cogl/cogl-debug.c
index efc0146a..3545de86 100644
--- a/cogl/cogl-debug.c
+++ b/cogl/cogl-debug.c
@@ -47,7 +47,8 @@ static const GDebugKey cogl_debug_keys[] = {
{ "journal", COGL_DEBUG_JOURNAL },
{ "batching", COGL_DEBUG_BATCHING },
{ "disable-software-transform", COGL_DEBUG_DISABLE_SOFTWARE_TRANSFORM },
- { "matrices", COGL_DEBUG_MATRICES }
+ { "matrices", COGL_DEBUG_MATRICES },
+ { "force-scanline-paths", COGL_DEBUG_FORCE_SCANLINE_PATHS }
};
static const gint n_cogl_debug_keys = G_N_ELEMENTS (cogl_debug_keys);