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-09-04 16:23:47 +0300
committerManuel Castilla <manzanillawork@gmail.com>2021-09-04 18:06:01 +0300
commitd84c79a218e63d0d752d918e2c1cbcc2f90fd35e (patch)
tree13d078db89900ffa8401bc0b8a9d075ad8e5dab3 /source/blender/compositor/operations/COM_MapValueOperation.h
parent9d7cb5c4a1158266d2f8caa1fc19be2a00fdf101 (diff)
Compositor: Full frame vector nodes
Adds full frame implementation to Map Range, Map Value, Normal and Normalize nodes. The other nodes in "Vector" sub-menu are submitted separately. Part of T88150. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D12233
Diffstat (limited to 'source/blender/compositor/operations/COM_MapValueOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_MapValueOperation.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_MapValueOperation.h b/source/blender/compositor/operations/COM_MapValueOperation.h
index eb7714714e9..a595eac3155 100644
--- a/source/blender/compositor/operations/COM_MapValueOperation.h
+++ b/source/blender/compositor/operations/COM_MapValueOperation.h
@@ -18,7 +18,7 @@
#pragma once
-#include "COM_NodeOperation.h"
+#include "COM_MultiThreadedOperation.h"
#include "DNA_texture_types.h"
namespace blender::compositor {
@@ -27,7 +27,7 @@ namespace blender::compositor {
* this program converts an input color to an output value.
* it assumes we are in sRGB color space.
*/
-class MapValueOperation : public NodeOperation {
+class MapValueOperation : public MultiThreadedOperation {
private:
/**
* Cached reference to the inputProgram
@@ -63,6 +63,10 @@ class MapValueOperation : public NodeOperation {
{
this->m_settings = settings;
}
+
+ void update_memory_buffer_partial(MemoryBuffer *output,
+ const rcti &area,
+ Span<MemoryBuffer *> inputs) override;
};
} // namespace blender::compositor