Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Castilla <manzanillawork@gmail.com>2021-10-14 00:01:15 +0300
committerManuel Castilla <manzanillawork@gmail.com>2021-10-14 00:41:14 +0300
commit1c42d4930a24d639b3aa561b9a8b4bbce05977e0 (patch)
tree68c2aae3fd5ae98b78708bea28c0b55d3f4fb5f0 /source/blender/compositor/operations/COM_BokehBlurOperation.h
parenta2ee3c3a9f01f5cb2f05f1e84a1b6c1931d9d4a4 (diff)
Cleanup: convert camelCase naming to snake_case in Compositor
To convert old code to the current convention and use a single code style.
Diffstat (limited to 'source/blender/compositor/operations/COM_BokehBlurOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_BokehBlurOperation.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/source/blender/compositor/operations/COM_BokehBlurOperation.h b/source/blender/compositor/operations/COM_BokehBlurOperation.h
index 0b70b7a714a..5f6a880f890 100644
--- a/source/blender/compositor/operations/COM_BokehBlurOperation.h
+++ b/source/blender/compositor/operations/COM_BokehBlurOperation.h
@@ -25,15 +25,15 @@ namespace blender::compositor {
class BokehBlurOperation : public MultiThreadedOperation, public QualityStepHelper {
private:
- SocketReader *inputProgram_;
- SocketReader *inputBokehProgram_;
- SocketReader *inputBoundingBoxReader_;
- void updateSize();
+ SocketReader *input_program_;
+ SocketReader *input_bokeh_program_;
+ SocketReader *input_bounding_box_reader_;
+ void update_size();
float size_;
bool sizeavailable_;
- float bokehMidX_;
- float bokehMidY_;
+ float bokeh_mid_x_;
+ float bokeh_mid_y_;
float bokehDimension_;
bool extend_bounds_;
@@ -42,40 +42,40 @@ class BokehBlurOperation : public MultiThreadedOperation, public QualityStepHelp
void init_data() override;
- void *initializeTileData(rcti *rect) override;
+ void *initialize_tile_data(rcti *rect) override;
/**
* 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;
/**
* Initialize the execution
*/
- void initExecution() override;
+ void init_execution() override;
/**
* Deinitialize the execution
*/
- void deinitExecution() override;
+ void deinit_execution() override;
- bool determineDependingAreaOfInterest(rcti *input,
- ReadBufferOperation *readOperation,
- rcti *output) override;
+ bool determine_depending_area_of_interest(rcti *input,
+ ReadBufferOperation *read_operation,
+ rcti *output) override;
- void setSize(float size)
+ void set_size(float size)
{
size_ = size;
sizeavailable_ = true;
}
- 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;
- void setExtendBounds(bool extend_bounds)
+ void set_extend_bounds(bool extend_bounds)
{
extend_bounds_ = extend_bounds;
}