summaryrefslogtreecommitdiff
path: root/cogl/cogl-debug.h
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2009-12-04 18:55:53 +0000
committerNeil Roberts <neil@linux.intel.com>2009-12-04 20:29:12 +0000
commitf5d43d9b024f1e94e6e7adfef4c3916a9da3d39d (patch)
tree30ba69296798649379633790f205cd51df06a813 /cogl/cogl-debug.h
parentec547b7ce03a021346e7ff1d3e3c30999025a9ce (diff)
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.
Diffstat (limited to 'cogl/cogl-debug.h')
-rw-r--r--cogl/cogl-debug.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cogl/cogl-debug.h b/cogl/cogl-debug.h
index bc450aa9..08767203 100644
--- a/cogl/cogl-debug.h
+++ b/cogl/cogl-debug.h
@@ -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