cogl-texture-atlas: Add some debugging notes

This adds an 'atlas' category to the COGL_DEBUG environment
variable. When enabled Cogl will display messages when textures are
added to the atlas and when the atlas is reorganized.
This commit is contained in:
Neil Roberts
2009-12-04 18:55:53 +00:00
parent ec547b7ce0
commit f5d43d9b02
3 changed files with 60 additions and 8 deletions

View File

@ -45,7 +45,8 @@ typedef enum {
COGL_DEBUG_BATCHING = 1 << 13,
COGL_DEBUG_DISABLE_SOFTWARE_TRANSFORM = 1 << 14,
COGL_DEBUG_MATRICES = 1 << 15,
COGL_DEBUG_FORCE_SCANLINE_PATHS = 1 << 16
COGL_DEBUG_FORCE_SCANLINE_PATHS = 1 << 16,
COGL_DEBUG_ATLAS = 1 << 17
} CoglDebugFlags;
#ifdef COGL_ENABLE_DEBUG