Compositor: Code cleanup, prepare for strict C++ flags
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 27 Mar 2015 10:49:07 +0000 (15:49 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 27 Mar 2015 13:23:31 +0000 (18:23 +0500)
115 files changed:
source/blender/compositor/intern/COM_ExecutionGroup.cpp
source/blender/compositor/intern/COM_NodeOperation.h
source/blender/compositor/intern/COM_NodeOperationBuilder.cpp
source/blender/compositor/intern/COM_SingleThreadedOperation.cpp
source/blender/compositor/intern/COM_SocketReader.h
source/blender/compositor/intern/COM_WorkScheduler.cpp
source/blender/compositor/nodes/COM_AlphaOverNode.cpp
source/blender/compositor/nodes/COM_BokehImageNode.cpp
source/blender/compositor/nodes/COM_BrightnessNode.cpp
source/blender/compositor/nodes/COM_ChannelMatteNode.cpp
source/blender/compositor/nodes/COM_ChromaMatteNode.cpp
source/blender/compositor/nodes/COM_ColorBalanceNode.cpp
source/blender/compositor/nodes/COM_ColorCorrectionNode.cpp
source/blender/compositor/nodes/COM_ColorCurveNode.cpp
source/blender/compositor/nodes/COM_ColorMatteNode.cpp
source/blender/compositor/nodes/COM_ColorNode.cpp
source/blender/compositor/nodes/COM_ColorRampNode.cpp
source/blender/compositor/nodes/COM_ColorSpillNode.cpp
source/blender/compositor/nodes/COM_ColorToBWNode.cpp
source/blender/compositor/nodes/COM_CombineColorNode.cpp
source/blender/compositor/nodes/COM_ConvertAlphaNode.cpp
source/blender/compositor/nodes/COM_CornerPinNode.cpp
source/blender/compositor/nodes/COM_CropNode.cpp
source/blender/compositor/nodes/COM_DespeckleNode.cpp
source/blender/compositor/nodes/COM_DifferenceMatteNode.cpp
source/blender/compositor/nodes/COM_DistanceMatteNode.cpp
source/blender/compositor/nodes/COM_DoubleEdgeMaskNode.cpp
source/blender/compositor/nodes/COM_FilterNode.cpp
source/blender/compositor/nodes/COM_FlipNode.cpp
source/blender/compositor/nodes/COM_GammaNode.cpp
source/blender/compositor/nodes/COM_GlareNode.cpp
source/blender/compositor/nodes/COM_HueSaturationValueCorrectNode.cpp
source/blender/compositor/nodes/COM_HueSaturationValueNode.cpp
source/blender/compositor/nodes/COM_InpaintNode.cpp
source/blender/compositor/nodes/COM_InvertNode.cpp
source/blender/compositor/nodes/COM_LensDistortionNode.cpp
source/blender/compositor/nodes/COM_LuminanceMatteNode.cpp
source/blender/compositor/nodes/COM_MapRangeNode.cpp
source/blender/compositor/nodes/COM_MapUVNode.cpp
source/blender/compositor/nodes/COM_MapValueNode.cpp
source/blender/compositor/nodes/COM_MathNode.cpp
source/blender/compositor/nodes/COM_MixNode.cpp
source/blender/compositor/nodes/COM_NormalNode.cpp
source/blender/compositor/nodes/COM_NormalizeNode.cpp
source/blender/compositor/nodes/COM_PixelateNode.cpp
source/blender/compositor/nodes/COM_RotateNode.cpp
source/blender/compositor/nodes/COM_SeparateColorNode.cpp
source/blender/compositor/nodes/COM_SetAlphaNode.cpp
source/blender/compositor/nodes/COM_SocketProxyNode.cpp
source/blender/compositor/nodes/COM_SunBeamsNode.cpp
source/blender/compositor/nodes/COM_SwitchNode.cpp
source/blender/compositor/nodes/COM_TonemapNode.cpp
source/blender/compositor/nodes/COM_TransformNode.cpp
source/blender/compositor/nodes/COM_ValueNode.cpp
source/blender/compositor/nodes/COM_VectorCurveNode.cpp
source/blender/compositor/nodes/COM_ViewLevelsNode.cpp
source/blender/compositor/operations/COM_AntiAliasOperation.cpp
source/blender/compositor/operations/COM_BlurBaseOperation.cpp
source/blender/compositor/operations/COM_BlurBaseOperation.h
source/blender/compositor/operations/COM_BokehBlurOperation.cpp
source/blender/compositor/operations/COM_BokehImageOperation.cpp
source/blender/compositor/operations/COM_CalculateMeanOperation.cpp
source/blender/compositor/operations/COM_CalculateStandardDeviationOperation.cpp
source/blender/compositor/operations/COM_CompositorOperation.cpp
source/blender/compositor/operations/COM_CompositorOperation.h
source/blender/compositor/operations/COM_ConvolutionEdgeFilterOperation.cpp
source/blender/compositor/operations/COM_ConvolutionFilterOperation.cpp
source/blender/compositor/operations/COM_DespeckleOperation.cpp
source/blender/compositor/operations/COM_DilateErodeOperation.cpp
source/blender/compositor/operations/COM_DirectionalBlurOperation.cpp
source/blender/compositor/operations/COM_DisplaceOperation.cpp
source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cpp
source/blender/compositor/operations/COM_FastGaussianBlurOperation.cpp
source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.cpp
source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.cpp
source/blender/compositor/operations/COM_GaussianBokehBlurOperation.cpp
source/blender/compositor/operations/COM_GaussianXBlurOperation.cpp
source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp
source/blender/compositor/operations/COM_GlareBaseOperation.cpp
source/blender/compositor/operations/COM_ImageOperation.cpp
source/blender/compositor/operations/COM_InpaintOperation.cpp
source/blender/compositor/operations/COM_KeyingScreenOperation.cpp
source/blender/compositor/operations/COM_MapUVOperation.cpp
source/blender/compositor/operations/COM_MaskOperation.cpp
source/blender/compositor/operations/COM_MovieClipAttributeOperation.cpp
source/blender/compositor/operations/COM_MovieClipOperation.cpp
source/blender/compositor/operations/COM_MovieDistortionOperation.cpp
source/blender/compositor/operations/COM_MultilayerImageOperation.cpp
source/blender/compositor/operations/COM_NormalizeOperation.cpp
source/blender/compositor/operations/COM_OutputFileOperation.cpp
source/blender/compositor/operations/COM_OutputFileOperation.h
source/blender/compositor/operations/COM_PlaneDistortCommonOperation.cpp
source/blender/compositor/operations/COM_PlaneTrackOperation.cpp
source/blender/compositor/operations/COM_PreviewOperation.cpp
source/blender/compositor/operations/COM_PreviewOperation.h
source/blender/compositor/operations/COM_ProjectorLensDistortionOperation.cpp
source/blender/compositor/operations/COM_ReadBufferOperation.cpp
source/blender/compositor/operations/COM_RenderLayersProg.cpp
source/blender/compositor/operations/COM_ScaleOperation.cpp
source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp
source/blender/compositor/operations/COM_SetColorOperation.cpp
source/blender/compositor/operations/COM_SetSamplerOperation.cpp
source/blender/compositor/operations/COM_SetValueOperation.cpp
source/blender/compositor/operations/COM_SetVectorOperation.cpp
source/blender/compositor/operations/COM_SplitOperation.cpp
source/blender/compositor/operations/COM_SunBeamsOperation.cpp
source/blender/compositor/operations/COM_TextureOperation.cpp
source/blender/compositor/operations/COM_TonemapOperation.cpp
source/blender/compositor/operations/COM_TrackPositionOperation.cpp
source/blender/compositor/operations/COM_TranslateOperation.cpp
source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.cpp
source/blender/compositor/operations/COM_VectorBlurOperation.cpp
source/blender/compositor/operations/COM_ViewerOperation.cpp
source/blender/compositor/operations/COM_ViewerOperation.h
source/blender/compositor/operations/COM_WriteBufferOperation.cpp

index 4676f6867c845dba0fe852861d1c54160eac9e07..ca4f5c38f3641abe3a268be22b1c425c7b1cc479 100644 (file)
@@ -433,7 +433,8 @@ void ExecutionGroup::determineChunkRect(rcti *rect, const unsigned int chunkNumb
        determineChunkRect(rect, xChunk, yChunk);
 }
 
-MemoryBuffer *ExecutionGroup::allocateOutputBuffer(int chunkNumber, rcti *rect)
+MemoryBuffer *ExecutionGroup::allocateOutputBuffer(int /*chunkNumber*/,
+                                                   rcti *rect)
 {
        // we asume that this method is only called from complex execution groups.
        NodeOperation *operation = this->getOutputOperation();
index d9c16615fb6c382c49c9154c8e7fb195bf7d51f5..7c87524b4b36fc6e5673080215798b252607d2d5 100644 (file)
@@ -161,7 +161,7 @@ public:
         *
         * @return bool the result of this method
         */
-       virtual bool isOutputOperation(bool rendering) const { return false; }
+       virtual bool isOutputOperation(bool /*rendering*/) const { return false; }
 
        virtual int isSingleThreaded() { return false; }
 
@@ -175,7 +175,8 @@ public:
         * @param chunkNumber the chunkNumber to be calculated
         * @param memoryBuffers all input MemoryBuffer's needed
         */
-       virtual void executeRegion(rcti *rect, unsigned int chunkNumber) {}
+       virtual void executeRegion(rcti * /*rect*/,
+                                  unsigned int /*chunkNumber*/) {}
 
        /**
         * @brief when a chunk is executed by an OpenCLDevice, this method is called
@@ -189,8 +190,11 @@ public:
         * @param memoryBuffers all input MemoryBuffer's needed
         * @param outputBuffer the outputbuffer to write to
         */
-       virtual void executeOpenCLRegion(OpenCLDevice *device, rcti *rect,
-                                        unsigned int chunkNumber, MemoryBuffer **memoryBuffers, MemoryBuffer *outputBuffer) {}
+       virtual void executeOpenCLRegion(OpenCLDevice * /*device*/,
+                                        rcti * /*rect*/,
+                                        unsigned int /*chunkNumber*/,
+                                        MemoryBuffer ** /*memoryBuffers*/,
+                                        MemoryBuffer * /*outputBuffer*/) {}
 
        /**
         * @brief custom handle to add new tasks to the OpenCL command queue in order to execute a chunk on an GPUDevice
@@ -204,10 +208,12 @@ public:
         * @param clMemToCleanUp all created cl_mem references must be added to this list. Framework will clean this after execution
         * @param clKernelsToCleanUp all created cl_kernel references must be added to this list. Framework will clean this after execution
         */
-       virtual void executeOpenCL(OpenCLDevice *device,
-                                  MemoryBuffer *outputMemoryBuffer, cl_mem clOutputBuffer,
-                                  MemoryBuffer **inputMemoryBuffers, list<cl_mem> *clMemToCleanUp,
-                                  list<cl_kernel> *clKernelsToCleanUp) {}
+       virtual void executeOpenCL(OpenCLDevice * /*device*/,
+                                  MemoryBuffer * /*outputMemoryBuffer*/,
+                                  cl_mem /*clOutputBuffer*/,
+                                  MemoryBuffer ** /*inputMemoryBuffers*/,
+                                  list<cl_mem> * /*clMemToCleanUp*/,
+                                  list<cl_kernel> * /*clKernelsToCleanUp*/) {}
        virtual void deinitExecution();
 
        bool isResolutionSet() {
index 45105bade08803250d805bcb6feb40ce280fa246..aed60f5fca86b782253aefdfee42aaf4fed74868 100644 (file)
@@ -459,7 +459,8 @@ WriteBufferOperation *NodeOperationBuilder::find_attached_write_buffer_operation
        return NULL;
 }
 
-void NodeOperationBuilder::add_input_buffers(NodeOperation *operation, NodeOperationInput *input)
+void NodeOperationBuilder::add_input_buffers(NodeOperation * /*operation*/,
+                                             NodeOperationInput *input)
 {
        if (!input->isConnected())
                return;
index c300a85bfa3efcc85cb8efc009e3cdaebb5ccaeb..b17f5d6b429c7ae0385eee52d4d6c859e9a2dce3 100644 (file)
@@ -33,7 +33,7 @@ void SingleThreadedOperation::initExecution()
        initMutex();
 }
 
-void SingleThreadedOperation::executePixel(float output[4], int x, int y, void *data)
+void SingleThreadedOperation::executePixel(float output[4], int x, int y, void * /*data*/)
 {
        this->m_cachedInstance->readNoCheck(output, x, y);
 }
index c996ef5bbeb7604bf5f7797dd7ea188c280a5ba6..7ba208ebbf6aa4b579a93dacecb8d8d02533511b 100644 (file)
@@ -63,7 +63,10 @@ protected:
         * @param y the y-coordinate of the pixel to calculate in image space
         * @param inputBuffers chunks that can be read by their ReadBufferOperation.
         */
-       virtual void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) {}
+       virtual void executePixelSampled(float /*output*/[4],
+                                        float /*x*/,
+                                        float /*y*/,
+                                        PixelSampler /*sampler*/) { }
 
        /**
         * @brief calculate a single pixel
@@ -74,7 +77,7 @@ protected:
         * @param inputBuffers chunks that can be read by their ReadBufferOperation.
         * @param chunkData chunk specific data a during execution time.
         */
-       virtual void executePixel(float output[4], int x, int y, void *chunkData) {
+       virtual void executePixel(float output[4], int x, int y, void * /*chunkData*/) {
                executePixelSampled(output, x, y, COM_PS_NEAREST);
        }
 
@@ -88,7 +91,10 @@ protected:
         * @param dy
         * @param inputBuffers chunks that can be read by their ReadBufferOperation.
         */
-       virtual void executePixelFiltered(float output[4], float x, float y, float dx[2], float dy[2], PixelSampler sampler) {}
+       virtual void executePixelFiltered(float /*output*/[4],
+                                         float /*x*/, float /*y*/,
+                                         float /*dx*/[2], float /*dy*/[2],
+                                         PixelSampler /*sampler*/) {}
 
 public:
        inline void readSampled(float result[4], float x, float y, PixelSampler sampler) {
@@ -101,12 +107,12 @@ public:
                executePixelFiltered(result, x, y, dx, dy, sampler);
        }
 
-       virtual void *initializeTileData(rcti *rect) { return 0; }
-       virtual void deinitializeTileData(rcti *rect, void *data) {}
+       virtual void *initializeTileData(rcti * /*rect*/) { return 0; }
+       virtual void deinitializeTileData(rcti * /*rect*/, void * /*data*/) {}
 
        virtual ~SocketReader() {}
 
-       virtual MemoryBuffer *getInputMemoryBuffer(MemoryBuffer **memoryBuffers) { return 0; }
+       virtual MemoryBuffer *getInputMemoryBuffer(MemoryBuffer ** /*memoryBuffers*/) { return 0; }
 
        inline const unsigned int getWidth() const { return this->m_width; }
        inline const unsigned int getHeight() const { return this->m_height; }
index 673920ef84a3735437cf0a033385360e4e974815..fc6ea1299cf3554d07515f8f5774387a4a50f256 100644 (file)
@@ -276,7 +276,10 @@ bool WorkScheduler::hasGPUDevices()
 #endif
 }
 
-static void CL_CALLBACK clContextError(const char *errinfo, const void *private_info, size_t cb, void *user_data)
+static void CL_CALLBACK clContextError(const char *errinfo,
+                                       const void * /*private_info*/,
+                                       size_t /*cb*/,
+                                       void * /*user_data*/)
 {
        printf("OPENCL error: %s\n", errinfo);
 }
index 0306d636c8b3fc4a667ed09bc8656a9514cab94f..e9b99b6aaf172c03ffcafe01d0e9a6376648595f 100644 (file)
@@ -30,7 +30,7 @@
 #include "COM_SetValueOperation.h"
 #include "DNA_material_types.h" // the ramp types
 
-void AlphaOverNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void AlphaOverNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeInput *color1Socket = this->getInputSocket(1);
        NodeInput *color2Socket = this->getInputSocket(2);
index c75e9b16336a38ec628ff0e7c479ee8c21e0af82..7b7cfc812aa10fe6aec4a56a8914bed9e9e5e5be 100644 (file)
@@ -29,7 +29,7 @@ BokehImageNode::BokehImageNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void BokehImageNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void BokehImageNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        BokehImageOperation *operation = new BokehImageOperation();
        operation->setData((NodeBokehImage *)this->getbNode()->storage);
index e684b56994508c94d1d8c642337ce59987e32811..053f286c66e9ecb8b8f3d192f2d9147215caca19 100644 (file)
@@ -29,7 +29,7 @@ BrightnessNode::BrightnessNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void BrightnessNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void BrightnessNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        BrightnessOperation *operation = new BrightnessOperation();
        converter.addOperation(operation);
index f356c74cd496b3fb7c960ec59112a101279b9b05..b04f86dea08bbd1134a7449f104cbfb863501b1f 100644 (file)
@@ -30,7 +30,7 @@ ChannelMatteNode::ChannelMatteNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void ChannelMatteNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void ChannelMatteNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        bNode *node = this->getbNode();
        
index 90de9358587f8beb292dd4ed567cf6b640528d72..6324ca9a3ca86f4e2a896cc86db5599efd8e569e 100644 (file)
@@ -30,7 +30,7 @@ ChromaMatteNode::ChromaMatteNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void ChromaMatteNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void ChromaMatteNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        bNode *editorsnode = getbNode();
        
index fc0df046e864e033c994ad2b6277f34e32434a9a..a531493d486c64c3dbe8f8dd005f7a90095bdf1b 100644 (file)
@@ -32,7 +32,7 @@ ColorBalanceNode::ColorBalanceNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void ColorBalanceNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void ColorBalanceNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        bNode *node = this->getbNode();
        NodeColorBalance *n = (NodeColorBalance *)node->storage;
index 728b51b8dc1b9bd9b849d7dc0399dadb4d1e6ac6..e926d131c1a0ed6a31427ea81f089a0dce821013 100644 (file)
@@ -29,7 +29,7 @@ ColorCorrectionNode::ColorCorrectionNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void ColorCorrectionNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void ColorCorrectionNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        bNode *editorNode = getbNode();
        
index 6dc936302f43579579d1672ff3d49ee1d0c5fd11..5a4dc79e6b2427fdd296c681a2eb5ceeca7eab91 100644 (file)
@@ -29,7 +29,7 @@ ColorCurveNode::ColorCurveNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void ColorCurveNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void ColorCurveNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        if (this->getInputSocket(2)->isLinked() || this->getInputSocket(3)->isLinked()) {
                ColorCurveOperation *operation = new ColorCurveOperation();
index def3b18e0febf8a7c298d4f2d564f0a94aa29b7d..f7c20894087dde95eea842d75096cf2e33a4cd2e 100644 (file)
@@ -30,7 +30,7 @@ ColorMatteNode::ColorMatteNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void ColorMatteNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void ColorMatteNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        bNode *editorsnode = getbNode();
        
index 4106cb647986436bb79d6e09f4fdb9a6eb32abf7..c3770e79deaa0343edcc1deb8789cf1816e151ff 100644 (file)
@@ -29,7 +29,7 @@ ColorNode::ColorNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void ColorNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void ColorNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        SetColorOperation *operation = new SetColorOperation();
        NodeOutput *output = this->getOutputSocket(0);
index a61ddffbf354478cd84cb7e2e5fd022d4a5ad512..1feaa88bebb004a9e3e9249ab489d941e08a1ceb 100644 (file)
@@ -32,7 +32,7 @@ ColorRampNode::ColorRampNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void ColorRampNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void ColorRampNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeInput *inputSocket = this->getInputSocket(0);
        NodeOutput *outputSocket = this->getOutputSocket(0);
index 82454ba7979cde0ecb0862019d425b45784a9cbc..c3a911e830bf05ae49dfe6a8a52fe2a6aae92279 100644 (file)
@@ -29,7 +29,7 @@ ColorSpillNode::ColorSpillNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void ColorSpillNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void ColorSpillNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        bNode *editorsnode = getbNode();
        
index a1616a61b4bbc6a6d66f32473db35d75625f2f97..f09c6bac3ee13fa40b48120ea1101d4ddb0c246e 100644 (file)
@@ -30,7 +30,7 @@ ColorToBWNode::ColorToBWNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void ColorToBWNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void ColorToBWNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeInput *colorSocket = this->getInputSocket(0);
        NodeOutput *valueSocket = this->getOutputSocket(0);
index c7a3baf809dd24a4d8995d219e115f7621e0e498..a39e946fe5f08f4ca40c436f684bb26fac48942d 100644 (file)
@@ -72,17 +72,17 @@ void CombineColorNode::convertToOperations(NodeConverter &converter, const Compo
 }
 
 
-NodeOperation *CombineRGBANode::getColorConverter(const CompositorContext &context) const
+NodeOperation *CombineRGBANode::getColorConverter(const CompositorContext &/*context*/) const
 {
        return NULL; /* no conversion needed */
 }
 
-NodeOperation *CombineHSVANode::getColorConverter(const CompositorContext &context) const
+NodeOperation *CombineHSVANode::getColorConverter(const CompositorContext &/*context*/) const
 {
        return new ConvertHSVToRGBOperation();
 }
 
-NodeOperation *CombineYCCANode::getColorConverter(const CompositorContext &context) const
+NodeOperation *CombineYCCANode::getColorConverter(const CompositorContext &/*context*/) const
 {
        ConvertYCCToRGBOperation *operation = new ConvertYCCToRGBOperation();
        bNode *editorNode = this->getbNode();
@@ -90,7 +90,7 @@ NodeOperation *CombineYCCANode::getColorConverter(const CompositorContext &conte
        return operation;
 }
 
-NodeOperation *CombineYUVANode::getColorConverter(const CompositorContext &context) const
+NodeOperation *CombineYUVANode::getColorConverter(const CompositorContext &/*context*/) const
 {
        return new ConvertYUVToRGBOperation();
 }
index ba31ed6e89c98c9a939172f2c4cb0983bf7ef64d..fbf5dbb62530455f7074fb98a926a7756002df5b 100644 (file)
@@ -23,7 +23,7 @@
 #include "COM_ConvertOperation.h"
 #include "COM_ExecutionSystem.h"
 
-void ConvertAlphaNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void ConvertAlphaNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeOperation *operation = NULL;
        bNode *node = this->getbNode();
index ea9f22f28402d99a4c5fec3e54629914f9cb6972..5e4e463595a2aaf293b33a057fb11f77d855bbd5 100644 (file)
@@ -28,7 +28,7 @@ CornerPinNode::CornerPinNode(bNode *editorNode) : Node(editorNode)
 {
 }
 
-void CornerPinNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void CornerPinNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeInput *input_image = this->getInputSocket(0);
        /* note: socket order differs between UI node and operations:
index 6c3dc93481b5077612065e2d35ef9550aa656eca..ee148f41c68153d290f9c5d25499a9936b39d67a 100644 (file)
@@ -29,7 +29,7 @@ CropNode::CropNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void CropNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void CropNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        bNode *node = getbNode();
        NodeTwoXYs *cropSettings = (NodeTwoXYs *)node->storage;
index bac6337374fc54516440bb6bc7aa84b180265650..a21885bf42df7def6108757f0f518d64ce7f4962 100644 (file)
@@ -29,7 +29,7 @@ DespeckleNode::DespeckleNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void DespeckleNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void DespeckleNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        bNode *editorNode = this->getbNode();
        NodeInput *inputSocket = this->getInputSocket(0);
index 8870badab091b68a1a00af4506fbf8f2a3c4ba1f..2cb0e2301ac3a9a027f6b3bc24e387750ffea594 100644 (file)
@@ -30,7 +30,7 @@ DifferenceMatteNode::DifferenceMatteNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void DifferenceMatteNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void DifferenceMatteNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeInput *inputSocket = this->getInputSocket(0);
        NodeInput *inputSocket2 = this->getInputSocket(1);
index 704c704c50047a3fbe2e8b680d03756edcf13cf9..5f3feda5de723ea9590115c84fd61c9a7cca1b19 100644 (file)
@@ -31,7 +31,7 @@ DistanceMatteNode::DistanceMatteNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void DistanceMatteNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void DistanceMatteNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        bNode *editorsnode = getbNode();
        NodeChroma *storage = (NodeChroma *)editorsnode->storage;
index 1f80eeadf83b616bd87d2a6256f046db528a793d..c67abb1ab9993ce86a2ed92d519577a74402cb5b 100644 (file)
@@ -29,7 +29,7 @@ DoubleEdgeMaskNode::DoubleEdgeMaskNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void DoubleEdgeMaskNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void DoubleEdgeMaskNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        DoubleEdgeMaskOperation *operation;
        bNode *bnode = this->getbNode();
index 9f3a7ae795c7d6d4a660a936af69f8e668faecdf..7493f24ba6b574cea73e127ff4cea0a926afbe62 100644 (file)
@@ -32,7 +32,7 @@ FilterNode::FilterNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void FilterNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void FilterNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeInput *inputSocket = this->getInputSocket(0);
        NodeInput *inputImageSocket = this->getInputSocket(1);
index 1dbcc97143ef14e9695f9a49d43df695691d6fea..0177dc7017ac6bc9a888a65b868aaec65b117252 100644 (file)
@@ -30,7 +30,7 @@ FlipNode::FlipNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void FlipNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void FlipNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeInput *inputSocket = this->getInputSocket(0);
        NodeOutput *outputSocket = this->getOutputSocket(0);
index 046cd9e9a0d34659eee391cedc3d04c1edce2b35..bf24bee55d3f42c31f8a6d0a0172fdbf7f8d628f 100644 (file)
@@ -29,7 +29,7 @@ GammaNode::GammaNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void GammaNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void GammaNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        GammaOperation *operation = new GammaOperation();
        converter.addOperation(operation);
index 0429a1a80cf20e336bc9203e167e7553b66fa80e..7afe1510ae4462d829a4623b9c047944666b0720 100644 (file)
@@ -36,7 +36,7 @@ GlareNode::GlareNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void GlareNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void GlareNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        bNode *node = this->getbNode();
        NodeGlare *glare = (NodeGlare *)node->storage;
index 003bc91edd3484bff0a6f9a35d27c5f54dfc506a..e159886bb46af742b09d63b47358f150a10c6be1 100644 (file)
@@ -36,7 +36,7 @@ HueSaturationValueCorrectNode::HueSaturationValueCorrectNode(bNode *editorNode)
        /* pass */
 }
 
-void HueSaturationValueCorrectNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void HueSaturationValueCorrectNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeInput *valueSocket = this->getInputSocket(0);
        NodeInput *colorSocket = this->getInputSocket(1);
index cdec1250c6e7c33e5526b2287efe48dd5d6d90ad..29c296a896d096f22fa34c195421fb468f3336cb 100644 (file)
@@ -35,7 +35,7 @@ HueSaturationValueNode::HueSaturationValueNode(bNode *editorNode) : Node(editorN
        /* pass */
 }
 
-void HueSaturationValueNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void HueSaturationValueNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeInput *valueSocket = this->getInputSocket(0);
        NodeInput *colorSocket = this->getInputSocket(1);
index 1371cdb5f1dc0b727a2eb6f13397d54c54389a20..9e78625684dd0aadeaad7006b8fbe1b4e17cf176 100644 (file)
@@ -31,7 +31,7 @@ InpaintNode::InpaintNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void InpaintNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void InpaintNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        
        bNode *editorNode = this->getbNode();
index ed4a21132ca5abaae357cde1f476e6a4860cc574..da499d66c2cdcf91b61ecaa07802f326c39a964d 100644 (file)
@@ -30,7 +30,7 @@ InvertNode::InvertNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void InvertNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void InvertNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        InvertOperation *operation = new InvertOperation();
        bNode *node = this->getbNode();
index 32db452e6c2198ccc5555ec6356795d5b6fd0f77..3d3cc8417158b4fb5a2f70def225e05f885ebcc9 100644 (file)
@@ -30,7 +30,7 @@ LensDistortionNode::LensDistortionNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void LensDistortionNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void LensDistortionNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        bNode *editorNode = this->getbNode();
        NodeLensDist *data = (NodeLensDist *)editorNode->storage;
index e23ec243ff433b242552b7cdd42983ed0fc42067..382296a7f3a76281fbb84d667b983d43ede2bf74 100644 (file)
@@ -30,7 +30,7 @@ LuminanceMatteNode::LuminanceMatteNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void LuminanceMatteNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void LuminanceMatteNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        bNode *editorsnode = getbNode();
        NodeInput *inputSocket = this->getInputSocket(0);
index 2c164cfad326e6d60b2e3bd13629597a424f2d46..148ca00205c6a5abbe3df7113abf01d6e28cf704 100644 (file)
@@ -30,7 +30,7 @@ MapRangeNode::MapRangeNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void MapRangeNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void MapRangeNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeInput *valueSocket = this->getInputSocket(0);
        NodeInput *sourceMinSocket = this->getInputSocket(1);
index 25ca7b8b8c62959c4450a522f8358c64ca3f9daa..ec38e23ec07ce2d3d1edc3cb620ca913d99335f2 100644 (file)
@@ -28,7 +28,7 @@ MapUVNode::MapUVNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void MapUVNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void MapUVNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        bNode *node = this->getbNode();
        
index d7ee4e6a38b11ee2dd5b0acc1b3b4f751687f749..f04c6a2d3165fe792842db41a91a160e39de594f 100644 (file)
@@ -30,7 +30,7 @@ MapValueNode::MapValueNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void MapValueNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void MapValueNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        TexMapping *storage =  (TexMapping *)this->getbNode()->storage;
        
index 4cd6964ed3b4edcd0aa6c055e27819f9239239c6..eb6bb2caf56205e7f806f9c0926722408cf26581 100644 (file)
@@ -24,7 +24,7 @@
 #include "COM_MathBaseOperation.h"
 #include "COM_ExecutionSystem.h"
 
-void MathNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void MathNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        MathBaseOperation *operation = NULL;
        
index 89010d0e861cb6a834486b1de4c6a2ce884a0efe..0607d6d6705b4ad34019c48a776617606a1d9245 100644 (file)
@@ -34,7 +34,7 @@ MixNode::MixNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void MixNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void MixNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeInput *valueSocket = this->getInputSocket(0);
        NodeInput *color1Socket = this->getInputSocket(1);
index d7c3fd118448c79e459396484e4d8dd24488c3ef..26da61cb9e7f21cc199caaecb40a14d792b3cedd 100644 (file)
@@ -31,7 +31,7 @@ NormalNode::NormalNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void NormalNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void NormalNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeInput *inputSocket = this->getInputSocket(0);
        NodeOutput *outputSocket = this->getOutputSocket(0);
index f6e919c168f0d2ea966d95e0e0da0ace502b333d..a13fcd2a30185445460097c11113a5bc78e7cff0 100644 (file)
@@ -28,7 +28,7 @@ NormalizeNode::NormalizeNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void NormalizeNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void NormalizeNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NormalizeOperation *operation = new NormalizeOperation();
        converter.addOperation(operation);
index da3cd74e771826a2377e6dce12841414f60fd19b..fe806dbf3071bf824e5003ef00665126bb57db13 100644 (file)
@@ -30,7 +30,7 @@ PixelateNode::PixelateNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void PixelateNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void PixelateNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeInput *inputSocket = this->getInputSocket(0);
        NodeOutput *outputSocket = this->getOutputSocket(0);
index c5fe88b3636563d52a3cbc41a0a45b37a170b26c..6fd7e357775f3dd713c291899ef6b038bfe92db9 100644 (file)
@@ -31,7 +31,7 @@ RotateNode::RotateNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void RotateNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void RotateNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeInput *inputSocket = this->getInputSocket(0);
        NodeInput *inputDegreeSocket = this->getInputSocket(1);
index a6fa9065364100446f899f1c4bcc4a7adac7004e..780ce73d3406878f87616f33665f4c6b4ccfea09 100644 (file)
@@ -96,17 +96,17 @@ void SeparateColorNode::convertToOperations(NodeConverter &converter, const Comp
 }
 
 
-NodeOperation *SeparateRGBANode::getColorConverter(const CompositorContext &context) const
+NodeOperation *SeparateRGBANode::getColorConverter(const CompositorContext &/*context*/) const
 {
        return NULL; /* no conversion needed */
 }
 
-NodeOperation *SeparateHSVANode::getColorConverter(const CompositorContext &context) const
+NodeOperation *SeparateHSVANode::getColorConverter(const CompositorContext &/*context*/) const
 {
        return new ConvertRGBToHSVOperation();
 }
 
-NodeOperation *SeparateYCCANode::getColorConverter(const CompositorContext &context) const
+NodeOperation *SeparateYCCANode::getColorConverter(const CompositorContext &/*context*/) const
 {
        ConvertRGBToYCCOperation *operation = new ConvertRGBToYCCOperation();
        bNode *editorNode = this->getbNode();
@@ -114,7 +114,7 @@ NodeOperation *SeparateYCCANode::getColorConverter(const CompositorContext &cont
        return operation;
 }
 
-NodeOperation *SeparateYUVANode::getColorConverter(const CompositorContext &context) const
+NodeOperation *SeparateYUVANode::getColorConverter(const CompositorContext &/*context*/) const
 {
        return new ConvertRGBToYUVOperation();
 }
index 22ddd5bb1579a748576b4cff31b10dac73ed9832..32c03c695bea0d358f938cf54388cdcbc98e324e 100644 (file)
@@ -24,7 +24,7 @@
 #include "COM_SetAlphaOperation.h"
 #include "COM_ExecutionSystem.h"
 
-void SetAlphaNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void SetAlphaNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        SetAlphaOperation *operation = new SetAlphaOperation();
        
index 17b00af16d8bce2f44a4f2cafe17a782850c0d40..465a94e8335920d7c47be4d3669877a31c9e65c0 100644 (file)
@@ -46,7 +46,7 @@ SocketProxyNode::SocketProxyNode(bNode *editorNode, bNodeSocket *editorInput, bN
        this->addOutputSocket(dt, editorOutput);
 }
 
-void SocketProxyNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void SocketProxyNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeOperationOutput *proxy_output = converter.addInputProxy(getInputSocket(0), m_use_conversion);
        converter.mapOutputSocket(getOutputSocket(), proxy_output);
@@ -68,7 +68,7 @@ SocketBufferNode::SocketBufferNode(bNode *editorNode, bNodeSocket *editorInput,
        this->addOutputSocket(dt, editorOutput);
 }
 
-void SocketBufferNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void SocketBufferNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeOutput *output = this->getOutputSocket(0);
        NodeInput *input = this->getInputSocket(0);
index ed14acabf3607027e84368fe965d8c4a9ab55077..7cf3c90c786305b457596db94536b3b913b57b46 100644 (file)
@@ -27,7 +27,7 @@ SunBeamsNode::SunBeamsNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void SunBeamsNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void SunBeamsNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeInput *inputSocket = this->getInputSocket(0);
        NodeOutput *outputSocket = this->getOutputSocket(0);
index 10f0ee3821de53527a57cf4c8e3618806cedf84c..eb854983d4cefdc4fefd29f3b605683a8e24891d 100644 (file)
@@ -27,7 +27,7 @@ SwitchNode::SwitchNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void SwitchNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void SwitchNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        bool condition = this->getbNode()->custom1;
        
index 5ac73b9f9c20706248d5391a8b50ba15c5b57ea2..961139d4855694dad865b2aae8eb86b1a8e68d6d 100644 (file)
@@ -29,7 +29,7 @@ TonemapNode::TonemapNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void TonemapNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void TonemapNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeTonemap *data = (NodeTonemap *)this->getbNode()->storage;
        
index f1d5771bab39366a5d2e38f5a93562c961f74a7d..148409a6427427b31f1b66bac68abd3f35cd3b0f 100644 (file)
@@ -33,7 +33,7 @@ TransformNode::TransformNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void TransformNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void TransformNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeInput *imageInput = this->getInputSocket(0);
        NodeInput *xInput = this->getInputSocket(1);
index 62a312da67cfdd158031ba0ff17ee6d76fd0f264..c75d92968071508efc4d39897f5bd4b1f9c343a2 100644 (file)
@@ -29,7 +29,7 @@ ValueNode::ValueNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void ValueNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void ValueNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        SetValueOperation *operation = new SetValueOperation();
        NodeOutput *output = this->getOutputSocket(0);
index 197b2c8bd0ccd5c372b46fa0dd8ae89e8a648992..7222a018fa06c0d24f7b056e3c4f6df3691ffc41 100644 (file)
@@ -29,7 +29,7 @@ VectorCurveNode::VectorCurveNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void VectorCurveNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void VectorCurveNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        VectorCurveOperation *operation = new VectorCurveOperation();
        operation->setCurveMapping((CurveMapping *)this->getbNode()->storage);
index 30f51794e8d441401ee66abdf6aae71c41843d28..06f12ccc55938e4877d9a3c92b82dca1a29ac969 100644 (file)
@@ -31,7 +31,7 @@ ViewLevelsNode::ViewLevelsNode(bNode *editorNode) : Node(editorNode)
        /* pass */
 }
 
-void ViewLevelsNode::convertToOperations(NodeConverter &converter, const CompositorContext &context) const
+void ViewLevelsNode::convertToOperations(NodeConverter &converter, const CompositorContext &/*context*/) const
 {
        NodeInput *input = this->getInputSocket(0);
        if (input->isLinked()) {
index b25e22814679a548692f5d5c908a4dce3f00846f..2e60c2d3e4219101485c9f3a6c7194ac8ca2fd56 100644 (file)
@@ -45,7 +45,7 @@ void AntiAliasOperation::initExecution()
        NodeOperation::initMutex();
 }
 
-void AntiAliasOperation::executePixel(float output[4], int x, int y, void *data)
+void AntiAliasOperation::executePixel(float output[4], int x, int y, void * /*data*/)
 {
        if (y < 0 || (unsigned int)y >= this->m_height || x < 0 || (unsigned int)x >= this->m_width) {
                output[0] = 0.0f;
@@ -66,7 +66,7 @@ void AntiAliasOperation::deinitExecution()
        NodeOperation::deinitMutex();
 }
 
-bool AntiAliasOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output)
+bool AntiAliasOperation::determineDependingAreaOfInterest(rcti * /*input*/, ReadBufferOperation *readOperation, rcti *output)
 {
        rcti imageInput;
        if (this->m_buffer) {
index d5aafc7c2ae43be9e81f52f3b74e1227dba98d07..cbf9bb211c139a9270779d5714cd762e055e500d 100644 (file)
@@ -92,7 +92,7 @@ float *BlurBaseOperation::make_gausstab(float rad, int size)
 }
 
 #ifdef __SSE2__
-__m128 *BlurBaseOperation::convert_gausstab_sse(const float *gausstab, float rad, int size)
+__m128 *BlurBaseOperation::convert_gausstab_sse(const float *gausstab, int size)
 {
        int n = 2 * size + 1;
        __m128 *gausstab_sse = (__m128 *) MEM_mallocN_aligned(sizeof(__m128) * n, 16, "gausstab sse");
index e97dd4d766db1cbd43f35efdb9b66ce1a94ed13c..f9f37479c5617c88bf5a4ecf1451c4b778130b8b 100644 (file)
@@ -39,7 +39,7 @@ protected:
        BlurBaseOperation(DataType data_type);
        float *make_gausstab(float rad, int size);
 #ifdef __SSE2__
-       __m128 *convert_gausstab_sse(const float *gaustab, float rad, int size);
+       __m128 *convert_gausstab_sse(const float *gaustab, int size);
 #endif
        float *make_dist_fac_inverse(float rad, int size, int falloff);
 
index 22f6fc33a0da59c3bf8b08f3197aa37109a61fe1..189483708b57188f99e4d1efee99c0274d751ff2 100644 (file)
@@ -45,7 +45,7 @@ BokehBlurOperation::BokehBlurOperation() : NodeOperation()
        this->m_inputBoundingBoxReader = NULL;
 }
 
-void *BokehBlurOperation::initializeTileData(rcti *rect)
+void *BokehBlurOperation::initializeTileData(rcti * /*rect*/)
 {
        lockMutex();
        if (!this->m_sizeavailable) {
@@ -194,7 +194,7 @@ bool BokehBlurOperation::determineDependingAreaOfInterest(rcti *input, ReadBuffe
 void BokehBlurOperation::executeOpenCL(OpenCLDevice *device,
                                        MemoryBuffer *outputMemoryBuffer, cl_mem clOutputBuffer, 
                                        MemoryBuffer **inputMemoryBuffers, list<cl_mem> *clMemToCleanUp, 
-                                       list<cl_kernel> *clKernelsToCleanUp) 
+                                       list<cl_kernel> * /*clKernelsToCleanUp*/)
 {
        cl_kernel kernel = device->COM_clCreateKernel("bokehBlurKernel", NULL);
        if (!this->m_sizeavailable) {
index 6617fc62ab81879ed919b998b906efb2d49b2fe0..18846f2a2c58d99b0f6c13430f41374be0888402 100644 (file)
@@ -85,7 +85,7 @@ float BokehImageOperation::isInsideBokeh(float distance, float x, float y)
        }
        return insideBokeh;
 }
-void BokehImageOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void BokehImageOperation::executePixelSampled(float output[4], float x, float y, PixelSampler /*sampler*/)
 {
        float shift = this->m_data->lensshift;
        float shift2 = shift / 2.0f;
@@ -116,7 +116,7 @@ void BokehImageOperation::deinitExecution()
        }
 }
 
-void BokehImageOperation::determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2])
+void BokehImageOperation::determineResolution(unsigned int resolution[2], unsigned int /*preferredResolution*/[2])
 {
        resolution[0] = COM_BLUR_BOKEH_PIXELS;
        resolution[1] = COM_BLUR_BOKEH_PIXELS;
index 54b0e37c7918fc93b70d496105d7d738d8c3a7fa..32395f44ef12873ac1e0d95c1d9dd63569320509 100644 (file)
@@ -44,7 +44,9 @@ void CalculateMeanOperation::initExecution()
        NodeOperation::initMutex();
 }
 
-void CalculateMeanOperation::executePixel(float output[4], int x, int y, void *data)
+void CalculateMeanOperation::executePixel(float output[4],
+                                          int /*x*/, int /*y*/,
+                                          void */*data*/)
 {
        output[0] = this->m_result;
 }
@@ -55,7 +57,7 @@ void CalculateMeanOperation::deinitExecution()
        NodeOperation::deinitMutex();
 }
 
-bool CalculateMeanOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output)
+bool CalculateMeanOperation::determineDependingAreaOfInterest(rcti * /*input*/, ReadBufferOperation *readOperation, rcti *output)
 {
        rcti imageInput;
        if (this->m_iscalculated) {
index 32c5fc1adc7dd8f6a1d975b170707ed8ed1ab54e..6b238e53d7b6ca3e2a12fdb2600df1ed9d0b90a1 100644 (file)
@@ -33,7 +33,9 @@ CalculateStandardDeviationOperation::CalculateStandardDeviationOperation() : Cal
        /* pass */
 }
 
-void CalculateStandardDeviationOperation::executePixel(float output[4], int x, int y, void *data)
+void CalculateStandardDeviationOperation::executePixel(float output[4],
+                                                       int /*x*/, int /*y*/,
+                                                       void * /*data*/)
 {
        output[0] = this->m_standardDeviation;
 }
index e3438bcbd1529b2348921bf9a67386f7d39abcdd..ffef81d032331290ed81b389cd5e755154fc8a33 100644 (file)
@@ -125,7 +125,7 @@ void CompositorOperation::deinitExecution()
 }
 
 
-void CompositorOperation::executeRegion(rcti *rect, unsigned int tileNumber)
+void CompositorOperation::executeRegion(rcti *rect, unsigned int /*tileNumber*/)
 {
        float color[8]; // 7 is enough
        float *buffer = this->m_outputBuffer;
index 771c32ffd12a56a99566a7739790c382afbde9f3..447d74131b3a65dd6b43b92e5b866ccb06536f48 100644 (file)
@@ -81,7 +81,7 @@ public:
        void executeRegion(rcti *rect, unsigned int tileNumber);
        void setSceneName(const char *sceneName) { BLI_strncpy(this->m_sceneName, sceneName, sizeof(this->m_sceneName)); }
        void setRenderData(const RenderData *rd) { this->m_rd = rd; }
-       bool isOutputOperation(bool rendering) const { return this->isActiveCompositorOutput(); }
+       bool isOutputOperation(bool /*rendering*/) const { return this->isActiveCompositorOutput(); }
        void initExecution();
        void deinitExecution();
        const CompositorPriority getRenderPriority() const { return COM_PRIORITY_MEDIUM; }
index 657126d458c2566a549fae471211cddc6d959ab3..e1ada9a8c3916fd47287f2e38118b2bc69111477 100644 (file)
@@ -28,7 +28,7 @@ ConvolutionEdgeFilterOperation::ConvolutionEdgeFilterOperation() : ConvolutionFi
        /* pass */
 }
 
-void ConvolutionEdgeFilterOperation::executePixel(float output[4], int x, int y, void *data)
+void ConvolutionEdgeFilterOperation::executePixel(float output[4], int x, int y, void * /*data*/)
 {
        float in1[4], in2[4], res1[4] = {0.0}, res2[4] = {0.0};
 
index 553a9827ffa62e0e6abe354f3ae13da2bac6946d..699db11d56e545daf7e99dd8d585cd7417d9187b 100644 (file)
@@ -69,7 +69,7 @@ void ConvolutionFilterOperation::deinitExecution()
 }
 
 
-void ConvolutionFilterOperation::executePixel(float output[4], int x, int y, void *data)
+void ConvolutionFilterOperation::executePixel(float output[4], int x, int y, void * /*data*/)
 {
        float in1[4];
        float in2[4];
index 186c17845f369069795c30a82277bf0128228a7d..1a827aae67efc19b34af840968cd45ccbfa48084 100644 (file)
@@ -52,7 +52,7 @@ BLI_INLINE int color_diff(const float a[3], const float b[3], const float thresh
                (fabsf(a[2] - b[2]) > threshold));
 }
 
-void DespeckleOperation::executePixel(float output[4], int x, int y, void *data)
+void DespeckleOperation::executePixel(float output[4], int x, int y, void * /*data*/)
 {
        float w = 0.0f;
        float color_org[4];
index 6d15ef3395b9cd6b402fc9a1c03f3cce957c4daa..fc3ec7dd11a395274a1b3808ea57f5d9f543e7dd 100644 (file)
@@ -56,7 +56,7 @@ void DilateErodeThresholdOperation::initExecution()
        }
 }
 
