Blender Git Commit Log

Git Commits -> Revision fdd8897

Revision fdd8897 by Lukas Toenne (master)
September 13, 2013, 13:36 (GMT)
Cleanup and improvements of the compositor debug output.

Debug code for graphviz output moved to a dedicated file COM_Debug.h/cpp.

The DebugInfo class has only static functions, which are called from a number of places to keep track of what is happening in the compositor. If debugging is disabled these are just inline stubs, so we
don't need #ifdefs everywhere and don't get any overhead.

The graphviz output is much more useful now. DebugInfo keeps track of node names in a static string map for meaningful names. It uses a number of colors for various special operation classes.
ExecutionGroups are indicated in graphviz with clusters.

Currently the graphviz .dot files are stored in the BLI_temporary_dir() folder. A separate dot file is generated for each stage of the ExecutionGroup scheduling, this is intended to give some idea of the
compositor progress, but could still be improved.

Commit Details:

Full Hash: fdd889717239e8dbc7b3dabf1e3c630d6203837b
SVN Revision: 60109
Parent Commit: ed23432
Lines Changed: +522, -162

2 Added Paths:

/source/blender/compositor/intern/COM_Debug.cpp (+413, -0) (View)
/source/blender/compositor/intern/COM_Debug.h (+79, -0) (View)

12 Modified Paths:

/source/blender/compositor/CMakeLists.txt (+2, -0) (Diff)
/source/blender/compositor/intern/COM_ExecutionGroup.cpp (+6, -0) (Diff)
/source/blender/compositor/intern/COM_ExecutionGroup.h (+3, -0) (Diff)
/source/blender/compositor/intern/COM_ExecutionSystem.cpp (+9, -6) (Diff)
/source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp (+3, -144) (Diff)
/source/blender/compositor/intern/COM_ExecutionSystemHelper.h (+0, -6) (Diff)
/source/blender/compositor/intern/COM_NodeBase.h (+1, -1) (Diff)
/source/blender/compositor/intern/COM_NodeOperation.h (+2, -1) (Diff)
/source/blender/compositor/operations/COM_SetColorOperation.h (+1, -1) (Diff)
/source/blender/compositor/operations/COM_SetValueOperation.h (+1, -1) (Diff)
/source/blender/compositor/operations/COM_SetVectorOperation.h (+1, -1) (Diff)
/source/blender/compositor/operations/COM_TrackPositionOperation.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021