31 typedef std::map<const NodeOperation *, std::string>
OpNameMap;
37 static int file_index_;
43 static std::string current_node_name_;
45 static std::string current_op_name_;
68 node_names_[
node] = std::string(node->get_bnode() ? node->get_bnode()->name :
"");
75 current_node_name_ = node_names_[
node];
82 op_names_[operation] = current_node_name_;
89 current_op_name_ = op_names_[operation];
110 const char *name,
const char *color,
const char *style,
char *
str,
int maxlen);
112 const char *name,
const char *color,
const char *style,
char *
str,
int maxlen);
static std::string node_name(const Node *node)
static void node_to_operations(const Node *node)
static void operation_read_write_buffer(const NodeOperation *operation)
static void operation_added(const NodeOperation *operation)
static void delete_operation_exports()
static int graphviz_operation(const ExecutionSystem *system, NodeOperation *operation, char *str, int maxlen)
static std::string operation_name(const NodeOperation *op)
static void convert_started()
static int graphviz_legend_line(const char *name, const char *color, const char *style, char *str, int maxlen)
static bool graphviz_system(const ExecutionSystem *system, char *str, int maxlen)
static void node_added(const Node *node)
std::map< const Node *, std::string > NodeNameMap
static void execute_started()
static void export_operation(const NodeOperation *op, MemoryBuffer *render)
static void operation_rendered(const NodeOperation *op, MemoryBuffer *render)
std::map< const NodeOperation *, std::string > OpNameMap
static int graphviz_legend(char *str, int maxlen)
static int graphviz_legend_color(const char *name, const char *color, char *str, int maxlen)
static void graphviz(const ExecutionSystem *system, StringRefNull name="")
static int graphviz_legend_group(const char *name, const char *color, const char *style, char *str, int maxlen)
the ExecutionSystem contains the whole compositor tree.
a MemoryBuffer contains access to the data
NodeOperation contains calculation logic.
static constexpr bool COM_EXPORT_GRAPHVIZ
static constexpr bool COM_GRAPHVIZ_SHOW_NODE_NAME
static constexpr bool COM_EXPORT_OPERATION_BUFFERS