equal
deleted
inserted
replaced
15 // the render info |
15 // the render info |
16 struct render render_info; |
16 struct render render_info; |
17 |
17 |
18 // our offset into rowbuf |
18 // our offset into rowbuf |
19 size_t row_offset; |
19 size_t row_offset; |
20 |
20 |
21 // pointer back to parent |
21 // pointer back to parent |
22 struct render_slices *self; |
22 struct render_slices *self; |
23 } slices[RENDER_SLICES_MAX]; |
23 } slices[RENDER_SLICES_MAX]; |
24 |
24 |
25 // how many slices are in use |
25 // how many slices are in use |
26 size_t num_slices; |
26 size_t num_slices; |
27 |
27 |
28 // how many slices have reported the current row as done |
28 // how many slices have reported the current row as done |
29 size_t slices_done; |
29 size_t segments_done; |
30 |
30 |
31 // the a pointer to the raw memory buffer |
31 // the a pointer to the raw memory buffer |
32 unsigned char *rowbuf; |
32 unsigned char *rowbuf; |
33 |
33 |
34 // the two rows of memory area used to a) render b) build the png |
34 // the two rows of memory area used to a) render b) build the png |