Blender  V3.3
COM_TiledExecutionModel.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2021 Blender Foundation. */
3 
4 #pragma once
5 
6 #include "COM_Enums.h"
7 #include "COM_ExecutionModel.h"
8 
9 #ifdef WITH_CXX_GUARDEDALLOC
10 # include "MEM_guardedalloc.h"
11 #endif
12 
13 namespace blender::compositor {
14 
15 class ExecutionGroup;
16 
22  private:
23  Span<ExecutionGroup *> groups_;
24 
25  public:
27  Span<NodeOperation *> operations,
28  Span<ExecutionGroup *> groups);
29 
30  void execute(ExecutionSystem &exec_system) override;
31 
32  private:
33  void execute_groups(eCompositorPriority priority, ExecutionSystem &exec_system);
34 
35 #ifdef WITH_CXX_GUARDEDALLOC
36  MEM_CXX_CLASS_ALLOC_FUNCS("COM:TiledExecutionModel")
37 #endif
38 };
39 
40 } // namespace blender::compositor
Read Guarded memory(de)allocation.
Overall context of the compositor.
the ExecutionSystem contains the whole compositor tree.
void execute(ExecutionSystem &exec_system) override
TiledExecutionModel(CompositorContext &context, Span< NodeOperation * > operations, Span< ExecutionGroup * > groups)
eCompositorPriority
Possible priority settings.
Definition: COM_Enums.h:32