diff options
author | Peter Larabell <xgl.asyliax@gmail.com> | 2012-07-10 08:51:08 +0400 |
---|---|---|
committer | Peter Larabell <xgl.asyliax@gmail.com> | 2012-07-10 08:51:08 +0400 |
commit | 492d9aabe0a05f3df6e9d3c046f8cb5d885f0871 (patch) | |
tree | f15664c07b9caab66a09aa85f22a6a872749377b /intern/raskter/raskter.h | |
parent | 1f9adff26fd79f03f9d6616ef70976f0fc81ee0c (diff) |
some code refactors in raskter.c to sync it with build where mask tiling is being developed. Also adds a bit more mask tiling code.
Diffstat (limited to 'intern/raskter/raskter.h')
-rw-r--r-- | intern/raskter/raskter.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/intern/raskter/raskter.h b/intern/raskter/raskter.h index 004085d23c7..cf679dd37c0 100644 --- a/intern/raskter/raskter.h +++ b/intern/raskter/raskter.h @@ -80,11 +80,21 @@ struct r_fill_context { int bounds_length; }; +struct layer_init_data { + struct poly_vert *imask; + struct poly_vert *omask; + struct scan_line *bounds; + int *bound_indexes; + int bounds_length; +}; + #ifdef __cplusplus extern "C" { #endif void preprocess_all_edges(struct r_fill_context *ctx, struct poly_vert *verts, int num_verts, struct e_status *open_edge); +int PLX_init_base_data(struct layer_init_data *mlayer_data, float(*base_verts)[2], int num_base_verts, + float *buf, int buf_x, int buf_y); int PLX_raskterize(float (*base_verts)[2], int num_base_verts, float *buf, int buf_x, int buf_y, int do_mask_AA); int PLX_raskterize_feather(float (*base_verts)[2], int num_base_verts, |