|
Blender
V3.3
|
Go to the source code of this file.
Classes | |
| struct | TaskGraph |
| struct | TaskNode |
Functions | |
| TaskGraph * | BLI_task_graph_create () |
| 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.
Definition at line 98 of file task_graph.cc.
Referenced by DRW_draw_depth_object(), drw_task_graph_init(), and TEST().
Definition at line 139 of file task_graph.cc.
References BLI_task_scheduler_num_threads(), and TaskNode::successors.
Referenced by blender::draw::mesh_buffer_cache_create_requested(), and TEST().
Definition at line 103 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 117 of file task_graph.cc.
References free_func(), TaskGraph::nodes, TaskNode::TaskNode(), and user_data.
Referenced by blender::draw::extract_task_node_create(), blender::draw::mesh_extract_render_data_node_create(), and TEST().
Definition at line 127 of file task_graph.cc.
References BLI_task_scheduler_num_threads(), and TaskNode::run_serial().
Referenced by blender::draw::mesh_buffer_cache_create_requested(), and TEST().
Definition at line 108 of file task_graph.cc.
References UNUSED_VARS.
Referenced by DRW_draw_depth_object(), DRW_mesh_batch_cache_create_requested(), drw_task_graph_deinit(), blender::draw::mesh_buffer_cache_create_requested(), and TEST().