diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-14 19:29:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-14 19:29:05 +0400 |
commit | fc3cd6eb801d6c9a6a95d63198f0c815d4deb072 (patch) | |
tree | 78da39811d50143eaf9d9ebd03b4bd66021fd7a8 /source/blender/blenkernel | |
parent | 01c3db149cfcd5cb357d8fc739bbe4beb08b35e7 (diff) |
replace masking rasterizer with a more simple geometry based rasterizer (for the compositor).
notes:
- uncomment #define USE_RASKTER in BKE_mask.h to use the previous mask rasterizer.
- slightly slower for regular masks but significantly faster for feather.
- main benefit is that it threads well so works nice for tile compositor.
- feather is lower quality, can use some improvements here.
- feather can also use some interpolation enhancements, will do later.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_mask.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_mask.h b/source/blender/blenkernel/BKE_mask.h index 50d8576dd91..5038ac5eb1b 100644 --- a/source/blender/blenkernel/BKE_mask.h +++ b/source/blender/blenkernel/BKE_mask.h @@ -206,7 +206,7 @@ void BKE_mask_init_layers(Mask *mask, struct layer_init_data *mlayer_data, int w #define MASKPOINT_DESEL_HANDLE(p) { (p)->bezt.f1 &= ~SELECT; (p)->bezt.f3 &= ~SELECT; } (void)0 /* disable to test alternate rasterizer */ -#define USE_RASKTER +/* #define USE_RASKTER */ /* mask_rasterize.c */ #ifndef USE_RASKTER |