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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-09-30 16:37:37 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-10-01 17:10:38 +0300
commit8a23657f0f2b315492778f54e9f6c27c6bf3c78d (patch)
tree24ebf395a39eb55822983716818ff79e30a9e8fa /source/blender/editors/sculpt_paint/sculpt_intern.h
parent5e98187ddb3319ab94618c9232fd0cb3538c2e02 (diff)
Cleanup: avoid accessors, reduce memory usage, multithread dirty mask
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_intern.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h
index 201aade44cd..e9af49a0b5a 100644
--- a/source/blender/editors/sculpt_paint/sculpt_intern.h
+++ b/source/blender/editors/sculpt_paint/sculpt_intern.h
@@ -224,6 +224,10 @@ typedef struct SculptThreadedTaskData {
float transform_mats[8][4][4];
+ float dirty_mask_min;
+ float dirty_mask_max;
+ bool dirty_mask_dirty_only;
+
ThreadMutex mutex;
} SculptThreadedTaskData;