diff options
author | Manuel Castilla <manzanillawork@gmail.com> | 2021-08-26 19:49:40 +0300 |
---|---|---|
committer | Manuel Castilla <manzanillawork@gmail.com> | 2021-08-26 19:49:40 +0300 |
commit | e8f41f1b9399471d83f99914c9a2c5074dc0beb3 (patch) | |
tree | 1e1f69845904d4a8a8258a025d1c7d99872bac09 /source/blender/compositor/operations/COM_ReadBufferOperation.h | |
parent | c8897efa53fd33262433ac0c62b0d39df86bf44f (diff) |
Compositor: Replace resolution concept by canvas
This is a code refactor in preparation of supporting canvas
compositing and fix all cropping issues on full frame implementation.
No functional changes, all canvases are at (0, 0) position matching
tiled implementation.
Diffstat (limited to 'source/blender/compositor/operations/COM_ReadBufferOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_ReadBufferOperation.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_ReadBufferOperation.h b/source/blender/compositor/operations/COM_ReadBufferOperation.h index 8b96b961a43..02f6eccd246 100644 --- a/source/blender/compositor/operations/COM_ReadBufferOperation.h +++ b/source/blender/compositor/operations/COM_ReadBufferOperation.h @@ -43,8 +43,7 @@ class ReadBufferOperation : public NodeOperation { return this->m_memoryProxy; } - void determineResolution(unsigned int resolution[2], - unsigned int preferredResolution[2]) override; + void determine_canvas(const rcti &preferred_area, rcti &r_area) override; void *initializeTileData(rcti *rect) override; void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override; |