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_ReadBufferOperation.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_ReadBufferOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_ReadBufferOperation.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/compositor/operations/COM_ReadBufferOperation.h b/source/blender/compositor/operations/COM_ReadBufferOperation.h
index d4a8fe19761..f4504e11f48 100644
--- a/source/blender/compositor/operations/COM_ReadBufferOperation.h
+++ b/source/blender/compositor/operations/COM_ReadBufferOperation.h
@@ -26,21 +26,21 @@ namespace blender::compositor {
class ReadBufferOperation : public NodeOperation {
private:
- MemoryProxy *m_memoryProxy;
- bool m_single_value; /* single value stored in buffer, copied from associated write operation */
- unsigned int m_offset;
- MemoryBuffer *m_buffer;
+ MemoryProxy *memoryProxy_;
+ bool single_value_; /* single value stored in buffer, copied from associated write operation */
+ unsigned int offset_;
+ MemoryBuffer *buffer_;
public:
ReadBufferOperation(DataType datatype);
void setMemoryProxy(MemoryProxy *memoryProxy)
{
- m_memoryProxy = memoryProxy;
+ memoryProxy_ = memoryProxy;
}
MemoryProxy *getMemoryProxy() const
{
- return m_memoryProxy;
+ return memoryProxy_;
}
void determine_canvas(const rcti &preferred_area, rcti &r_area) override;
@@ -56,18 +56,18 @@ class ReadBufferOperation : public NodeOperation {
void executePixelFiltered(float output[4], float x, float y, float dx[2], float dy[2]) override;
void setOffset(unsigned int offset)
{
- m_offset = offset;
+ offset_ = offset;
}
unsigned int getOffset() const
{
- return m_offset;
+ return offset_;
}
bool determineDependingAreaOfInterest(rcti *input,
ReadBufferOperation *readOperation,
rcti *output) override;
MemoryBuffer *getInputMemoryBuffer(MemoryBuffer **memoryBuffers) override
{
- return memoryBuffers[m_offset];
+ return memoryBuffers[offset_];
}
void readResolutionFromWriteBuffer();
void updateMemoryBuffer();