Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-17 07:17:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-17 07:21:24 +0300
commite12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch)
tree8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/compositor/intern/COM_ExecutionSystem.h
parentb3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff)
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/compositor/intern/COM_ExecutionSystem.h')
-rw-r--r--source/blender/compositor/intern/COM_ExecutionSystem.h147
1 files changed, 78 insertions, 69 deletions
diff --git a/source/blender/compositor/intern/COM_ExecutionSystem.h b/source/blender/compositor/intern/COM_ExecutionSystem.h
index 476dd3ccc06..55c2ed6c22b 100644
--- a/source/blender/compositor/intern/COM_ExecutionSystem.h
+++ b/source/blender/compositor/intern/COM_ExecutionSystem.h
@@ -107,77 +107,86 @@ class ExecutionGroup;
* \brief the ExecutionSystem contains the whole compositor tree.
*/
class ExecutionSystem {
-public:
- typedef std::vector<NodeOperation*> Operations;
- typedef std::vector<ExecutionGroup*> Groups;
-
-private:
- /**
- * \brief the context used during execution
- */
- CompositorContext m_context;
-
- /**
- * \brief vector of operations
- */
- Operations m_operations;
-
- /**
- * \brief vector of groups
- */
- Groups m_groups;
-
-private: //methods
- /**
- * find all execution group with output nodes
- */
- void findOutputExecutionGroup(vector<ExecutionGroup *> *result, CompositorPriority priority) const;
-
- /**
- * find all execution group with output nodes
- */
- void findOutputExecutionGroup(vector<ExecutionGroup *> *result) const;
-
-public:
- /**
- * \brief Create a new ExecutionSystem and initialize it with the
- * editingtree.
- *
- * \param editingtree: [bNodeTree *]
- * \param rendering: [true false]
- */
- ExecutionSystem(RenderData *rd, Scene *scene, bNodeTree *editingtree, bool rendering, bool fastcalculation,
- const ColorManagedViewSettings *viewSettings, const ColorManagedDisplaySettings *displaySettings,
- const char *viewName);
-
- /**
- * Destructor
- */
- ~ExecutionSystem();
-
- void set_operations(const Operations &operations, const Groups &groups);
-
- /**
- * \brief execute this system
- * - initialize the NodeOperation's and ExecutionGroup's
- * - schedule the output ExecutionGroup's based on their priority
- * - deinitialize the ExecutionGroup's and NodeOperation's
- */
- void execute();
-
- /**
- * \brief get the reference to the compositor context
- */
- const CompositorContext &getContext() const { return this->m_context; }
-
-private:
- void executeGroups(CompositorPriority priority);
-
- /* allow the DebugInfo class to look at internals */
- friend class DebugInfo;
+ public:
+ typedef std::vector<NodeOperation *> Operations;
+ typedef std::vector<ExecutionGroup *> Groups;
+
+ private:
+ /**
+ * \brief the context used during execution
+ */
+ CompositorContext m_context;
+
+ /**
+ * \brief vector of operations
+ */
+ Operations m_operations;
+
+ /**
+ * \brief vector of groups
+ */
+ Groups m_groups;
+
+ private: //methods
+ /**
+ * find all execution group with output nodes
+ */
+ void findOutputExecutionGroup(vector<ExecutionGroup *> *result,
+ CompositorPriority priority) const;
+
+ /**
+ * find all execution group with output nodes
+ */
+ void findOutputExecutionGroup(vector<ExecutionGroup *> *result) const;
+
+ public:
+ /**
+ * \brief Create a new ExecutionSystem and initialize it with the
+ * editingtree.
+ *
+ * \param editingtree: [bNodeTree *]
+ * \param rendering: [true false]
+ */
+ ExecutionSystem(RenderData *rd,
+ Scene *scene,
+ bNodeTree *editingtree,
+ bool rendering,
+ bool fastcalculation,
+ const ColorManagedViewSettings *viewSettings,
+ const ColorManagedDisplaySettings *displaySettings,
+ const char *viewName);
+
+ /**
+ * Destructor
+ */
+ ~ExecutionSystem();
+
+ void set_operations(const Operations &operations, const Groups &groups);
+
+ /**
+ * \brief execute this system
+ * - initialize the NodeOperation's and ExecutionGroup's
+ * - schedule the output ExecutionGroup's based on their priority
+ * - deinitialize the ExecutionGroup's and NodeOperation's
+ */
+ void execute();
+
+ /**
+ * \brief get the reference to the compositor context
+ */
+ const CompositorContext &getContext() const
+ {
+ return this->m_context;
+ }
+
+ private:
+ void executeGroups(CompositorPriority priority);
+
+ /* allow the DebugInfo class to look at internals */
+ friend class DebugInfo;
#ifdef WITH_CXX_GUARDEDALLOC
- MEM_CXX_CLASS_ALLOC_FUNCS("COM:ExecutionSystem")
+ MEM_CXX_CLASS_ALLOC_FUNCS("COM:ExecutionSystem")
#endif
};