-void *DilateErodeThresholdOperation::initializeTileData(rcti *rect)
+void *DilateErodeThresholdOperation::initializeTileData(rcti * /*rect*/)
 {
        void *buffer = this->m_inputProgram->initializeTileData(NULL);
        return buffer;
@@ -180,7 +180,7 @@ void DilateDistanceOperation::initExecution()
        }
 }
 
-void *DilateDistanceOperation::initializeTileData(rcti *rect)
+void *DilateDistanceOperation::initializeTileData(rcti * /*rect*/)
 {
        void *buffer = this->m_inputProgram->initializeTileData(NULL);
        return buffer;
@@ -238,7 +238,7 @@ bool DilateDistanceOperation::determineDependingAreaOfInterest(rcti *input, Read
 void DilateDistanceOperation::executeOpenCL(OpenCLDevice *device,
                                             MemoryBuffer *outputMemoryBuffer, cl_mem clOutputBuffer,
                                             MemoryBuffer **inputMemoryBuffers, list<cl_mem> *clMemToCleanUp,
-                                            list<cl_kernel> *clKernelsToCleanUp)
+                                            list<cl_kernel> * /*clKernelsToCleanUp*/)
 {
        cl_kernel dilateKernel = device->COM_clCreateKernel("dilateKernel", NULL);
 
@@ -295,7 +295,7 @@ void ErodeDistanceOperation::executePixel(float output[4], int x, int y, void *d
 void ErodeDistanceOperation::executeOpenCL(OpenCLDevice *device,
                                            MemoryBuffer *outputMemoryBuffer, cl_mem clOutputBuffer,
                                            MemoryBuffer **inputMemoryBuffers, list<cl_mem> *clMemToCleanUp,
-                                           list<cl_kernel> *clKernelsToCleanUp)
+                                           list<cl_kernel> * /*clKernelsToCleanUp*/)
 {
        cl_kernel erodeKernel = device->COM_clCreateKernel("erodeKernel", NULL);
 
@@ -446,7 +446,7 @@ void DilateStepOperation::deinitExecution()
        this->m_inputProgram = NULL;
 }
 
-void DilateStepOperation::deinitializeTileData(rcti *rect, void *data)
+void DilateStepOperation::deinitializeTileData(rcti * /*rect*/, void *data)
 {
        tile_info *tile = (tile_info *)data;
        MEM_freeN(tile->buffer);
index 962a95ebd0590258e2665f46d8d7cf819dbea1f0..732e731fadf968f58c771d48b58c94e4b0b5ad5f 100644 (file)
@@ -66,7 +66,7 @@ void DirectionalBlurOperation::initExecution()
 
 }
 
-void DirectionalBlurOperation::executePixel(float output[4], int x, int y, void *data)
+void DirectionalBlurOperation::executePixel(float output[4], int x, int y, void * /*data*/)
 {
        const int iterations = pow(2.0f, this->m_data->iter);
        float col[4] = {0.0f, 0.0f, 0.0f, 0.0f};
@@ -104,7 +104,7 @@ void DirectionalBlurOperation::executePixel(float output[4], int x, int y, void
 void DirectionalBlurOperation::executeOpenCL(OpenCLDevice *device,
                                        MemoryBuffer *outputMemoryBuffer, cl_mem clOutputBuffer, 
                                        MemoryBuffer **inputMemoryBuffers, list<cl_mem> *clMemToCleanUp, 
-                                       list<cl_kernel> *clKernelsToCleanUp) 
+                                       list<cl_kernel> * /*clKernelsToCleanUp*/)
 {
        cl_kernel directionalBlurKernel = device->COM_clCreateKernel("directionalBlurKernel", NULL);
 
@@ -132,7 +132,7 @@ void DirectionalBlurOperation::deinitExecution()
        this->m_inputProgram = NULL;
 }
 
-bool DirectionalBlurOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output)
+bool DirectionalBlurOperation::determineDependingAreaOfInterest(rcti * /*input*/, ReadBufferOperation *readOperation, rcti *output)
 {
        rcti newInput;
 
index 7dacc3239c5a6971a1b6c5f3f9c050c778966f5b..643ecf9708c72c7767aa85d0ba77655c6781f196 100644 (file)
@@ -49,7 +49,7 @@ void DisplaceOperation::initExecution()
        this->m_height_x4 = this->getHeight() * 4;
 }
 
-void DisplaceOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void DisplaceOperation::executePixelSampled(float output[4], float x, float y, PixelSampler /*sampler*/)
 {
        float xy[2] = { x, y };
        float uv[2], deriv[2][2];
index 234a61a4c417362284cf7f4b6bc66a1beabfa766..76afedf4b2a3b8d651aef64ab3987fd9bbf414e4 100644 (file)
@@ -1237,7 +1237,7 @@ DoubleEdgeMaskOperation::DoubleEdgeMaskOperation() : NodeOperation()
        this->setComplex(true);
 }
 
-bool DoubleEdgeMaskOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output)
+bool DoubleEdgeMaskOperation::determineDependingAreaOfInterest(rcti * /*input*/, ReadBufferOperation *readOperation, rcti *output)
 {
        if (this->m_cachedInstance == NULL) {
                rcti newInput;
index 08f520e42710cda2a43a8eb31c75575a112ff960..968319b3f460de512da2b3628577703d8fa4a394 100644 (file)
@@ -37,7 +37,7 @@ void FastGaussianBlurOperation::executePixel(float output[4], int x, int y, void
        newData->read(output, x, y);
 }
 
-bool FastGaussianBlurOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output)
+bool FastGaussianBlurOperation::determineDependingAreaOfInterest(rcti * /*input*/, ReadBufferOperation *readOperation, rcti *output)
 {
        rcti newInput;
        rcti sizeInput;
@@ -257,7 +257,7 @@ void FastGaussianBlurValueOperation::executePixel(float output[4], int x, int y,
        newData->read(output, x, y);
 }
 
-bool FastGaussianBlurValueOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output)
+bool FastGaussianBlurValueOperation::determineDependingAreaOfInterest(rcti * /*input*/, ReadBufferOperation *readOperation, rcti *output)
 {
        rcti newInput;
        
index dde57ab640f1eb8297aa99d08db930c99ff1091b..cbe41076b2acb1659dd5aeddcde06b0a6df5664b 100644 (file)
@@ -36,7 +36,7 @@ GaussianAlphaXBlurOperation::GaussianAlphaXBlurOperation() : BlurBaseOperation(C
        this->m_falloff = -1;  /* intentionally invalid, so we can detect uninitialized values */
 }
 
-void *GaussianAlphaXBlurOperation::initializeTileData(rcti *rect)
+void *GaussianAlphaXBlurOperation::initializeTileData(rcti * /*rect*/)
 {
        lockMutex();
        if (!this->m_sizeavailable) {
index bb5b3c044afbeca9b0155513ec151d879464f4df..30563e8cc45c7009770d3205679b651351753c53 100644 (file)
@@ -36,7 +36,7 @@ GaussianAlphaYBlurOperation::GaussianAlphaYBlurOperation() : BlurBaseOperation(C
        this->m_falloff = -1;  /* intentionally invalid, so we can detect uninitialized values */
 }
 
-void *GaussianAlphaYBlurOperation::initializeTileData(rcti *rect)
+void *GaussianAlphaYBlurOperation::initializeTileData(rcti * /*rect*/)
 {
        lockMutex();
        if (!this->m_sizeavailable) {
index dbad51c43295a160cd69e5fb7c781f03379cee9d..37d59229e508208e885e56769e59debee6f9e747 100644 (file)
@@ -32,7 +32,7 @@ GaussianBokehBlurOperation::GaussianBokehBlurOperation() : BlurBaseOperation(COM
        this->m_gausstab = NULL;
 }
 
-void *GaussianBokehBlurOperation::initializeTileData(rcti *rect)
+void *GaussianBokehBlurOperation::initializeTileData(rcti * /*rect*/)
 {
        lockMutex();
        if (!this->m_sizeavailable) {
@@ -205,7 +205,7 @@ GaussianBlurReferenceOperation::GaussianBlurReferenceOperation() : BlurBaseOpera
        this->m_maintabs = NULL;
 }
 
-void *GaussianBlurReferenceOperation::initializeTileData(rcti *rect)
+void *GaussianBlurReferenceOperation::initializeTileData(rcti * /*rect*/)
 {
        void *buffer = getInputOperation(0)->initializeTileData(NULL);
        return buffer;
index 0838d281de7befef17deb7f68ba0310c6be77b3d..29ed4334412a087a8b17c47e53e1c725c5201b3c 100644 (file)
@@ -38,7 +38,7 @@ GaussianXBlurOperation::GaussianXBlurOperation() : BlurBaseOperation(COM_DT_COLO
        this->m_filtersize = 0;
 }
 
-void *GaussianXBlurOperation::initializeTileData(rcti *rect)
+void *GaussianXBlurOperation::initializeTileData(rcti * /*rect*/)
 {
        lockMutex();
        if (!this->m_sizeavailable) {
@@ -63,7 +63,6 @@ void GaussianXBlurOperation::initExecution()
                this->m_gausstab = BlurBaseOperation::make_gausstab(rad, m_filtersize);
 #ifdef __SSE2__
                this->m_gausstab_sse = BlurBaseOperation::convert_gausstab_sse(this->m_gausstab,
-                                                                              rad,
                                                                               m_filtersize);
 #endif
        }
@@ -79,7 +78,6 @@ void GaussianXBlurOperation::updateGauss()
                this->m_gausstab = BlurBaseOperation::make_gausstab(rad, m_filtersize);
 #ifdef __SSE2__
                this->m_gausstab_sse = BlurBaseOperation::convert_gausstab_sse(this->m_gausstab,
-                                                                              rad,
                                                                               m_filtersize);
 #endif
        }
@@ -128,7 +126,7 @@ void GaussianXBlurOperation::executePixel(float output[4], int x, int y, void *d
 void GaussianXBlurOperation::executeOpenCL(OpenCLDevice *device,
                                            MemoryBuffer *outputMemoryBuffer, cl_mem clOutputBuffer,
                                            MemoryBuffer **inputMemoryBuffers, list<cl_mem> *clMemToCleanUp,
-                                           list<cl_kernel> *clKernelsToCleanUp)
+                                           list<cl_kernel> * /*clKernelsToCleanUp*/)
 {
        cl_kernel gaussianXBlurOperationKernel = device->COM_clCreateKernel("gaussianXBlurOperationKernel", NULL);
        cl_int filter_size = this->m_filtersize;
index 6172f95408763ba6c1c1398e57cae9efb4f3d799..4b55333c08c6bf1cbc2cf5cfe5817e797cddebef 100644 (file)
@@ -38,7 +38,7 @@ GaussianYBlurOperation::GaussianYBlurOperation() : BlurBaseOperation(COM_DT_COLO
        this->m_filtersize = 0;
 }
 
-void *GaussianYBlurOperation::initializeTileData(rcti *rect)
+void *GaussianYBlurOperation::initializeTileData(rcti * /*rect*/)
 {
        lockMutex();
        if (!this->m_sizeavailable) {
@@ -62,7 +62,6 @@ void GaussianYBlurOperation::initExecution()
                this->m_gausstab = BlurBaseOperation::make_gausstab(rad, m_filtersize);
 #ifdef __SSE2__
                this->m_gausstab_sse = BlurBaseOperation::convert_gausstab_sse(this->m_gausstab,
-                                                                              rad,
                                                                               m_filtersize);
 #endif
        }
@@ -78,7 +77,6 @@ void GaussianYBlurOperation::updateGauss()
                this->m_gausstab = BlurBaseOperation::make_gausstab(rad, m_filtersize);
 #ifdef __SSE2__
                this->m_gausstab_sse = BlurBaseOperation::convert_gausstab_sse(this->m_gausstab,
-                                                                              rad,
                                                                               m_filtersize);
 #endif
        }
@@ -130,7 +128,7 @@ void GaussianYBlurOperation::executePixel(float output[4], int x, int y, void *d
 void GaussianYBlurOperation::executeOpenCL(OpenCLDevice *device,
                                            MemoryBuffer *outputMemoryBuffer, cl_mem clOutputBuffer,
                                            MemoryBuffer **inputMemoryBuffers, list<cl_mem> *clMemToCleanUp,
-                                           list<cl_kernel> *clKernelsToCleanUp)
+                                           list<cl_kernel> * /*clKernelsToCleanUp*/)
 {
        cl_kernel gaussianYBlurOperationKernel = device->COM_clCreateKernel("gaussianYBlurOperationKernel", NULL);
        cl_int filter_size = this->m_filtersize;
index 98919f1b161ea3b8ec31c05cc02e87ddeaa35749..1acbd2ae0909e4e2ca6f6b3a953aaa77eb4e80f9 100644 (file)
@@ -55,7 +55,7 @@ MemoryBuffer *GlareBaseOperation::createMemoryBuffer(rcti *rect2)
        return result;
 }
 
-bool GlareBaseOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output)
+bool GlareBaseOperation::determineDependingAreaOfInterest(rcti * /*input*/, ReadBufferOperation *readOperation, rcti *output)
 {
        if (isCached()) {
                return false;
index 2733c483146c518b729f8b8884266079a4b69fbf..624fdf8b6267d8e5130ec4c102cfba6c8b5d43a1 100644 (file)
@@ -96,7 +96,7 @@ void BaseImageOperation::deinitExecution()
        BKE_image_release_ibuf(this->m_image, this->m_buffer, NULL);
 }
 
-void BaseImageOperation::determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2])
+void BaseImageOperation::determineResolution(unsigned int resolution[2], unsigned int /*preferredResolution*/[2])
 {
        ImBuf *stackbuf = getImBuf();
 
@@ -170,7 +170,7 @@ void ImageAlphaOperation::executePixelSampled(float output[4], float x, float y,
        }
 }
 
-void ImageDepthOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void ImageDepthOperation::executePixelSampled(float output[4], float x, float y, PixelSampler /*sampler*/)
 {
        if (this->m_depthBuffer == NULL) {
                output[0] = 0.0f;
index 18611c051d33126e765b867d0b52accd083844d4..43b7b30319dda35c837b6dad1bb246aa8206eab9 100644 (file)
@@ -241,7 +241,7 @@ void *InpaintSimpleOperation::initializeTileData(rcti *rect)
        return this->m_cached_buffer;
 }
 
-void InpaintSimpleOperation::executePixel(float output[4], int x, int y, void *data)
+void InpaintSimpleOperation::executePixel(float output[4], int x, int y, void * /*data*/)
 {
        this->clamp_xy(x, y);
        copy_v4_v4(output, this->get_pixel(x, y));
@@ -268,7 +268,7 @@ void InpaintSimpleOperation::deinitExecution()
        this->m_cached_buffer_ready = false;
 }
 
-bool InpaintSimpleOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output)
+bool InpaintSimpleOperation::determineDependingAreaOfInterest(rcti * /*input*/, ReadBufferOperation *readOperation, rcti *output)
 {
        if (this->m_cached_buffer_ready) {
                return false;
index 1633d2a2f1d613dac119ce921261608a9ec151aa..dd87578ea78314cbd32afdf8ddf7a1fd9dadc465 100644 (file)
@@ -267,7 +267,7 @@ void *KeyingScreenOperation::initializeTileData(rcti *rect)
        return tile_data;
 }
 
-void KeyingScreenOperation::deinitializeTileData(rcti *rect, void *data)
+void KeyingScreenOperation::deinitializeTileData(rcti * /*rect*/, void *data)
 {
        TileData *tile_data = (TileData *) data;
 
@@ -278,7 +278,7 @@ void KeyingScreenOperation::deinitializeTileData(rcti *rect, void *data)
        MEM_freeN(tile_data);
 }
 
-void KeyingScreenOperation::determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2])
+void KeyingScreenOperation::determineResolution(unsigned int resolution[2], unsigned int /*preferredResolution*/[2])
 {
        resolution[0] = 0;
        resolution[1] = 0;
index bb8fe825c6898f7e9b317eecb23c8c510b8af2b5..ffa48ce395681834296099a60d89f1673b4d3c00 100644 (file)
@@ -41,7 +41,7 @@ void MapUVOperation::initExecution()
        this->m_inputUVProgram = this->getInputSocketReader(1);
 }
 
-void MapUVOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void MapUVOperation::executePixelSampled(float output[4], float x, float y, PixelSampler /*sampler*/)
 {
        float xy[2] = { x, y };
        float uv[2], deriv[2][2], alpha;
index 8c8ba93327d30fe40fa5dad8a045c56bc3e64db7..220b4e908a613cf6bfae17a70087e055345a53fe 100644 (file)
@@ -1,4 +1,5 @@
 /*
+
  * Copyright 2012, Blender Foundation.
  *
  * This program is free software; you can redistribute it and/or
@@ -127,7 +128,7 @@ void MaskOperation::determineResolution(unsigned int resolution[2], unsigned int
        }
 }
 
-void MaskOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void MaskOperation::executePixelSampled(float output[4], float x, float y, PixelSampler /*sampler*/)
 {
        const float xy[2] = {
            (x * this->m_maskWidthInv)  + this->m_mask_px_ofs[0],
index 447ca1bb4f652366dc9e88b3fdb284dbf4f22381..040a0315d69f57268e460d8d5b73d58009aa04a5 100644 (file)
@@ -33,7 +33,9 @@ MovieClipAttributeOperation::MovieClipAttributeOperation() : NodeOperation()
        this->m_attribute = MCA_X;
 }
 
-void MovieClipAttributeOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void MovieClipAttributeOperation::executePixelSampled(float output[4],
+                                                      float /*x*/, float /*y*/,
+                                                      PixelSampler /*sampler*/)
 {
        if (!this->m_valueSet) {
                float loc[2], scale, angle;
index 133b6d520ebfda91b1e92931176107cecaf29877..1e4821f0cd319cf27232f6f85aacb38b397321d3 100644 (file)
@@ -71,7 +71,7 @@ void MovieClipBaseOperation::deinitExecution()
        }
 }
 
-void MovieClipBaseOperation::determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2])
+void MovieClipBaseOperation::determineResolution(unsigned int resolution[2], unsigned int /*preferredResolution*/[2])
 {
        resolution[0] = 0;
        resolution[1] = 0;
index 50fabb09dbbc1cfff29ef59fcaafafd41dbdc1cf..4f34d7fb150415714bd9e3492644f096bcbedfe9 100644 (file)
@@ -121,7 +121,7 @@ void MovieDistortionOperation::deinitExecution()
 }
 
 
-void MovieDistortionOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void MovieDistortionOperation::executePixelSampled(float output[4], float x, float y, PixelSampler /*sampler*/)
 {
        
        if (this->m_cache != NULL) {
index 23fba5a79992b36c0a94fc735d64924a3fdc9a49..513140e2f62414a5fd6c683fd36ed0a950b4731b 100644 (file)
@@ -74,7 +74,7 @@ void MultilayerColorOperation::executePixelSampled(float output[4], float x, flo
        }
 }
 
-void MultilayerValueOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void MultilayerValueOperation::executePixelSampled(float output[4], float x, float y, PixelSampler /*sampler*/)
 {
        if (this->m_imageFloatBuffer == NULL) {
                output[0] = 0.0f;
@@ -91,7 +91,7 @@ void MultilayerValueOperation::executePixelSampled(float output[4], float x, flo
        }
 }
 
-void MultilayerVectorOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void MultilayerVectorOperation::executePixelSampled(float output[4], float x, float y, PixelSampler /*sampler*/)
 {
        if (this->m_imageFloatBuffer == NULL) {
                output[0] = 0.0f;
index e0b5893ffbb6619e8d49e604cfd4223ef3c75708..504470f1a7ef5b6f2d39e325f82052f2a1c22872 100644 (file)
@@ -60,7 +60,7 @@ void NormalizeOperation::deinitExecution()
        NodeOperation::deinitMutex();
 }
 
-bool NormalizeOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output)
+bool NormalizeOperation::determineDependingAreaOfInterest(rcti * /*input*/, ReadBufferOperation *readOperation, rcti *output)
 {
        rcti imageInput;
        if (this->m_cachedInstance) return false;
@@ -118,7 +118,7 @@ void *NormalizeOperation::initializeTileData(rcti *rect)
        return this->m_cachedInstance;
 }
 
-void NormalizeOperation::deinitializeTileData(rcti *rect, void *data)
+void NormalizeOperation::deinitializeTileData(rcti * /*rect*/, void * /*data*/)
 {
        /* pass */
 }
index 2f92351c00deab5b53fdfbf5245831c05d60be51..b1c90a6355f34b3dae235079cd6ba7381d0d3b46 100644 (file)
@@ -118,7 +118,7 @@ void OutputSingleLayerOperation::initExecution()
        this->m_outputBuffer = init_buffer(this->getWidth(), this->getHeight(), this->m_datatype);
 }
 
-void OutputSingleLayerOperation::executeRegion(rcti *rect, unsigned int tileNumber)
+void OutputSingleLayerOperation::executeRegion(rcti *rect, unsigned int /*tileNumber*/)
 {
        write_buffer_rect(rect, this->m_tree, this->m_imageInput, this->m_outputBuffer, this->getWidth(), this->m_datatype);
 }
@@ -194,7 +194,7 @@ void OutputOpenExrMultiLayerOperation::initExecution()
        }
 }
 
-void OutputOpenExrMultiLayerOperation::executeRegion(rcti *rect, unsigned int tileNumber)
+void OutputOpenExrMultiLayerOperation::executeRegion(rcti *rect, unsigned int /*tileNumber*/)
 {
        for (unsigned int i = 0; i < this->m_layers.size(); ++i) {
                OutputOpenExrLayer &layer = this->m_layers[i];
index 03278c5b1498fb786ec4da778abdcdbc592c63f1..af16f186d9dbbef691cf0a7edfe1fb42ffbe44a5 100644 (file)
@@ -52,7 +52,7 @@ public:
                                   const ColorManagedViewSettings *viewSettings, const ColorManagedDisplaySettings *displaySettings);
        
        void executeRegion(rcti *rect, unsigned int tileNumber);
-       bool isOutputOperation(bool rendering) const { return true; }
+       bool isOutputOperation(bool /*rendering*/) const { return true; }
        void initExecution();
        void deinitExecution();
        const CompositorPriority getRenderPriority() const { return COM_PRIORITY_LOW; }
@@ -91,7 +91,7 @@ public:
        void add_layer(const char *name, DataType datatype, bool use_layer);
        
        void executeRegion(rcti *rect, unsigned int tileNumber);
-       bool isOutputOperation(bool rendering) const { return true; }
+       bool isOutputOperation(bool /*rendering*/) const { return true; }
        void initExecution();
        void deinitExecution();
        const CompositorPriority getRenderPriority() const { return COM_PRIORITY_LOW; }
index 8133f392ac6c8f2956e926c3b3dd955b4a0f4b10..d7d1c9c0c93b4b9d8d372699c0083df357152c74 100644 (file)
@@ -100,7 +100,7 @@ void PlaneDistortWarpImageOperation::deinitExecution()
        this->m_pixelReader = NULL;
 }
 
-void PlaneDistortWarpImageOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void PlaneDistortWarpImageOperation::executePixelSampled(float output[4], float x, float y, PixelSampler /*sampler*/)
 {
        float uv[2];
        float deriv[2][2];
@@ -194,7 +194,7 @@ void PlaneDistortMaskOperation::initExecution()
        BLI_jitter_init(m_jitter, m_osa);
 }
 
-void PlaneDistortMaskOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void PlaneDistortMaskOperation::executePixelSampled(float output[4], float x, float y, PixelSampler /*sampler*/)
 {
        float point[2];
        int inside_counter = 0;
index 03205130a74f7235782634c405602e0410162588..a56aa0cbaa6f98b55183000356caea54d6996cea 100644 (file)
@@ -71,7 +71,7 @@ void PlaneTrackCommon::readCornersFromTrack(float corners[4][2], float frame)
        }
 }
 
-void PlaneTrackCommon::determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2])
+void PlaneTrackCommon::determineResolution(unsigned int resolution[2], unsigned int /*preferredResolution*/[2])
 {
        resolution[0] = 0;
        resolution[1] = 0;
index 69290cd7c3ca6d4da1ee63603fe2e8d04dceae16..aa667884de64d9c9b71cedfac4941c86fc431e73 100644 (file)
@@ -85,7 +85,7 @@ void PreviewOperation::deinitExecution()
        this->m_input = NULL;
 }
 
-void PreviewOperation::executeRegion(rcti *rect, unsigned int tileNumber)
+void PreviewOperation::executeRegion(rcti *rect, unsigned int /*tileNumber*/)
 {
        int offset;
        float color[4];
index 3e97acec7bb1fbcf7bdb326356152fc191fba1d4..5da7a25ac5d56e834f4cf97a5fb49f33fa7fe7d4 100644 (file)
@@ -45,7 +45,7 @@ public:
        PreviewOperation(const ColorManagedViewSettings *viewSettings, const ColorManagedDisplaySettings *displaySettings);
        void verifyPreview(bNodeInstanceHash *previews, bNodeInstanceKey key);
        
-       bool isOutputOperation(bool rendering) const { return !G.background; }
+       bool isOutputOperation(bool /*rendering*/) const { return !G.background; }
        void initExecution();
        void deinitExecution();
        const CompositorPriority getRenderPriority() const;
index 7f6079c55aa5ed16af1f774f1e7ed4a61fd88993..02d1809efbb084a8a8dc62ef46d10a8c15a454fb 100644 (file)
@@ -40,7 +40,7 @@ void ProjectorLensDistortionOperation::initExecution()
        this->m_inputProgram = this->getInputSocketReader(0);
 }
 
-void *ProjectorLensDistortionOperation::initializeTileData(rcti *rect)
+void *ProjectorLensDistortionOperation::initializeTileData(rcti * /*rect*/)
 {
        updateDispersion();
        void *buffer = this->m_inputProgram->initializeTileData(NULL);
index ad4084a7092f1f067bffa921e2526b2e9f383c07..bf0f24e06bec69c2d5810ca457138c40c3e9333b 100644 (file)
@@ -32,7 +32,7 @@ ReadBufferOperation::ReadBufferOperation(DataType datatype) : NodeOperation()
        this->m_buffer = NULL;
 }
 
-void *ReadBufferOperation::initializeTileData(rcti *rect)
+void *ReadBufferOperation::initializeTileData(rcti * /*rect*/)
 {
        return m_buffer;
 }
index 409fa68bacf850738570fa480b08691a1c2e6bd2..defbc2ab57f9a8397197abe81cc96949ac983b9e 100644 (file)
@@ -179,7 +179,7 @@ void RenderLayersBaseProg::deinitExecution()
        this->m_inputBuffer = NULL;
 }
 
-void RenderLayersBaseProg::determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2])
+void RenderLayersBaseProg::determineResolution(unsigned int resolution[2], unsigned int /*preferredResolution*/[2])
 {
        Scene *sce = this->getScene();
        Render *re = (sce) ? RE_GetRender(sce->id.name) : NULL;
@@ -269,7 +269,7 @@ RenderLayersDepthProg::RenderLayersDepthProg() : RenderLayersBaseProg(SCE_PASS_Z
        this->addOutputSocket(COM_DT_VALUE);
 }
 
-void RenderLayersDepthProg::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void RenderLayersDepthProg::executePixelSampled(float output[4], float x, float y, PixelSampler /*sampler*/)
 {
        int ix = x;
        int iy = y;
index 23e8ce86fd90e50c11f6acb6aa369bc55672f2fc..117ae743ee7d855eb6c823acca3e76b7c622fb76 100644 (file)
@@ -279,7 +279,7 @@ bool ScaleFixedSizeOperation::determineDependingAreaOfInterest(rcti *input, Read
        return BaseScaleOperation::determineDependingAreaOfInterest(&newInput, readOperation, output);
 }
 
-void ScaleFixedSizeOperation::determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2])
+void ScaleFixedSizeOperation::determineResolution(unsigned int resolution[2], unsigned int /*preferredResolution*/[2])
 {
        unsigned int nr[2];
        nr[0] = this->m_newWidth;
index ad9b761da45a1dfe1f12e70c06151f9a9b1b9454..acd76fa79a81121737eee8d175c498e64bbf188d 100644 (file)
@@ -70,7 +70,7 @@ void ScreenLensDistortionOperation::initExecution()
        }
 }
 
