[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

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