Blender V4.3
task_graph.cc File Reference
#include "BLI_task.h"
#include <memory>
#include <vector>

Go to the source code of this file.

Classes

struct  TaskGraph
 
struct  TaskNode
 

Functions

TaskGraphBLI_task_graph_create ()
 
void BLI_task_graph_free (TaskGraph *task_graph)
 
void BLI_task_graph_work_and_wait (TaskGraph *task_graph)
 
TaskNodeBLI_task_graph_node_create (TaskGraph *task_graph, TaskGraphNodeRunFunction run, void *user_data, TaskGraphNodeFreeFunction free_func)
 
bool BLI_task_graph_node_push_work (TaskNode *task_node)
 
void BLI_task_graph_edge_create (TaskNode *from_node, TaskNode *to_node)
 

Detailed Description

Task graph.

Definition in file task_graph.cc.

Function Documentation

◆ BLI_task_graph_create()

TaskGraph * BLI_task_graph_create ( void )

Definition at line 102 of file task_graph.cc.

Referenced by DRW_draw_depth_object(), drw_task_graph_init(), TEST(), TEST(), TEST(), TEST(), and TEST().

◆ BLI_task_graph_edge_create()

void BLI_task_graph_edge_create ( TaskNode * from_node,
TaskNode * to_node )

◆ BLI_task_graph_free()

void BLI_task_graph_free ( TaskGraph * task_graph)

Definition at line 107 of file task_graph.cc.

Referenced by DRW_draw_depth_object(), drw_task_graph_deinit(), TEST(), TEST(), TEST(), TEST(), and TEST().

◆ BLI_task_graph_node_create()

TaskNode * BLI_task_graph_node_create ( TaskGraph * task_graph,
TaskGraphNodeRunFunction run,
void * user_data,
TaskGraphNodeFreeFunction free_func )

◆ BLI_task_graph_node_push_work()

bool BLI_task_graph_node_push_work ( TaskNode * task_node)

◆ BLI_task_graph_work_and_wait()