diff options
author | Manuel Castilla <manzanillawork@gmail.com> | 2021-07-05 22:02:22 +0300 |
---|---|---|
committer | Manuel Castilla <manzanillawork@gmail.com> | 2021-07-06 00:36:43 +0300 |
commit | 0c90aa097d0eb2f4faf91974113edb2b60599c9c (patch) | |
tree | 374ae7035b294d9be78384b012ffbd864e00862b /source/blender/compositor/operations/COM_ColorCorrectionOperation.h | |
parent | bf75106ae98206795818d702102c94a94bfe32a6 (diff) |
Compositor: Full frame Color Correction node
Adds full frame implementation to this node operation.
No functional changes.
1.4x faster than tiled fallback.
Reviewed By: jbakker
Differential Revision: https://developer.blender.org/D11765
Diffstat (limited to 'source/blender/compositor/operations/COM_ColorCorrectionOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_ColorCorrectionOperation.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_ColorCorrectionOperation.h b/source/blender/compositor/operations/COM_ColorCorrectionOperation.h index c5826ed0152..32b5e02e77a 100644 --- a/source/blender/compositor/operations/COM_ColorCorrectionOperation.h +++ b/source/blender/compositor/operations/COM_ColorCorrectionOperation.h @@ -18,11 +18,11 @@ #pragma once -#include "COM_NodeOperation.h" +#include "COM_MultiThreadedRowOperation.h" namespace blender::compositor { -class ColorCorrectionOperation : public NodeOperation { +class ColorCorrectionOperation : public MultiThreadedRowOperation { private: /** * Cached reference to the inputProgram @@ -69,6 +69,8 @@ class ColorCorrectionOperation : public NodeOperation { { this->m_blueChannelEnabled = enabled; } + + void update_memory_buffer_row(PixelCursor &p) override; }; } // namespace blender::compositor |