[debug] Adds a COGL_DEBUG=matrices debug option
This adds a COGL_DEBUG=matrices debug option that can be used to trace all matrix manipulation done using the Cogl API. This can be handy when you break something in such a way that a trace is still comparable with a previous working version since you can simply diff a log of the broken version vs the working version to home in on the bug.
This commit is contained in:
@ -44,7 +44,8 @@ typedef enum {
|
||||
COGL_DEBUG_DISABLE_VBOS = 1 << 12,
|
||||
COGL_DEBUG_JOURNAL = 1 << 13,
|
||||
COGL_DEBUG_BATCHING = 1 << 14,
|
||||
COGL_DEBUG_DISABLE_SOFTWARE_TRANSFORM = 1 << 15
|
||||
COGL_DEBUG_DISABLE_SOFTWARE_TRANSFORM = 1 << 15,
|
||||
COGL_DEBUG_MATRICES = 1 << 16
|
||||
} CoglDebugFlags;
|
||||
|
||||
#ifdef COGL_ENABLE_DEBUG
|
||||
|
Reference in New Issue
Block a user