diff options
Diffstat (limited to 'source/blender/compositor/operations/COM_GaussianXBlurOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_GaussianXBlurOperation.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/source/blender/compositor/operations/COM_GaussianXBlurOperation.h b/source/blender/compositor/operations/COM_GaussianXBlurOperation.h index 1bb77031056..b9bbe1df900 100644 --- a/source/blender/compositor/operations/COM_GaussianXBlurOperation.h +++ b/source/blender/compositor/operations/COM_GaussianXBlurOperation.h @@ -25,7 +25,7 @@ namespace blender::compositor { /* TODO(manzanilla): everything to be removed with tiled implementation except the constructor. */ class GaussianXBlurOperation : public GaussianBlurBaseOperation { private: - void updateGauss(); + void update_gauss(); public: GaussianXBlurOperation(); @@ -33,31 +33,31 @@ class GaussianXBlurOperation : public GaussianBlurBaseOperation { /** * \brief The inner loop of this operation. */ - void executePixel(float output[4], int x, int y, void *data) override; + void execute_pixel(float output[4], int x, int y, void *data) override; - void executeOpenCL(OpenCLDevice *device, - MemoryBuffer *outputMemoryBuffer, - cl_mem clOutputBuffer, - MemoryBuffer **inputMemoryBuffers, - std::list<cl_mem> *clMemToCleanUp, - std::list<cl_kernel> *clKernelsToCleanUp) override; + void execute_opencl(OpenCLDevice *device, + MemoryBuffer *output_memory_buffer, + cl_mem cl_output_buffer, + MemoryBuffer **input_memory_buffers, + std::list<cl_mem> *cl_mem_to_clean_up, + std::list<cl_kernel> *cl_kernels_to_clean_up) override; /** * \brief initialize the execution */ - void initExecution() override; + void init_execution() override; /** * \brief Deinitialize the execution */ - void deinitExecution() override; + void deinit_execution() override; - void *initializeTileData(rcti *rect) override; - bool determineDependingAreaOfInterest(rcti *input, - ReadBufferOperation *readOperation, - rcti *output) override; + void *initialize_tile_data(rcti *rect) override; + bool determine_depending_area_of_interest(rcti *input, + ReadBufferOperation *read_operation, + rcti *output) override; - void checkOpenCL() + void check_opencl() { flags.open_cl = (data_.sizex >= 128); } |