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>2018-06-17 18:10:19 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-17 18:10:19 +0300
commit06a1a66a9b6f120867d3bbebe3928744ec8e3495 (patch)
tree42e827a3cf58eb76474e479206b02a8d97dd3bf7 /source/blender/compositor/intern/COM_SingleThreadedOperation.h
parent61d27db35967710421ab92748e09624db068258d (diff)
parenta24b4e6090057479796e914bc603119b12f6ca06 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/compositor/intern/COM_SingleThreadedOperation.h')
-rw-r--r--source/blender/compositor/intern/COM_SingleThreadedOperation.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/compositor/intern/COM_SingleThreadedOperation.h b/source/blender/compositor/intern/COM_SingleThreadedOperation.h
index 82d0b04e064..e0dc06ef733 100644
--- a/source/blender/compositor/intern/COM_SingleThreadedOperation.h
+++ b/source/blender/compositor/intern/COM_SingleThreadedOperation.h
@@ -27,7 +27,7 @@
class SingleThreadedOperation : public NodeOperation {
private:
MemoryBuffer *m_cachedInstance;
-
+
protected:
inline bool isCached() {
return this->m_cachedInstance != NULL;
@@ -35,17 +35,17 @@ protected:
public:
SingleThreadedOperation();
-
+
/**
* the inner loop of this program
*/
void executePixel(float output[4], int x, int y, void *data);
-
+
/**
* Initialize the execution
*/
void initExecution();
-
+
/**
* Deinitialize the execution
*/
@@ -54,7 +54,7 @@ public:
void *initializeTileData(rcti *rect);
virtual MemoryBuffer *createMemoryBuffer(rcti *rect) = 0;
-
+
int isSingleThreaded() { return true; }
};
#endif