|
Blender
V2.93
|
#include "DNA_listBase.h"#include "BLI_utildefines.h"#include "BKE_node.h"#include "node_util.h"#include "RNA_types.h"Go to the source code of this file.
Classes | |
| struct | bNodeExec |
| struct | bNodeTreeExec |
| struct | bNodeThreadStack |
Typedefs | |
| typedef struct bNodeExec | bNodeExec |
| typedef struct bNodeTreeExec | bNodeTreeExec |
| typedef struct bNodeThreadStack | bNodeThreadStack |
| typedef struct bNodeThreadStack bNodeThreadStack |
| typedef struct bNodeTreeExec bNodeTreeExec |
| int node_exec_socket_use_stack | ( | struct bNodeSocket * | sock | ) |
Definition at line 38 of file node_exec.cc.
References ELEM, SOCK_FLOAT, SOCK_INT, SOCK_RGBA, SOCK_SHADER, SOCK_VECTOR, and bNodeSocket::type.
Referenced by node_init_input_index(), and node_init_output_index().
| struct bNodeStack* node_get_socket_stack | ( | struct bNodeStack * | stack, |
| struct bNodeSocket * | sock | ||
| ) |
Definition at line 45 of file node_exec.cc.
References bNodeSocket::stack_index.
Referenced by group_copy_inputs(), group_copy_outputs(), group_gpu_copy_inputs(), group_gpu_move_outputs(), group_move_outputs(), node_get_stack(), and setup_stack().
| void node_get_stack | ( | struct bNode * | node, |
| struct bNodeStack * | stack, | ||
| struct bNodeStack ** | in, | ||
| struct bNodeStack ** | out | ||
| ) |
Definition at line 53 of file node_exec.cc.
References bNodeSocket::next, node, and node_get_socket_stack().
Referenced by ntreeExecGPUNodes(), and ntreeExecThreadNodes().
| struct bNodeTreeExec* ntree_exec_begin | ( | struct bNodeExecContext * | context, |
| struct bNodeTree * | ntree, | ||
| bNodeInstanceKey | parent_key | ||
| ) |
Definition at line 156 of file node_exec.cc.
References BKE_node_instance_hash_lookup(), BKE_node_instance_key(), context, bNodeExec::data, bNodeExecData::data, exec(), bNodeLink::flag, bNodeExec::free_exec_fn, G, bNodeStack::hasoutput, bNodeSocket::link, MEM_callocN, MEM_freeN, bNodeSocket::next, node, bNodeExec::node, node_init_input_index(), node_init_output_index(), NODE_LINK_VALID, NODE_MUTED, NODE_REROUTE, ntree, ntreeGetDependencyList(), ntreeUpdateTree(), bNodeExecData::preview, and setup_stack().
Referenced by ntreeShaderBeginExecTree_internal(), and ntreeTexBeginExecTree_internal().
| void ntree_exec_end | ( | struct bNodeTreeExec * | exec | ) |
Definition at line 259 of file node_exec.cc.
References bNodeExec::data, bNodeExecData::data, exec(), bNodeExec::free_exec_fn, and MEM_freeN.
Referenced by ntreeShaderEndExecTree_internal(), and ntreeTexEndExecTree_internal().
| bool ntreeExecThreadNodes | ( | struct bNodeTreeExec * | exec, |
| struct bNodeThreadStack * | nts, | ||
| void * | callerdata, | ||
| int | thread | ||
| ) |
Definition at line 310 of file node_exec.cc.
References bNodeExec::data, exec(), MAX_SOCKET, node, bNodeExec::node, node_get_stack(), NODE_MUTED, and bNodeThreadStack::stack.
Referenced by group_execute(), and ntreeTexExecTree().
| struct bNodeThreadStack* ntreeGetThreadStack | ( | struct bNodeTreeExec * | exec, |
| int | thread | ||
| ) |
Definition at line 283 of file node_exec.cc.
References BLI_addtail(), exec(), ListBase::first, MEM_callocN, MEM_dupallocN, bNodeThreadStack::next, bNodeThreadStack::stack, and bNodeThreadStack::used.
Referenced by group_execute(), and ntreeTexExecTree().
| void ntreeReleaseThreadStack | ( | struct bNodeThreadStack * | nts | ) |
Definition at line 305 of file node_exec.cc.
References bNodeThreadStack::used.
Referenced by group_execute(), and ntreeTexExecTree().
| struct bNodeTreeExec* ntreeShaderBeginExecTree_internal | ( | struct bNodeExecContext * | context, |
| struct bNodeTree * | ntree, | ||
| bNodeInstanceKey | parent_key | ||
| ) |
Definition at line 954 of file node_shader_tree.c.
References BLENDER_MAX_THREADS, context, exec(), MEM_callocN, node, ntree, ntree_exec_begin(), and ntreeSetOutput().
Referenced by group_initexec(), and ntreeShaderBeginExecTree().
| void ntreeShaderEndExecTree_internal | ( | struct bNodeTreeExec * | exec | ) |
Definition at line 1001 of file node_shader_tree.c.
References Freestyle::a, BLENDER_MAX_THREADS, BLI_freelistN(), exec(), MEM_freeN, bNodeThreadStack::next, ntree_exec_end(), NULL, and bNodeThreadStack::stack.
Referenced by group_freeexec(), and ntreeShaderEndExecTree().
| struct bNodeTreeExec* ntreeTexBeginExecTree_internal | ( | struct bNodeExecContext * | context, |
| struct bNodeTree * | ntree, | ||
| bNodeInstanceKey | parent_key | ||
| ) |
Definition at line 180 of file node_texture_tree.c.
References BLENDER_MAX_THREADS, context, exec(), MEM_callocN, node, ntree, and ntree_exec_begin().
Referenced by group_initexec(), and ntreeTexBeginExecTree().
| void ntreeTexEndExecTree_internal | ( | struct bNodeTreeExec * | exec | ) |
Definition at line 242 of file node_texture_tree.c.
References Freestyle::a, BLENDER_MAX_THREADS, BLI_freelistN(), exec(), MEM_freeN, bNodeThreadStack::next, ntree_exec_end(), NULL, bNodeThreadStack::stack, and tex_free_delegates().
Referenced by group_freeexec(), and ntreeTexEndExecTree().