Mercurial > MadButterfly
diff include/mb_redraw_man.h @ 314:6c350fc92ae3
Cache rednering result is now workable.
- Know issues
- For unknow issue, CAIRO_OPERATOR_CLEAR will not be limited by clipping.
Image will be cleaned in a strange way. Maybe, it is a bug of Cairo.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 05 Mar 2009 00:54:42 +0800 |
parents | cd6af7da32c9 |
children | 3e84458968ec |
line wrap: on
line diff
--- a/include/mb_redraw_man.h Thu Mar 05 00:54:42 2009 +0800 +++ b/include/mb_redraw_man.h Thu Mar 05 00:54:42 2009 +0800 @@ -23,7 +23,6 @@ DARRAY(coords, coord_t *); DARRAY(geos, geo_t *); -DARRAY(areas, area_t *); /*! \brief Manage redrawing of shapes (graphic elements). * @@ -52,12 +51,14 @@ elmpool_t *subject_pool; elmpool_t *paint_color_pool; elmpool_t *pent_pool; + elmpool_t *coord_canvas_pool; coords_t dirty_coords; geos_t dirty_geos; - areas_t dirty_areas; + int n_dirty_areas; /*!< \brief Number of all dirty areas. */ geos_t gen_geos; + coords_t zeroing_coords; STAILQ(shape_t) shapes; /*!< \brief All managed shapes. */ STAILQ(paint_t) paints; /*!< \brief All managed paints. */