Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/intern/COM_Debug.h
| Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | public: | ||||
| static void operation_added(const NodeOperation *operation); | static void operation_added(const NodeOperation *operation); | ||||
| static void operation_read_write_buffer(const NodeOperation *operation); | static void operation_read_write_buffer(const NodeOperation *operation); | ||||
| static void execution_group_started(const ExecutionGroup *group); | static void execution_group_started(const ExecutionGroup *group); | ||||
| static void execution_group_finished(const ExecutionGroup *group); | static void execution_group_finished(const ExecutionGroup *group); | ||||
| static void graphviz(const ExecutionSystem *system); | static void graphviz(const ExecutionSystem *system); | ||||
| #ifdef COM_DEBUG | |||||
| protected: | protected: | ||||
| static int graphviz_operation(const ExecutionSystem *system, | static int graphviz_operation(const ExecutionSystem *system, | ||||
| NodeOperation *operation, | NodeOperation *operation, | ||||
| const ExecutionGroup *group, | const ExecutionGroup *group, | ||||
| char *str, | char *str, | ||||
| int maxlen); | int maxlen); | ||||
| static int graphviz_legend_color(const char *name, const char *color, char *str, int maxlen); | static int graphviz_legend_color(const char *name, const char *color, char *str, int maxlen); | ||||
| static int graphviz_legend_line( | static int graphviz_legend_line( | ||||
| Show All 10 Lines | private: | ||||
| /** Map operations to usable names for debug output. */ | /** Map operations to usable names for debug output. */ | ||||
| static OpNameMap m_op_names; | static OpNameMap m_op_names; | ||||
| /** Base name for all operations added by a node. */ | /** Base name for all operations added by a node. */ | ||||
| static std::string m_current_node_name; | static std::string m_current_node_name; | ||||
| /** Base name for automatic sub-operations. */ | /** Base name for automatic sub-operations. */ | ||||
| static std::string m_current_op_name; | static std::string m_current_op_name; | ||||
| /** For visualizing group states. */ | /** For visualizing group states. */ | ||||
| static GroupStateMap m_group_states; | static GroupStateMap m_group_states; | ||||
| #endif | |||||
| }; | }; | ||||
| } // namespace blender::compositor | } // namespace blender::compositor | ||||