diff options
author | Manuel Castilla <manzanillawork@gmail.com> | 2021-07-07 01:06:46 +0300 |
---|---|---|
committer | Manuel Castilla <manzanillawork@gmail.com> | 2021-07-07 02:09:31 +0300 |
commit | 1657fa039dcbf969b5e514ab77d72880817a7f9e (patch) | |
tree | f01967b94548d09d00639f74d5fc16ff29cf0707 /source/blender/compositor/intern/COM_FullFrameExecutionModel.h | |
parent | f49f406f679c516478b0f7fa6eac5443012e2fa5 (diff) |
Compositor: Fix crash when executing works in constant folding
Work scheduler needed initialization and execution models are
not created during constant folding. This moves work execution
method to execution system.
Diffstat (limited to 'source/blender/compositor/intern/COM_FullFrameExecutionModel.h')
-rw-r--r-- | source/blender/compositor/intern/COM_FullFrameExecutionModel.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/compositor/intern/COM_FullFrameExecutionModel.h b/source/blender/compositor/intern/COM_FullFrameExecutionModel.h index cefa0d00cbd..f75d4f1afdc 100644 --- a/source/blender/compositor/intern/COM_FullFrameExecutionModel.h +++ b/source/blender/compositor/intern/COM_FullFrameExecutionModel.h @@ -50,20 +50,13 @@ class FullFrameExecutionModel : public ExecutionModel { */ Vector<eCompositorPriority> priorities_; - ThreadMutex work_mutex_; - ThreadCondition work_finished_cond_; - public: FullFrameExecutionModel(CompositorContext &context, SharedOperationBuffers &shared_buffers, Span<NodeOperation *> operations); - ~FullFrameExecutionModel(); void execute(ExecutionSystem &exec_system) override; - void execute_work(const rcti &work_rect, - std::function<void(const rcti &split_rect)> work_func) override; - private: void determine_areas_to_render_and_reads(); void render_operations(); |