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-14 03:31:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-14 03:31:47 +0400
commitbde7e6c96b9e180b293ee6e49ab813a30fac0635 (patch)
treecf9f09aa0b3bb0528553546674269f0e5e96bd93 /source/blender/compositor/intern/COM_MemoryProxy.h
parent906b9e0584b93094b1c45514fbf6fd8c62e6d015 (diff)
stule cleanup: node headers
Diffstat (limited to 'source/blender/compositor/intern/COM_MemoryProxy.h')
-rw-r--r--source/blender/compositor/intern/COM_MemoryProxy.h82
1 files changed, 41 insertions, 41 deletions
diff --git a/source/blender/compositor/intern/COM_MemoryProxy.h b/source/blender/compositor/intern/COM_MemoryProxy.h
index e0ac72de0d3..e7e7f1cf3a0 100644
--- a/source/blender/compositor/intern/COM_MemoryProxy.h
+++ b/source/blender/compositor/intern/COM_MemoryProxy.h
@@ -30,78 +30,78 @@ class MemoryProxy;
class ExecutionGroup;
/**
- * @brief A MemoryProxy is a unique identifier for a memory buffer.
- * A single MemoryProxy is used among all chunks of the same buffer,
- * the MemoryBuffer only stores the data of a single chunk.
- * @ingroup Memory
- */
+ * @brief A MemoryProxy is a unique identifier for a memory buffer.
+ * A single MemoryProxy is used among all chunks of the same buffer,
+ * the MemoryBuffer only stores the data of a single chunk.
+ * @ingroup Memory
+ */
class MemoryProxy {
private:
/**
- * @brief reference to the ouput operation of the executiongroup
- */
+ * @brief reference to the ouput operation of the executiongroup
+ */
WriteBufferOperation *writeBufferOperation;
/**
- * @brief reference to the executor. the Execution group that can fill a chunk
- */
+ * @brief reference to the executor. the Execution group that can fill a chunk
+ */
ExecutionGroup *executor;
/**
- * @brief datatype of this MemoryProxy
- */
+ * @brief datatype of this MemoryProxy
+ */
DataType datatype;
/**
- * @brief channel information of this buffer
- */
+ * @brief channel information of this buffer
+ */
ChannelInfo channelInfo[COM_NUMBER_OF_CHANNELS];
/**
- * @brief the allocated memory
- */
- MemoryBuffer* buffer;
+ * @brief the allocated memory
+ */
+ MemoryBuffer *buffer;
public:
MemoryProxy();
/**
- * @brief set the ExecutionGroup that can be scheduled to calculate a certain chunk.
- * @param group the ExecutionGroup to set
- */
- void setExecutor(ExecutionGroup *executor) {this->executor = executor;}
-
+ * @brief set the ExecutionGroup that can be scheduled to calculate a certain chunk.
+ * @param group the ExecutionGroup to set
+ */
+ void setExecutor(ExecutionGroup *executor) { this->executor = executor; }
+
/**
- * @brief get the ExecutionGroup that can be scheduled to calculate a certain chunk.
- */
- ExecutionGroup *getExecutor() {return this->executor;}
-
+ * @brief get the ExecutionGroup that can be scheduled to calculate a certain chunk.
+ */
+ ExecutionGroup *getExecutor() { return this->executor; }
+
/**
- * @brief set the WriteBufferOperation that is responsible for writing to this MemoryProxy
- * @param operation
- */
- void setWriteBufferOperation(WriteBufferOperation *operation) {this->writeBufferOperation = operation;}
-
+ * @brief set the WriteBufferOperation that is responsible for writing to this MemoryProxy
+ * @param operation
+ */
+ void setWriteBufferOperation(WriteBufferOperation *operation) { this->writeBufferOperation = operation; }
+
/**
- * @brief get the WriteBufferOperation that is responsible for writing to this MemoryProxy
- * @return WriteBufferOperation
- */
- WriteBufferOperation *getWriteBufferOperation() {return this->writeBufferOperation;}
+ * @brief get the WriteBufferOperation that is responsible for writing to this MemoryProxy
+ * @return WriteBufferOperation
+ */
+ WriteBufferOperation *getWriteBufferOperation() { return this->writeBufferOperation; }
/**
- * @brief allocate memory of size widht x height
- */
+ * @brief allocate memory of size widht x height
+ */
void allocate(unsigned int width, unsigned int height);
/**
- * @brief free the allocated memory
- */
+ * @brief free the allocated memory
+ */
void free();
/**
- * @brief get the allocated memory
- */
- inline MemoryBuffer* getBuffer() {return this->buffer;}
+ * @brief get the allocated memory
+ */
+ inline MemoryBuffer *getBuffer() { return this->buffer; }
};
#endif