updating raskter to support tiles compositor. this commit puts in some groundwork code to support tiles's pixel processor

This commit is contained in:
Peter Larabell
2012-07-09 22:57:23 +00:00
parent f3fa96303b
commit 689403bf57
7 changed files with 2688 additions and 1233 deletions

View File

@@ -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);
}