diff options
author | Robert Bragg <robert@linux.intel.com> | 2009-11-04 16:55:18 +0000 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2009-11-05 21:10:16 +0000 |
commit | d4ffa2f819737b0f06e7a1b1e83c6c648b11b8ca (patch) | |
tree | 380bec186820e1ba7a7b481fbf90de7943824c2e /cogl/cogl-debug.c | |
parent | b49f90acb6a2d19a01e567a16928351f7db0747c (diff) | |
download | cogl-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.c | 3 |
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); |