clutter-actor: Add a debug flag for disabling offscreen redirect

This adds CLUTTER_PAINT=disable-offscreen-redirect to help diagnose
problems with the correct opacity changes. This just makes it so that
it never installs the flatten effect so it will never automatically
redirect an actor offscreen.
This commit is contained in:
Neil Roberts
2011-06-06 18:22:20 +01:00
parent 78fbac71f2
commit 1e2e0f21b8
3 changed files with 8 additions and 2 deletions

View File

@ -39,7 +39,8 @@ typedef enum {
CLUTTER_DEBUG_DISABLE_CLIPPED_REDRAWS = 1 << 1,
CLUTTER_DEBUG_REDRAWS = 1 << 2,
CLUTTER_DEBUG_PAINT_VOLUMES = 1 << 3,
CLUTTER_DEBUG_DISABLE_CULLING = 1 << 4
CLUTTER_DEBUG_DISABLE_CULLING = 1 << 4,
CLUTTER_DEBUG_DISABLE_OFFSCREEN_REDIRECT = 1 << 5
} ClutterDrawDebugFlag;
#ifdef CLUTTER_ENABLE_DEBUG