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:
authorLukas Stockner <lukas.stockner@freenet.de>2018-05-01 18:03:20 +0300
committerLukas Stockner <lukas.stockner@freenet.de>2018-05-01 18:03:20 +0300
commitbbfee34e9e2a3d8e8572dd41b3601e783d35a675 (patch)
treefbb36728165d9c4ea8b60e0cac340652dbc7e30d /source/blender/blenkernel/intern/CCGSubSurf.h
parentae7b67902191abb7e5aefbdcc20b84f050ec2b08 (diff)
parent2e98524b58a53f0d546e5f1e7d549d2f45815055 (diff)
Merge remote-tracking branch 'origin/master' into uv_unwrapping_slim_algorithm
Diffstat (limited to 'source/blender/blenkernel/intern/CCGSubSurf.h')
-rw-r--r--source/blender/blenkernel/intern/CCGSubSurf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/CCGSubSurf.h b/source/blender/blenkernel/intern/CCGSubSurf.h
index 4c913e79586..8cdbd2a7a98 100644
--- a/source/blender/blenkernel/intern/CCGSubSurf.h
+++ b/source/blender/blenkernel/intern/CCGSubSurf.h
@@ -73,6 +73,9 @@ typedef enum {
#define CCG_OMP_LIMIT 1000000
+/* TODO(sergey): This actually depends on subsurf level as well. */
+#define CCG_TASK_LIMIT 16
+
/***/
CCGSubSurf* ccgSubSurf_new (CCGMeshIFC *ifc, int subdivisionLevels, CCGAllocatorIFC *allocatorIFC, CCGAllocatorHDL allocator);