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-07-13 00:10:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-13 00:10:41 +0400
commit8ce53a2a984238aa371b28b44bb2598473a64875 (patch)
treec49847742f540da5dc049fe8dc1e57343d07388c /source/blender/blenkernel/intern/mask.c
parent8809f23c8d1a035c574a75a3ee33da9f6bf04abd (diff)
new mask rasterizer written to take advantage of the compositors threading, mostly functional but disabled by default (still a little wip).
Diffstat (limited to 'source/blender/blenkernel/intern/mask.c')
-rw-r--r--source/blender/blenkernel/intern/mask.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/mask.c b/source/blender/blenkernel/intern/mask.c
index 2326a8fa59c..4e683d1618f 100644
--- a/source/blender/blenkernel/intern/mask.c
+++ b/source/blender/blenkernel/intern/mask.c
@@ -314,7 +314,7 @@ static int BKE_mask_spline_feather_resolution(MaskSpline *spline, int width, int
return resol;
}
-static int mask_spline_points_calc_tot(const MaskSpline *spline, const int resol)
+int BKE_mask_spline_differentiate_calc_total(const MaskSpline *spline, const int resol)
{
int len;
@@ -338,7 +338,7 @@ float (*BKE_mask_spline_differentiate_with_resolution_ex(MaskSpline *spline, con
MaskSplinePoint *point, *prev;
float (*diff_points)[2], (*fp)[2];
- const int tot = mask_spline_points_calc_tot(spline, resol);
+ const int tot = BKE_mask_spline_differentiate_calc_total(spline, resol);
int a;
if (spline->tot_point <= 1) {
@@ -412,7 +412,7 @@ float (*BKE_mask_spline_feather_differentiated_points_with_resolution_ex(MaskSpl
MaskSplinePoint *point, *prev;
float (*feather)[2], (*fp)[2];
- const int tot = mask_spline_points_calc_tot(spline, resol);
+ const int tot = BKE_mask_spline_differentiate_calc_total(spline, resol);
int a;
/* tot+1 because of 'forward_diff_bezier' function */