|
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.
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+524 lines, -162 lines) |
Patch |
|
|
source/blender/compositor/CMakeLists.txt
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
|
source/blender/compositor/intern/COM_Debug.h
|
View
|
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
|
|
source/blender/compositor/intern/COM_Debug.cpp
|
View
|
|
1 chunk |
+413 lines, -0 lines |
4 comments
|
Download
|
|
|
source/blender/compositor/intern/COM_ExecutionGroup.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
|
source/blender/compositor/intern/COM_ExecutionGroup.cpp
|
View
|
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
|
source/blender/compositor/intern/COM_ExecutionSystem.cpp
|
View
|
|
6 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
|
|
source/blender/compositor/intern/COM_ExecutionSystemHelper.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
|
source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp
|
View
|
|
4 chunks |
+5 lines, -144 lines |
2 comments
|
Download
|
|
|
source/blender/compositor/intern/COM_NodeBase.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
|
source/blender/compositor/intern/COM_NodeOperation.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
|
source/blender/compositor/operations/COM_SetColorOperation.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
|
source/blender/compositor/operations/COM_SetValueOperation.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
|
source/blender/compositor/operations/COM_SetVectorOperation.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
|
source/blender/compositor/operations/COM_TrackPositionOperation.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 3
|