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:
authorCampbell Barton <ideasman42@gmail.com>2012-06-13 18:33:50 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-13 18:33:50 +0400
commite22aa7bc38c5d38a0714bed8a2a1869383cd5e5a (patch)
tree8ba360a657b3dee76a5e5126930037b5bc9e368f /source/blender/compositor/operations/COM_GlareBaseOperation.h
parent342fb0a19ef267de288086f3d0bb3c330a76d855 (diff)
style cleanup
Diffstat (limited to 'source/blender/compositor/operations/COM_GlareBaseOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_GlareBaseOperation.h40
1 files changed, 21 insertions, 19 deletions
diff --git a/source/blender/compositor/operations/COM_GlareBaseOperation.h b/source/blender/compositor/operations/COM_GlareBaseOperation.h
index d79f449f426..0d20dd363c7 100644
--- a/source/blender/compositor/operations/COM_GlareBaseOperation.h
+++ b/source/blender/compositor/operations/COM_GlareBaseOperation.h
@@ -15,8 +15,8 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
- * Contributor:
- * Jeroen Bakker
+ * Contributor:
+ * Jeroen Bakker
* Monique Dewanchand
*/
@@ -59,34 +59,36 @@ typedef float fRGB[4];
class GlareBaseOperation : public SingleThreadedNodeOperation {
private:
/**
- * @brief Cached reference to the inputProgram
- */
- SocketReader * inputProgram;
-
+ * @brief Cached reference to the inputProgram
+ */
+ SocketReader *inputProgram;
+
/**
- * @brief settings of the glare node.
- */
- NodeGlare * settings;
+ * @brief settings of the glare node.
+ */
+ NodeGlare *settings;
public:
/**
- * Initialize the execution
- */
+ * Initialize the execution
+ */
void initExecution();
-
+
/**
- * Deinitialize the execution
- */
+ * Deinitialize the execution
+ */
void deinitExecution();
- void setGlareSettings(NodeGlare * settings) {this->settings = settings;}
+ void setGlareSettings(NodeGlare *settings) {
+ this->settings = settings;
+ }
bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output);
-
+
protected:
GlareBaseOperation();
-
+
virtual void generateGlare(float *data, MemoryBuffer *inputTile, NodeGlare *settings) = 0;
-
+
MemoryBuffer *createMemoryBuffer(rcti *rect, MemoryBuffer **memoryBuffers);
-
+
};
#endif