# HG changeset patch # User Thinker K.F. Li # Date 1284697296 -28800 # Node ID 0b66b585b3647f2e422566b565973e2f93ae1663 # Parent f3ce3598612fc1a4b4e7a0a810412b576a7620f1 Since it is COF_DIRTY_PCACHE_AREA, donot add it again diff -r f3ce3598612f -r 0b66b585b364 include/mb_types.h --- 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 @@ -256,9 +256,12 @@ * * It's canvas is changed by zeroing. */ -#define COF_DIRTY_PCACHE_AREA 0x1000 /*!< \brief pcache_area shoud be - * updated. - */ +/*! \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. */ + */ +#define COF_DIRTY_PCACHE_AREA 0x1000 #define COF_SKIP_ZERO 0x2000 /*!< \brief The coord just skip zeroing. * No real zeroing was performed. */ diff -r f3ce3598612f -r 0b66b585b364 src/redraw_man.c --- a/src/redraw_man.c Fri Sep 17 12:21:36 2010 +0800 +++ b/src/redraw_man.c Fri Sep 17 12:21:36 2010 +0800 @@ -1676,8 +1676,6 @@ continue; /* skip coords that is not cached */ if(!coord_get_flags(coord, COF_TEMP_MARK)) { - if(coord_get_flags(coord, COF_DIRTY_PCACHE_AREA)) - add_dirty_pcache_area_coord(rdman, coord); preorder_coord_skip_subtree(coord); continue; }