diff options
author | Peter Larabell <xgl.asyliax@gmail.com> | 2012-07-10 02:57:23 +0400 |
---|---|---|
committer | Peter Larabell <xgl.asyliax@gmail.com> | 2012-07-10 02:57:23 +0400 |
commit | 689403bf578116bc520f208ea332c72378411d91 (patch) | |
tree | ca951b199b20966da456e4b8c65481008f4a32cf /source/blender/blenkernel/intern/mask.c | |
parent | f3fa96303bf98118d4921640d82e629e97c28ee5 (diff) |
updating raskter to support tiles compositor. this commit puts in some groundwork code to support tiles's pixel processor
Diffstat (limited to 'source/blender/blenkernel/intern/mask.c')
-rw-r--r-- | source/blender/blenkernel/intern/mask.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/mask.c b/source/blender/blenkernel/intern/mask.c index b400332db81..5ff221a4011 100644 --- a/source/blender/blenkernel/intern/mask.c +++ b/source/blender/blenkernel/intern/mask.c @@ -2219,7 +2219,7 @@ void BKE_mask_rasterize_layers(ListBase *masklayers, int width, int height, floa if (tot_diff_point) { PLX_raskterize(diff_points, tot_diff_point, - buffer_tmp, width, height, do_mask_aa); + buffer_tmp, width, height,do_mask_aa); if (tot_diff_feather_points) { PLX_raskterize_feather(diff_points, tot_diff_point, @@ -2273,10 +2273,12 @@ void BKE_mask_rasterize_layers(ListBase *masklayers, int width, int height, floa } } + if(do_mask_aa){ + //PLX_antialias_buffer(buffer,width,height); + } /* clamp at the end */ clamp_vn_vn(buffer, buffer_size); } - MEM_freeN(buffer_tmp); } |