-void *ScreenLensDistortionOperation::initializeTileData(rcti *rect)
+void *ScreenLensDistortionOperation::initializeTileData(rcti * /*rect*/)
 {
        void *buffer = this->m_inputProgram->initializeTileData(NULL);
 
@@ -208,7 +208,7 @@ void ScreenLensDistortionOperation::determineUV(float result[6], float x, float
        get_delta(uv_dot, m_k4[2], uv, result + 4);
 }
 
-bool ScreenLensDistortionOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output)
+bool ScreenLensDistortionOperation::determineDependingAreaOfInterest(rcti * /*input*/, ReadBufferOperation *readOperation, rcti *output)
 {
        rcti newInputValue;
        newInputValue.xmin = 0;
index 94a863e628b2b4226ebaefbbc54663d2d2dd11d0..1a362bc55e2abb7cce08f71fe4faecb746a0877f 100644 (file)
@@ -27,7 +27,9 @@ SetColorOperation::SetColorOperation() : NodeOperation()
        this->addOutputSocket(COM_DT_COLOR);
 }
 
-void SetColorOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void SetColorOperation::executePixelSampled(float output[4],
+                                            float /*x*/, float /*y*/,
+                                            PixelSampler /*sampler*/)
 {
        copy_v4_v4(output, this->m_color);
 }
