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_SetValueOperation.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_SetValueOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_SetValueOperation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_SetValueOperation.h b/source/blender/compositor/operations/COM_SetValueOperation.h index 726624c1c6a..e72652450a9 100644 --- a/source/blender/compositor/operations/COM_SetValueOperation.h +++ b/source/blender/compositor/operations/COM_SetValueOperation.h @@ -54,8 +54,8 @@ class SetValueOperation : public ConstantOperation { * The inner loop of this operation. */ void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override; - void determineResolution(unsigned int resolution[2], - unsigned int preferredResolution[2]) override; + + void determine_canvas(const rcti &preferred_area, rcti &r_area) override; }; } // namespace blender::compositor |