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:
authorManuel Castilla <manzanillawork@gmail.com>2021-07-05 22:43:44 +0300
committerManuel Castilla <manzanillawork@gmail.com>2021-07-06 00:36:43 +0300
commit3d9ecf1cf26e5b55f1d961c9068e20c63d5c03b0 (patch)
tree24d7044b1ec22b50346b2757dd98ad8680180e1d /source/blender/compositor/operations/COM_ColorBalanceASCCDLOperation.h
parent0c90aa097d0eb2f4faf91974113edb2b60599c9c (diff)
Compositor: Full frame Color Balance node
Adds full frame implementation to this node operations. No functional changes. 1.3x faster than tiled fallback. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D11764
Diffstat (limited to 'source/blender/compositor/operations/COM_ColorBalanceASCCDLOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_ColorBalanceASCCDLOperation.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_ColorBalanceASCCDLOperation.h b/source/blender/compositor/operations/COM_ColorBalanceASCCDLOperation.h
index 5851600190f..d161ea66af2 100644
--- a/source/blender/compositor/operations/COM_ColorBalanceASCCDLOperation.h
+++ b/source/blender/compositor/operations/COM_ColorBalanceASCCDLOperation.h
@@ -18,7 +18,7 @@
#pragma once
-#include "COM_NodeOperation.h"
+#include "COM_MultiThreadedRowOperation.h"
namespace blender::compositor {
@@ -26,7 +26,7 @@ namespace blender::compositor {
* this program converts an input color to an output value.
* it assumes we are in sRGB color space.
*/
-class ColorBalanceASCCDLOperation : public NodeOperation {
+class ColorBalanceASCCDLOperation : public MultiThreadedRowOperation {
protected:
/**
* Prefetched reference to the inputProgram
@@ -71,6 +71,8 @@ class ColorBalanceASCCDLOperation : public NodeOperation {
{
copy_v3_v3(this->m_slope, slope);
}
+
+ void update_memory_buffer_row(PixelCursor &p) override;
};
} // namespace blender::compositor