index be72ffd0336f19ebdf203dd6e06b1e000f2d6d6f..7057ecb14c19046e42e8bb92b3b1fb8d586e1729 100644 (file)
@@ -37,7 +37,7 @@ void SetSamplerOperation::deinitExecution()
        this->m_reader = NULL;
 }
 
-void SetSamplerOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void SetSamplerOperation::executePixelSampled(float output[4], float x, float y, PixelSampler /*sampler*/)
 {
        this->m_reader->readSampled(output, x, y, this->m_sampler);
 }
index 51e09a63051f1d49ccddece8af410fbeb2071c4c..b6cfb760a9826cab1a858d9fccc483485aa11bec 100644 (file)
@@ -27,7 +27,9 @@ SetValueOperation::SetValueOperation() : NodeOperation()
        this->addOutputSocket(COM_DT_VALUE);
 }
 
-void SetValueOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void SetValueOperation::executePixelSampled(float output[4],
+                                            float /*x*/, float /*y*/,
+                                            PixelSampler /*sampler*/)
 {
        output[0] = this->m_value;
 }
index 769eaf1d2ed45d72a3f06fd5648dcdeead0027c7..1b0327683a949a38a10c7f38981d1e4c40ccc71a 100644 (file)
@@ -28,7 +28,9 @@ SetVectorOperation::SetVectorOperation() : NodeOperation()
        this->addOutputSocket(COM_DT_VECTOR);
 }
 
