Blender V2.61 - r43446
|
#include "DNA_listBase.h"
#include "BLI_utildefines.h"
#include "BKE_node.h"
#include "RNA_types.h"
Go to the source code of this file.
Definition in file node_exec.h.
typedef struct bNodeThreadStack bNodeThreadStack |
typedef struct bNodeTreeExec bNodeTreeExec |
struct bNodeStack* node_get_socket_stack | ( | struct bNodeStack * | stack, |
struct bNodeSocket * | sock | ||
) | [read] |
Definition at line 47 of file node_exec.c.
References bNodeSocket::stack_index.
Referenced by freeExecutableNode(), group_copy_inputs(), group_copy_outputs(), group_gpu_copy_inputs(), group_gpu_move_outputs(), group_initexec(), group_move_outputs(), node_get_stack(), ntreeCompositBeginExecTree(), ntreeCompositEndExecTree(), and setup_stack().
void node_get_stack | ( | struct bNode * | node, |
struct bNodeStack * | stack, | ||
struct bNodeStack ** | in, | ||
struct bNodeStack ** | out | ||
) |
Definition at line 52 of file node_exec.c.
References ListBase::first, bNode::inputs, bNodeSocket::next, node_get_socket_stack(), and bNode::outputs.
Referenced by exec_composite_node(), ntreeExecGPUNodes(), ntreeExecNodes(), ntreeExecThreadNodes(), and setExecutableNodes().
void node_init_input_index | ( | struct bNodeSocket * | sock, |
int * | index | ||
) |
Definition at line 70 of file node_exec.c.
References bNodeLink::fromsock, bNodeSocket::link, and bNodeSocket::stack_index.
Referenced by ntree_exec_begin().
void node_init_output_index | ( | struct bNodeSocket * | sock, |
int * | index | ||
) |
Definition at line 80 of file node_exec.c.
References bNodeSocket::stack_index.
Referenced by ntree_exec_begin().
struct bNodeTreeExec* ntree_exec_begin | ( | struct bNodeTree * | ntree | ) | [read] |
Definition at line 127 of file node_exec.c.
References bNodeExec::data, exec(), ListBase::first, bNodeLink::flag, bNodeStack::hasinput, bNodeStack::hasoutput, bNodeTree::init, bNodeType::initexecfunc, bNode::inputs, bNodeTree::inputs, bNodeSocket::link, MEM_callocN(), MEM_freeN(), bNode::need_exec, bNodeSocket::next, bNodeExec::node, node_init_input_index(), node_init_output_index(), NODE_LINK_VALID, bNodeTreeExec::nodeexec, bNodeTreeExec::nodetree, NTREE_TYPE_INIT, ntreeGetDependencyList(), ntreeInitTypes(), bNodeTree::outputs, bNode::outputs, setup_stack(), bNodeTreeExec::stack, bNode::stack_index, bNodeTreeExec::stacksize, bNodeTreeExec::totnodes, and bNode::typeinfo.
Referenced by ntreeCompositBeginExecTree(), ntreeShaderBeginExecTree(), and ntreeTexBeginExecTree().
void ntree_exec_end | ( | struct bNodeTreeExec * | exec | ) |
Definition at line 217 of file node_exec.c.
References bNodeExec::data, bNodeType::freeexecfunc, MEM_freeN(), bNodeExec::node, bNodeTreeExec::nodeexec, bNodeTreeExec::stack, and bNode::typeinfo.
Referenced by ntreeCompositEndExecTree(), ntreeShaderEndExecTree(), and ntreeTexEndExecTree().
void ntreeExecNodes | ( | struct bNodeTreeExec * | exec, |
void * | callerdata, | ||
int | thread | ||
) |
Definition at line 265 of file node_exec.c.
References bNodeExec::data, bNodeType::execfunc, bNode::flag, MAX_SOCKET, bNodeType::mutefunc, bNode::need_exec, bNodeType::newexecfunc, bNodeExec::node, node_get_stack(), NODE_MUTED, bNodeTreeExec::nodeexec, bNodeTreeExec::stack, and bNode::typeinfo.
Referenced by group_execute().
void ntreeExecThreadNodes | ( | struct bNodeTreeExec * | exec, |
struct bNodeThreadStack * | nts, | ||
void * | callerdata, | ||
int | thread | ||
) |
Definition at line 293 of file node_exec.c.
References bNodeExec::data, bNodeType::execfunc, bNode::flag, MAX_SOCKET, bNodeType::mutefunc, bNode::need_exec, bNodeType::newexecfunc, bNodeExec::node, node_get_stack(), NODE_MUTED, bNodeTreeExec::nodeexec, bNodeThreadStack::stack, and bNode::typeinfo.
Referenced by group_execute(), ntreeShaderExecTree(), and ntreeTexExecTree().
struct bNodeThreadStack* ntreeGetThreadStack | ( | struct bNodeTreeExec * | exec, |
int | thread | ||
) | [read] |
Definition at line 238 of file node_exec.c.
References BLI_addtail(), ListBase::first, MEM_callocN(), MEM_dupallocN(), bNodeThreadStack::next, bNodeTreeExec::stack, bNodeThreadStack::stack, bNodeTreeExec::threadstack, and bNodeThreadStack::used.
Referenced by group_execute(), ntreeShaderExecTree(), and ntreeTexExecTree().
void ntreeReleaseThreadStack | ( | struct bNodeThreadStack * | nts | ) |
Definition at line 260 of file node_exec.c.
References bNodeThreadStack::used.
Referenced by group_execute(), ntreeShaderExecTree(), and ntreeTexExecTree().