Blender V4.3
BLI_task_graph_test.cc File Reference
#include "testing/testing.h"
#include "MEM_guardedalloc.h"
#include "BLI_task.h"

Go to the source code of this file.

Classes

struct  TaskData
 

Functions

static void TaskData_increase_value (void *taskdata)
 
static void TaskData_decrease_value (void *taskdata)
 
static void TaskData_multiply_by_two_value (void *taskdata)
 
static void TaskData_multiply_by_two_store (void *taskdata)
 
static void TaskData_store_value (void *taskdata)
 
static void TaskData_square_value (void *taskdata)
 
 TEST (task, GraphSequential)
 
 TEST (task, GraphStartAtAnyNode)
 
 TEST (task, GraphSplit)
 
 TEST (task, GraphForest)
 
 TEST (task, GraphTaskData)
 

Function Documentation

◆ TaskData_decrease_value()

static void TaskData_decrease_value ( void * taskdata)
static

Definition at line 21 of file BLI_task_graph_test.cc.

References TaskData::value.

Referenced by TEST(), and TEST().

◆ TaskData_increase_value()

static void TaskData_increase_value ( void * taskdata)
static

Definition at line 16 of file BLI_task_graph_test.cc.

References TaskData::value.

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

◆ TaskData_multiply_by_two_store()

static void TaskData_multiply_by_two_store ( void * taskdata)
static

Definition at line 32 of file BLI_task_graph_test.cc.

References TaskData::store.

Referenced by TEST(), and TEST().

◆ TaskData_multiply_by_two_value()

static void TaskData_multiply_by_two_value ( void * taskdata)
static

Definition at line 26 of file BLI_task_graph_test.cc.

References TaskData::value.

Referenced by TEST(), and TEST().

◆ TaskData_square_value()

static void TaskData_square_value ( void * taskdata)
static

Definition at line 44 of file BLI_task_graph_test.cc.

References TaskData::value.

Referenced by TEST(), and TEST().

◆ TaskData_store_value()

static void TaskData_store_value ( void * taskdata)
static

Definition at line 38 of file BLI_task_graph_test.cc.

References TaskData::store.

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

◆ TEST() [1/5]

◆ TEST() [2/5]

◆ TEST() [3/5]

◆ TEST() [4/5]

◆ TEST() [5/5]