diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2021-08-25 09:55:50 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2021-08-25 09:55:50 +0300 |
commit | df05fae12695d00a092bdb694786310bface6cbe (patch) | |
tree | fa7ee49ca3413064f053efc6a80b501b6ff4ad36 /source/blender/compositor/operations/COM_GammaCorrectOperation.h | |
parent | 4793154d0d8f881134a0f662921646d4f04e546c (diff) | |
parent | 820d50d3cbf3a3995ca5a4051c82e8ee24805796 (diff) |
Merge branch 'master' into temp-runtime-node-def
Diffstat (limited to 'source/blender/compositor/operations/COM_GammaCorrectOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_GammaCorrectOperation.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_GammaCorrectOperation.h b/source/blender/compositor/operations/COM_GammaCorrectOperation.h index ac3d45b94b1..2a9fde70e87 100644 --- a/source/blender/compositor/operations/COM_GammaCorrectOperation.h +++ b/source/blender/compositor/operations/COM_GammaCorrectOperation.h @@ -18,11 +18,11 @@ #pragma once -#include "COM_NodeOperation.h" +#include "COM_MultiThreadedOperation.h" namespace blender::compositor { -class GammaCorrectOperation : public NodeOperation { +class GammaCorrectOperation : public MultiThreadedOperation { private: /** * Cached reference to the inputProgram @@ -46,9 +46,13 @@ class GammaCorrectOperation : public NodeOperation { * Deinitialize the execution */ void deinitExecution() override; + + void update_memory_buffer_partial(MemoryBuffer *output, + const rcti &area, + Span<MemoryBuffer *> inputs) override; }; -class GammaUncorrectOperation : public NodeOperation { +class GammaUncorrectOperation : public MultiThreadedOperation { private: /** * Cached reference to the inputProgram @@ -72,6 +76,10 @@ class GammaUncorrectOperation : public NodeOperation { * Deinitialize the execution */ void deinitExecution() override; + + void update_memory_buffer_partial(MemoryBuffer *output, + const rcti &area, + Span<MemoryBuffer *> inputs) override; }; } // namespace blender::compositor |