|
Blender V4.3
|
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 221 of file lazy_function_graph_executor.cc.
|
inline |
Definition at line 249 of file lazy_function_graph_executor.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty().
|
inline |
Definition at line 254 of file lazy_function_graph_executor.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::size().
|
inline |
Definition at line 238 of file lazy_function_graph_executor.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), and blender::Vector< T, InlineBufferCapacity, Allocator >::pop_last().
|
inline |
Definition at line 228 of file lazy_function_graph_executor.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append().
|
inline |
Split up the scheduled nodes into two groups that can be worked on in parallel.
Definition at line 262 of file lazy_function_graph_executor.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::as_span(), BLI_assert, blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().