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
@ -143,6 +143,11 @@ OPT (DISABLE_NPOT_TEXTURES,
|
||||
"Disable non-power-of-two textures",
|
||||
"Makes Cogl think that the GL driver doesn't support NPOT textures "
|
||||
"so that it will create sliced textures or textures with waste instead.")
|
||||
OPT (DISABLE_SOFTWARE_CLIP,
|
||||
"Root Cause",
|
||||
"disable-software-clip",
|
||||
"Disable software clipping",
|
||||
"Disables Cogl's attempts to clip some rectangles in software.")
|
||||
OPT (SHOW_SOURCE,
|
||||
"Cogl Tracing",
|
||||
"show-source",
|
||||
|
Reference in New Issue
Block a user