-void SetVectorOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void SetVectorOperation::executePixelSampled(float output[4],
+                                             float /*x*/, float /*y*/,
+                                             PixelSampler /*sampler*/)
 {
        output[0] = this->m_x;
        output[1] = this->m_y;
index 367c7eefa25d7bbc725f30a243ff60eadeabcd84..cd2166591bcd14e1c5ebce340f164c5306eb2e8a 100644 (file)
@@ -56,7 +56,7 @@ void SplitOperation::deinitExecution()
        this->m_image2Input = NULL;
 }
 
-void SplitOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void SplitOperation::executePixelSampled(float output[4], float x, float y, PixelSampler /*sampler*/)
 {
        int perc = this->m_xSplit ? this->m_splitPercentage * this->getWidth() / 100.0f : this->m_splitPercentage * this->getHeight() / 100.0f;
        bool image1 = this->m_xSplit ? x > perc : y > perc;
index 0ca687ea1620fb491f16105cdbe2126c126f2f11..a681583809c3ce8e7d7acc3650c7ebd655dfd860 100644 (file)
@@ -293,7 +293,7 @@ static void accumulate_line(MemoryBuffer *input, float output[4], const float co
        }
 }
 
-void *SunBeamsOperation::initializeTileData(rcti *rect)
+void *SunBeamsOperation::initializeTileData(rcti * /*rect*/)
 {
        void *buffer = getInputOperation(0)->initializeTileData(NULL);
        return buffer;
index 1b0485afb8d1076a0ff7dee5b11754c3d3197763..2ff6cc047c64acdb05259d95ec84c1ad3c8cf57c 100644 (file)
@@ -117,7 +117,7 @@ void TextureBaseOperation::executePixelSampled(float output[4], float x, float y
        }
 }
 
