Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cc
| Show First 20 Lines • Show All 1,393 Lines • ▼ Show 20 Lines | if (this->m_cachedInstance) { | ||||
| this->m_cachedInstance = nullptr; | this->m_cachedInstance = nullptr; | ||||
| } | } | ||||
| } | } | ||||
| void DoubleEdgeMaskOperation::get_area_of_interest(int UNUSED(input_idx), | void DoubleEdgeMaskOperation::get_area_of_interest(int UNUSED(input_idx), | ||||
| const rcti &UNUSED(output_area), | const rcti &UNUSED(output_area), | ||||
| rcti &r_input_area) | rcti &r_input_area) | ||||
| { | { | ||||
| r_input_area.xmax = this->getWidth(); | r_input_area = this->get_canvas(); | ||||
| r_input_area.xmin = 0; | |||||
| r_input_area.ymax = this->getHeight(); | |||||
| r_input_area.ymin = 0; | |||||
| } | } | ||||
| void DoubleEdgeMaskOperation::update_memory_buffer(MemoryBuffer *output, | void DoubleEdgeMaskOperation::update_memory_buffer(MemoryBuffer *output, | ||||
| const rcti &UNUSED(area), | const rcti &UNUSED(area), | ||||
| Span<MemoryBuffer *> inputs) | Span<MemoryBuffer *> inputs) | ||||
| { | { | ||||
| if (!is_output_rendered_) { | if (!is_output_rendered_) { | ||||
| /* Ensure full buffers to work with no strides. */ | /* Ensure full buffers to work with no strides. */ | ||||
| Show All 24 Lines | |||||