diff options
author | Manuel Castilla <manzanillawork@gmail.com> | 2021-08-03 00:01:12 +0300 |
---|---|---|
committer | Manuel Castilla <manzanillawork@gmail.com> | 2021-08-03 00:01:12 +0300 |
commit | 70bff51e609350c00dacb89a33b4c7b690839d5d (patch) | |
tree | 3b17dedecc7768208f56e77612306a5a793554f0 /source/blender/compositor/operations/COM_FlipOperation.h | |
parent | dbe753d1b3e3fae475b5df04d1378ef742b4c232 (diff) |
Compositor: Full frame Flip node
Diffstat (limited to 'source/blender/compositor/operations/COM_FlipOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_FlipOperation.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_FlipOperation.h b/source/blender/compositor/operations/COM_FlipOperation.h index f26d587fde6..dba7f82c341 100644 --- a/source/blender/compositor/operations/COM_FlipOperation.h +++ b/source/blender/compositor/operations/COM_FlipOperation.h @@ -18,11 +18,11 @@ #pragma once -#include "COM_NodeOperation.h" +#include "COM_MultiThreadedOperation.h" namespace blender::compositor { -class FlipOperation : public NodeOperation { +class FlipOperation : public MultiThreadedOperation { private: SocketReader *m_inputOperation; bool m_flipX; @@ -45,6 +45,11 @@ class FlipOperation : public NodeOperation { { this->m_flipY = flipY; } + + void get_area_of_interest(int input_idx, const rcti &output_area, rcti &r_input_area) override; + void update_memory_buffer_partial(MemoryBuffer *output, + const rcti &area, + Span<MemoryBuffer *> inputs) override; }; } // namespace blender::compositor |