-MemoryBuffer *TextureBaseOperation::createMemoryBuffer(rcti *rect2)
+MemoryBuffer *TextureBaseOperation::createMemoryBuffer(rcti * /*rect2*/)
 {
        int height = getHeight();
        int width = getWidth();
index 54ba218b80219844477ecb541f86c069675ee533..c581d115a2f72b3748f7bf9d6472da77a93382b7 100644 (file)
@@ -97,7 +97,7 @@ void TonemapOperation::deinitExecution()
        NodeOperation::deinitMutex();
 }
 
-bool TonemapOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output)
+bool TonemapOperation::determineDependingAreaOfInterest(rcti * /*input*/, ReadBufferOperation *readOperation, rcti *output)
 {
        rcti imageInput;
 
@@ -150,7 +150,7 @@ void *TonemapOperation::initializeTileData(rcti *rect)
        return this->m_cachedInstance;
 }
 
-void TonemapOperation::deinitializeTileData(rcti *rect, void *data)
+void TonemapOperation::deinitializeTileData(rcti * /*rect*/, void * /*data*/)
 {
        /* pass */
 }
index a76e0866d0d5bc0befe72debf1bfaa0b9391f035..ca169d03fbc47e3ef7fcaaa8a5a0753a668fce23 100644 (file)
@@ -102,7 +102,9 @@ void TrackPositionOperation::initExecution()
        }
 }
 
