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.h | |
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.h')
-rw-r--r-- | cogl/cogl-debug.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cogl/cogl-debug.h b/cogl/cogl-debug.h index 86d3b57d..fb0e839e 100644 --- a/cogl/cogl-debug.h +++ b/cogl/cogl-debug.h @@ -45,7 +45,8 @@ typedef enum { COGL_DEBUG_JOURNAL = 1 << 13, COGL_DEBUG_BATCHING = 1 << 14, COGL_DEBUG_DISABLE_SOFTWARE_TRANSFORM = 1 << 15, - COGL_DEBUG_MATRICES = 1 << 16 + COGL_DEBUG_MATRICES = 1 << 16, + COGL_DEBUG_FORCE_SCANLINE_PATHS = 1 << 17 } CoglDebugFlags; #ifdef COGL_ENABLE_DEBUG |