|
Blender V5.3
|
#include <lazy_function_graph_executor_generic.hh>
Public Member Functions | |
| void | schedule (const FunctionNode &node, const bool is_priority) |
| const FunctionNode * | pop_next_node () |
| bool | is_empty () const |
| int64_t | nodes_num () const |
| void | split_into (ScheduledNodes &other) |
Keeps track of nodes that are currently scheduled on a thread. A node can only be scheduled by one thread at the same time.
Definition at line 225 of file lazy_function_graph_executor_generic.hh.
|
inline |
Definition at line 253 of file lazy_function_graph_executor_generic.hh.
References blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty().
|
inline |
Definition at line 258 of file lazy_function_graph_executor_generic.hh.
|
inline |
Definition at line 242 of file lazy_function_graph_executor_generic.hh.
References blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), and blender::Vector< T, InlineBufferCapacity, Allocator >::pop_last().
|
inline |
Definition at line 232 of file lazy_function_graph_executor_generic.hh.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), and node.
|
inline |
Split up the scheduled nodes into two groups that can be worked on in parallel.
Definition at line 266 of file lazy_function_graph_executor_generic.hh.
References blender::BLI_assert().