Add a COGL_DEBUG option to disable software clipping
This adds a debug option called disable-software-clipping which causes the journal to always log the clip stack state rather than trying to manually clip rectangles.
This commit is contained in:

committed by
Robert Bragg

parent
1d88e6c8ac
commit
e292d28c56
@ -58,7 +58,8 @@ typedef enum {
|
||||
COGL_DEBUG_TEXTURE_PIXMAP = 1 << 25,
|
||||
COGL_DEBUG_BITMAP = 1 << 26,
|
||||
COGL_DEBUG_DISABLE_NPOT_TEXTURES = 1 << 27,
|
||||
COGL_DEBUG_WIREFRAME = 1 << 28
|
||||
COGL_DEBUG_WIREFRAME = 1 << 28,
|
||||
COGL_DEBUG_DISABLE_SOFTWARE_CLIP = 1 << 29
|
||||
} CoglDebugFlags;
|
||||
|
||||
#ifdef COGL_ENABLE_DEBUG
|
||||
|
Reference in New Issue
Block a user