add Anti-Aliasing (very rough draft algorithm, NOT FINAL version) to raskter lib...
[blender.git] / source / blender / blenkernel / intern / sequencer.c
index 889eee25d6bec1fe9c13f624a83102eed6c500db..ddf30ecfa81c38e861e6a3aa5ebd603cf3659cfe 100644 (file)
@@ -2081,7 +2081,8 @@ static ImBuf *seq_render_mask_strip(
                BKE_mask_rasterize(seq->mask,
                                   context.rectx, context.recty,
                                   maskbuf,
-                                  TRUE);
+                                  TRUE,
+                                  FALSE /*XXX- TODO: make on/off for anti-aliasing*/);
 
                fp_src = maskbuf;
                fp_dst = ibuf->rect_float;
@@ -2104,7 +2105,8 @@ static ImBuf *seq_render_mask_strip(
                BKE_mask_rasterize(seq->mask,
                                   context.rectx, context.recty,
                                   maskbuf,
-                                  TRUE);
+                                  TRUE,
+                                  FALSE /*XXX- TODO: mask on/off for anti-aliasing*/);
 
                fp_src = maskbuf;
                ub_dst = (unsigned char *)ibuf->rect;