diff options
author | Neil Roberts <neil@linux.intel.com> | 2009-12-04 18:55:53 +0000 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2009-12-04 20:29:12 +0000 |
commit | f5d43d9b024f1e94e6e7adfef4c3916a9da3d39d (patch) | |
tree | 30ba69296798649379633790f205cd51df06a813 /cogl/cogl-debug.c | |
parent | ec547b7ce03a021346e7ff1d3e3c30999025a9ce (diff) | |
download | cogl-f5d43d9b024f1e94e6e7adfef4c3916a9da3d39d.tar.gz |
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.c')
-rw-r--r-- | cogl/cogl-debug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cogl/cogl-debug.c b/cogl/cogl-debug.c index 1265595f..f653ee4b 100644 --- a/cogl/cogl-debug.c +++ b/cogl/cogl-debug.c @@ -47,7 +47,8 @@ static const GDebugKey cogl_debug_keys[] = { { "batching", COGL_DEBUG_BATCHING }, { "disable-software-transform", COGL_DEBUG_DISABLE_SOFTWARE_TRANSFORM }, { "matrices", COGL_DEBUG_MATRICES }, - { "force-scanline-paths", COGL_DEBUG_FORCE_SCANLINE_PATHS } + { "force-scanline-paths", COGL_DEBUG_FORCE_SCANLINE_PATHS }, + { "atlas", COGL_DEBUG_ATLAS } }; static const gint n_cogl_debug_keys = G_N_ELEMENTS (cogl_debug_keys); |