Mercurial > MadButterfly
comparison include/mb_redraw_man.h @ 840:048cc704bef7
Merge dirty_pcache_area_coords and zeroing_coords.
Also interleave zeroing and updating pcache_area tasks. To zeroing a
cached coord, pcache_area of descendants cached coords must be updated
before zeroing. But, updating pcache_area of a cached coord must be
performed after zeroing the coord. So, they are interleaved.
dirty_pcache_area_coords are removed from redraw_man_t. It is merged
to zeroing_coords.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Fri, 17 Sep 2010 12:21:36 +0800 |
parents | 586e50f82c1f |
children | 48df0f97f09e |
comparison
equal
deleted
inserted
replaced
839:a3be0162bf44 | 840:048cc704bef7 |
---|---|
55 elmpool_t *paint_color_pool; | 55 elmpool_t *paint_color_pool; |
56 elmpool_t *pent_pool; | 56 elmpool_t *pent_pool; |
57 elmpool_t *coord_canvas_pool; | 57 elmpool_t *coord_canvas_pool; |
58 | 58 |
59 coords_t dirty_coords; | 59 coords_t dirty_coords; |
60 coords_t dirty_pcache_area_coords; | |
61 geos_t dirty_geos; | 60 geos_t dirty_geos; |
62 int n_dirty_areas; /*!< \brief Number of all dirty areas. */ | 61 int n_dirty_areas; /*!< \brief Number of all dirty areas. */ |
63 | 62 |
64 geos_t gen_geos; | 63 geos_t gen_geos; |
65 coords_t zeroing_coords; | 64 coords_t zeroing_coords; |