Add debug annotations for the layout process

If we need to check that the layout sequence is correct in
terms of order of execution and with respect to caching, then
having a CLUTTER_DEBUG_LAYOUT debug flag would make things
easier.
This commit is contained in:
Emmanuele Bassi
2009-04-15 17:25:50 +01:00
parent f8256e4b23
commit 709bb69970
3 changed files with 34 additions and 10 deletions

View File

@ -21,7 +21,8 @@ typedef enum {
CLUTTER_DEBUG_SCRIPT = 1 << 11,
CLUTTER_DEBUG_SHADER = 1 << 12,
CLUTTER_DEBUG_MULTISTAGE = 1 << 13,
CLUTTER_DEBUG_ANIMATION = 1 << 14
CLUTTER_DEBUG_ANIMATION = 1 << 14,
CLUTTER_DEBUG_LAYOUT = 1 << 15
} ClutterDebugFlag;
#ifdef CLUTTER_ENABLE_DEBUG