[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.
This commit is contained in:
Robert Bragg
2009-11-04 16:55:18 +00:00
parent b49f90acb6
commit d4ffa2f819
3 changed files with 6 additions and 3 deletions

View File

@ -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