Blender V4.3
COM_ExecutionModel.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2021 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "BLI_span.hh"
8
9#include "DNA_vec_types.h"
10
11#ifdef WITH_CXX_GUARDEDALLOC
12# include "MEM_guardedalloc.h"
13#endif
14
15namespace blender::compositor {
16
17class CompositorContext;
18class ExecutionSystem;
19class NodeOperation;
20class ProfilerData;
21
26 protected:
30 struct {
36
41
46
47 public:
49
50 virtual ~ExecutionModel() {}
51
52 virtual void execute(ExecutionSystem &exec_system) = 0;
53
54#ifdef WITH_CXX_GUARDEDALLOC
55 MEM_CXX_CLASS_ALLOC_FUNCS("COM:BaseExecutionModel")
56#endif
57};
58
59} // namespace blender::compositor
Read Guarded memory(de)allocation.
Overall context of the compositor.
virtual void execute(ExecutionSystem &exec_system)=0
ExecutionModel(CompositorContext &context, Span< NodeOperation * > operations)
struct blender::compositor::ExecutionModel::@171 border_
the ExecutionSystem contains the whole compositor tree.