diff options
author | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-14 00:01:04 +0300 |
---|---|---|
committer | Manuel Castilla <manzanillawork@gmail.com> | 2021-10-14 00:41:14 +0300 |
commit | a2ee3c3a9f01f5cb2f05f1e84a1b6c1931d9d4a4 (patch) | |
tree | d409678b16280311ed228929a45c9470f67a6dcd /source/blender/compositor/intern/COM_OpenCLDevice.h | |
parent | ea79efef70da14100b591b50dcada819808f20b6 (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/intern/COM_OpenCLDevice.h')
-rw-r--r-- | source/blender/compositor/intern/COM_OpenCLDevice.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/compositor/intern/COM_OpenCLDevice.h b/source/blender/compositor/intern/COM_OpenCLDevice.h index 9c72fa31d95..ca5a95f4a48 100644 --- a/source/blender/compositor/intern/COM_OpenCLDevice.h +++ b/source/blender/compositor/intern/COM_OpenCLDevice.h @@ -43,27 +43,27 @@ class OpenCLDevice : public Device { /** * \brief opencl context */ - cl_context m_context; + cl_context context_; /** * \brief opencl device */ - cl_device_id m_device; + cl_device_id device_; /** * \brief opencl program */ - cl_program m_program; + cl_program program_; /** * \brief opencl command queue */ - cl_command_queue m_queue; + cl_command_queue queue_; /** * \brief opencl vendor ID */ - cl_int m_vendorID; + cl_int vendorID_; public: /** @@ -93,12 +93,12 @@ class OpenCLDevice : public Device { cl_context getContext() { - return m_context; + return context_; } cl_command_queue getQueue() { - return m_queue; + return queue_; } cl_mem COM_clAttachMemoryBufferToKernelParameter(cl_kernel kernel, |