Blender  V3.3
Classes | Functions
task_graph.cc File Reference
#include "MEM_guardedalloc.h"
#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)
 
struct TaskNodeBLI_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)
 

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 98 of file task_graph.cc.

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

◆ BLI_task_graph_edge_create()

void BLI_task_graph_edge_create ( struct TaskNode from_node,
struct TaskNode to_node 
)

◆ BLI_task_graph_free()

void BLI_task_graph_free ( TaskGraph task_graph)

Definition at line 103 of file task_graph.cc.

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

◆ BLI_task_graph_node_create()

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

◆ BLI_task_graph_node_push_work()

bool BLI_task_graph_node_push_work ( struct TaskNode task_node)

◆ BLI_task_graph_work_and_wait()

void BLI_task_graph_work_and_wait ( TaskGraph task_graph)