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:04 +0300
committerManuel Castilla <manzanillawork@gmail.com>2021-10-14 00:41:14 +0300
commita2ee3c3a9f01f5cb2f05f1e84a1b6c1931d9d4a4 (patch)
treed409678b16280311ed228929a45c9470f67a6dcd /source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h
parentea79efef70da14100b591b50dcada819808f20b6 (diff)
Cleanup: replace members `m_` prefix by `_` suffix in Compositor
To convert old code to the current convention and use a single code style.
Diffstat (limited to 'source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h b/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h
index 6819e64ce80..c32d10ae3b9 100644
--- a/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h
+++ b/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h
@@ -34,14 +34,14 @@ class VariableSizeBokehBlurOperation : public MultiThreadedOperation, public Qua
static constexpr int DEFOCUS_INPUT_INDEX = 3;
#endif
- int m_maxBlur;
- float m_threshold;
- bool m_do_size_scale; /* scale size, matching 'BokehBlurNode' */
- SocketReader *m_inputProgram;
- SocketReader *m_inputBokehProgram;
- SocketReader *m_inputSizeProgram;
+ int maxBlur_;
+ float threshold_;
+ bool do_size_scale_; /* scale size, matching 'BokehBlurNode' */
+ SocketReader *inputProgram_;
+ SocketReader *inputBokehProgram_;
+ SocketReader *inputSizeProgram_;
#ifdef COM_DEFOCUS_SEARCH
- SocketReader *m_inputSearchProgram;
+ SocketReader *inputSearchProgram_;
#endif
public:
@@ -72,17 +72,17 @@ class VariableSizeBokehBlurOperation : public MultiThreadedOperation, public Qua
void setMaxBlur(int maxRadius)
{
- m_maxBlur = maxRadius;
+ maxBlur_ = maxRadius;
}
void setThreshold(float threshold)
{
- m_threshold = threshold;
+ threshold_ = threshold;
}
void setDoScaleSize(bool scale_size)
{
- m_do_size_scale = scale_size;
+ do_size_scale_ = scale_size;
}
void executeOpenCL(OpenCLDevice *device,
@@ -102,8 +102,8 @@ class VariableSizeBokehBlurOperation : public MultiThreadedOperation, public Qua
#ifdef COM_DEFOCUS_SEARCH
class InverseSearchRadiusOperation : public NodeOperation {
private:
- int m_maxBlur;
- SocketReader *m_inputRadius;
+ int maxBlur_;
+ SocketReader *inputRadius_;
public:
static const int DIVIDER = 4;
@@ -134,7 +134,7 @@ class InverseSearchRadiusOperation : public NodeOperation {
void setMaxBlur(int maxRadius)
{
- m_maxBlur = maxRadius;
+ maxBlur_ = maxRadius;
}
};
#endif