Mercurial > MadButterfly
diff include/mb_types.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 | d08b4fa3a784 |
children | 33fd5fdc8b48 |
line wrap: on
line diff
--- a/include/mb_types.h Fri Sep 17 12:21:36 2010 +0800 +++ b/include/mb_types.h Fri Sep 17 12:21:36 2010 +0800 @@ -258,8 +258,8 @@ */ /*! \brief pcache_area shoud be updated. * - * A coord is marked with COF_DIRTY_PCACHE_AREA means it is added to - * dirty_pcache_area_coords of a rdman. + * A coord is marked with COF_DIRTY_PCACHE_AREA means its pcache_area + * must be re-computed when zeroing. */ #define COF_DIRTY_PCACHE_AREA 0x1000 #define COF_SKIP_ZERO 0x2000 /*!< \brief The coord just skip zeroing.