|
Blender
V2.93
|
Go to the source code of this file.
Classes | |
| struct | TaskGraph |
| struct | TaskNode |
Functions | |
| TaskGraph * | BLI_task_graph_create (void) |
| void | BLI_task_graph_free (TaskGraph *task_graph) |
| void | BLI_task_graph_work_and_wait (TaskGraph *task_graph) |
| struct TaskNode * | BLI_task_graph_node_create (struct TaskGraph *task_graph, TaskGraphNodeRunFunction run, void *user_data, TaskGraphNodeFreeFunction free_func) |
| bool | BLI_task_graph_node_push_work (struct TaskNode *task_node) |
| void | BLI_task_graph_edge_create (struct TaskNode *from_node, struct TaskNode *to_node) |
Task graph.
Definition in file task_graph.cc.
| TaskGraph* BLI_task_graph_create | ( | void | ) |
Definition at line 112 of file task_graph.cc.
Referenced by DRW_draw_depth_object(), drw_task_graph_init(), and TEST().
Definition at line 153 of file task_graph.cc.
References BLI_task_scheduler_num_threads(), and TaskNode::successors.
Referenced by extract_range_task_create(), extract_task_create(), mesh_buffer_cache_create_requested(), and TEST().
| void BLI_task_graph_free | ( | TaskGraph * | task_graph | ) |
Definition at line 117 of file task_graph.cc.
Referenced by DRW_draw_depth_object(), drw_task_graph_deinit(), and TEST().
| struct TaskNode* BLI_task_graph_node_create | ( | struct TaskGraph * | task_graph, |
| TaskGraphNodeRunFunction | run, | ||
| void * | user_data, | ||
| TaskGraphNodeFreeFunction | free_func | ||
| ) |
Definition at line 131 of file task_graph.cc.
References free_func(), TaskGraph::nodes, TaskNode::TaskNode(), and user_data.
Referenced by extract_range_task_create(), extract_single_threaded_task_node_create(), extract_task_create(), mesh_extract_render_data_node_create(), TEST(), and user_data_init_task_node_create().
| bool BLI_task_graph_node_push_work | ( | struct TaskNode * | task_node | ) |
Definition at line 141 of file task_graph.cc.
References BLI_task_scheduler_num_threads(), and TaskNode::run_serial().
Referenced by mesh_buffer_cache_create_requested(), and TEST().
| void BLI_task_graph_work_and_wait | ( | TaskGraph * | task_graph | ) |
Definition at line 122 of file task_graph.cc.
References UNUSED_VARS.
Referenced by DRW_draw_depth_object(), DRW_mesh_batch_cache_create_requested(), drw_task_graph_deinit(), mesh_buffer_cache_create_requested(), and TEST().