|
Blender V4.3
|
#include <COM_Debug.h>
Public Types | |
| typedef std::map< const Node *, std::string > | NodeNameMap |
| typedef std::map< const NodeOperation *, std::string > | OpNameMap |
Static Public Member Functions | |
| static std::string | node_name (const Node *node) |
| static std::string | operation_name (const NodeOperation *op) |
| static void | convert_started () |
| static void | execute_started () |
| static void | node_added (const Node *node) |
| static void | node_to_operations (const Node *node) |
| static void | operation_added (const NodeOperation *operation) |
| static void | operation_read_write_buffer (const NodeOperation *operation) |
| static void | operation_rendered (const NodeOperation *op, MemoryBuffer *render) |
| static void | graphviz (const ExecutionSystem *system, StringRefNull name="") |
Static Protected Member Functions | |
| static int | graphviz_operation (const ExecutionSystem *system, NodeOperation *operation, char *str, int maxlen) |
| static int | graphviz_legend_color (const char *name, const char *color, char *str, int maxlen) |
| static int | graphviz_legend_line (const char *name, const char *color, const char *style, char *str, int maxlen) |
| static int | graphviz_legend_group (const char *name, const char *color, const char *style, char *str, int maxlen) |
| static int | graphviz_legend (char *str, int maxlen) |
| static bool | graphviz_system (const ExecutionSystem *system, char *str, int maxlen) |
| static void | export_operation (const NodeOperation *op, MemoryBuffer *render) |
| static void | delete_operation_exports () |
Definition at line 28 of file COM_Debug.h.
| typedef std::map<const Node *, std::string> blender::compositor::DebugInfo::NodeNameMap |
Definition at line 30 of file COM_Debug.h.
| typedef std::map<const NodeOperation *, std::string> blender::compositor::DebugInfo::OpNameMap |
Definition at line 31 of file COM_Debug.h.
|
inlinestatic |
Definition at line 48 of file COM_Debug.h.
References blender::compositor::COM_EXPORT_GRAPHVIZ.
|
staticprotected |
Definition at line 392 of file COM_Debug.cc.
References BLI_delete(), BLI_exists(), BLI_file_attributes(), BLI_filelist_dir_contents(), BLI_filelist_free(), BLI_is_file(), BLI_path_extension_check(), FILE_ATTR_ANY_LINK, and blender::compositor::get_operations_export_dir().
Referenced by execute_started().
|
inlinestatic |
Definition at line 55 of file COM_Debug.h.
References blender::compositor::COM_EXPORT_GRAPHVIZ, blender::compositor::COM_EXPORT_OPERATION_BUFFERS, and delete_operation_exports().
Referenced by blender::compositor::ExecutionSystem::execute().
|
staticprotected |
Definition at line 374 of file COM_Debug.cc.
References BLI_file_ensure_parent_dir_exists(), blender::compositor::MemoryBuffer::copy_from(), ImBufFloatBuffer::data, ImBuf::flags, ImBuf::float_buffer, blender::compositor::NodeOperation::get_id(), blender::compositor::get_operations_export_dir(), IB_rectfloat, IMB_allocImBuf(), IMB_freeImBuf(), IMB_saveiff(), and blender::compositor::operation_class_name().
Referenced by operation_rendered().
|
static |
Definition at line 340 of file COM_Debug.cc.
References BKE_tempdir_session, BLI_fopen(), BLI_path_join, blender::compositor::COM_EXPORT_GRAPHVIZ, FILE_MAX, graphviz_system(), MEM_freeN(), MEM_mallocN, SNPRINTF, str, and STRNCPY.
Referenced by blender::compositor::FullFrameExecutionModel::execute().
Definition at line 222 of file COM_Debug.cc.
References graphviz_legend_color(), len, and str.
Referenced by graphviz_system().
|
staticprotected |
Definition at line 188 of file COM_Debug.cc.
Referenced by graphviz_legend().
|
staticprotected |
Definition at line 208 of file COM_Debug.cc.
|
staticprotected |
Definition at line 199 of file COM_Debug.cc.
|
staticprotected |
Definition at line 60 of file COM_Debug.cc.
References BLI_assert_unreachable, blender::compositor::ConstantOperation::can_get_constant_elem(), blender::compositor::Color, blender::compositor::COM_GRAPHVIZ_SHOW_NODE_NAME, blender::compositor::Float2, blender::compositor::NodeOperation::get_canvas(), blender::compositor::ConstantOperation::get_constant_elem(), blender::compositor::ExecutionSystem::get_context(), blender::compositor::NodeOperationInput::get_data_type(), blender::compositor::NodeOperationOutput::get_data_type(), blender::compositor::NodeOperation::get_flags(), blender::compositor::NodeOperation::get_height(), blender::compositor::NodeOperation::get_id(), blender::compositor::NodeOperation::get_input_socket(), blender::compositor::NodeOperation::get_name(), blender::compositor::NodeOperation::get_number_of_input_sockets(), blender::compositor::NodeOperation::get_number_of_output_sockets(), blender::compositor::NodeOperation::get_output_socket(), blender::compositor::NodeOperation::get_width(), blender::compositor::ViewerOperation::is_active_viewer_output(), blender::compositor::NodeOperationFlags::is_constant_operation, blender::compositor::NodeOperation::is_output_operation(), blender::compositor::CompositorContext::is_rendering(), blender::compositor::NodeOperationFlags::is_viewer_operation, len, blender::compositor::operation_class_name(), str, blender::compositor::Value, blender::compositor::Vector, rcti::xmin, and rcti::ymin.
Referenced by graphviz_system().
|
staticprotected |
Definition at line 256 of file COM_Debug.cc.
References BLI_assert_unreachable, blender::compositor::Color, blender::compositor::Float2, from, graphviz_legend(), graphviz_operation(), l, len, str, blender::compositor::Value, and blender::compositor::Vector.
Referenced by graphviz().
|
inlinestatic |
Definition at line 65 of file COM_Debug.h.
References blender::compositor::COM_EXPORT_GRAPHVIZ, and node.
Referenced by blender::compositor::NodeGraph::add_node().
|
static |
Definition at line 42 of file COM_Debug.cc.
|
inlinestatic |
Definition at line 72 of file COM_Debug.h.
References blender::compositor::COM_EXPORT_GRAPHVIZ, and node.
Referenced by blender::compositor::NodeOperationBuilder::convert_to_operations().
|
inlinestatic |
Definition at line 79 of file COM_Debug.h.
References blender::compositor::COM_EXPORT_GRAPHVIZ.
|
static |
Definition at line 51 of file COM_Debug.cc.
|
inlinestatic |
Definition at line 86 of file COM_Debug.h.
References blender::compositor::COM_EXPORT_GRAPHVIZ.
|
inlinestatic |
Definition at line 93 of file COM_Debug.h.
References blender::compositor::COM_EXPORT_OPERATION_BUFFERS, and export_operation().