Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_VectorBlurOperation.cc
| Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Lines | bool VectorBlurOperation::determineDependingAreaOfInterest(rcti * /*input*/, | ||||
| return false; | return false; | ||||
| } | } | ||||
| void VectorBlurOperation::get_area_of_interest(const int UNUSED(input_idx), | void VectorBlurOperation::get_area_of_interest(const 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.xmin = 0; | r_input_area = this->get_canvas(); | ||||
| r_input_area.xmax = this->getWidth(); | |||||
| r_input_area.ymin = 0; | |||||
| r_input_area.ymax = this->getHeight(); | |||||
| } | } | ||||
| void VectorBlurOperation::update_memory_buffer(MemoryBuffer *output, | void VectorBlurOperation::update_memory_buffer(MemoryBuffer *output, | ||||
| const rcti &area, | const rcti &area, | ||||
| Span<MemoryBuffer *> inputs) | Span<MemoryBuffer *> inputs) | ||||
| { | { | ||||
| /* TODO(manzanilla): once tiled implementation is removed, run multi-threaded where possible. */ | /* TODO(manzanilla): once tiled implementation is removed, run multi-threaded where possible. */ | ||||
| if (!m_cachedInstance) { | if (!m_cachedInstance) { | ||||
| ▲ Show 20 Lines • Show All 809 Lines • Show Last 20 Lines | |||||