-void TrackPositionOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void TrackPositionOperation::executePixelSampled(float output[4],
+                                                 float /*x*/, float /*y*/,
+                                                 PixelSampler /*sampler*/)
 {
        output[0] = this->m_markerPos[this->m_axis] - this->m_relativePos[this->m_axis];
 
index 191388a42fbedebd1073df8a443921dda43dcbe0..fcf99a10a734570e25e4c1882e17544516d1e667 100644 (file)
@@ -52,7 +52,7 @@ void TranslateOperation::deinitExecution()
 }
 
 
-void TranslateOperation::executePixelSampled(float output[4], float x, float y, PixelSampler sampler)
+void TranslateOperation::executePixelSampled(float output[4], float x, float y, PixelSampler /*sampler*/)
 {
        ensureDelta();
 
index 6e4caeef61344e0d97edafc6fe6dac8c0dd12cd4..e4883d91bc37b33916c7e3c13d4c6e1d1619c822 100644 (file)
@@ -89,7 +89,7 @@ void *VariableSizeBokehBlurOperation::initializeTileData(rcti *rect)
        return data;
 }
 
-void VariableSizeBokehBlurOperation::deinitializeTileData(rcti *rect, void *data)
+void VariableSizeBokehBlurOperation::deinitializeTileData(rcti * /*rect*/, void *data)
 {
        VariableSizeBokehBlurTileData *result = (VariableSizeBokehBlurTileData *)data;
        delete result;
@@ -187,7 +187,7 @@ void VariableSizeBokehBlurOperation::executePixel(float output[4], int x, int y,
 void VariableSizeBokehBlurOperation::executeOpenCL(OpenCLDevice *device,
                                        MemoryBuffer *outputMemoryBuffer, cl_mem clOutputBuffer, 
                                        MemoryBuffer **inputMemoryBuffers, list<cl_mem> *clMemToCleanUp, 
-                                       list<cl_kernel> *clKernelsToCleanUp) 
+                                       list<cl_kernel> * /*clKernelsToCleanUp*/)
 {
        cl_kernel defocusKernel = device->COM_clCreateKernel("defocusKernel", NULL);
 
index 8dc06ef07d7c9230071d907f745fbcc4fd8880a0..36f06e9243626e3fd2ed844f0c2820f7c4490eea 100644 (file)
@@ -91,7 +91,7 @@ void *VectorBlurOperation::initializeTileData(rcti *rect)
        return this->m_cachedInstance;
 }
 
-bool VectorBlurOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output)
+bool VectorBlurOperation::determineDependingAreaOfInterest(rcti * /*input*/, ReadBufferOperation *readOperation, rcti *output)
 {
        if (this->m_cachedInstance == NULL) {
                rcti newInput;
index 53c0acd781a059255838ba738aecfa76122e253e..da2706a224485e9382ca214036eaa8303b54606e 100644 (file)
@@ -80,7 +80,7 @@ void ViewerOperation::deinitExecution()
        this->m_outputBuffer = NULL;
 }
 
-void ViewerOperation::executeRegion(rcti *rect, unsigned int tileNumber)
+void ViewerOperation::executeRegion(rcti *rect, unsigned int /*tileNumber*/)
 {
        float *buffer = this->m_outputBuffer;
        float *depthbuffer = this->m_depthBuffer;
index dcc7ffa37304c9a98134086966dc0024efc40708..a17375c2de94deb315dac3233fc57410adc432d7 100644 (file)
@@ -53,7 +53,7 @@ public:
        void initExecution();
        void deinitExecution();
        void executeRegion(rcti *rect, unsigned int tileNumber);
-       bool isOutputOperation(bool rendering) const { if (G.background) return false; return isActiveViewerOutput(); }
+       bool isOutputOperation(bool /*rendering*/) const { if (G.background) return false; return isActiveViewerOutput(); }
        void setImage(Image *image) { this->m_image = image; }
        void setImageUser(ImageUser *imageUser) { this->m_imageUser = imageUser; }
        const bool isActiveViewerOutput() const { return this->m_active; }
index fccff2a33bf3f4cfbae621b7a7e0f6ba8c3a9b35..b3c1c00804ea5ab7bb1e7021e041c67eb2f6c650 100644 (file)
@@ -57,7 +57,7 @@ void WriteBufferOperation::deinitExecution()
        this->m_memoryProxy->free();
 }
 
-void WriteBufferOperation::executeRegion(rcti *rect, unsigned int tileNumber)
+void WriteBufferOperation::executeRegion(rcti *rect, unsigned int /*tileNumber*/)
 {
        MemoryBuffer *memoryBuffer = this->m_memoryProxy->getBuffer();
        float *buffer = memoryBuffer->getBuffer();
@@ -110,7 +110,7 @@ void WriteBufferOperation::executeRegion(rcti *rect, unsigned int tileNumber)
        memoryBuffer->setCreatedState();
 }
 
-void WriteBufferOperation::executeOpenCLRegion(OpenCLDevice *device, rcti *rect, unsigned int chunkNumber,
+void WriteBufferOperation::executeOpenCLRegion(OpenCLDevice *device, rcti * /*rect*/, unsigned int /*chunkNumber*/,
                                                MemoryBuffer **inputMemoryBuffers, MemoryBuffer *outputBuffer)
 {
        float *outputFloatBuffer = outputBuffer->getBuffer();