comparison include/mb_types.h @ 322:c1afd14caa85

Remove out-of-date comments and refactor code and fix a small bug. - When collect descendant areas in zeroing_coord(), cached coord itself should use coord_canvas_info_t::owner_mems_area instead of coord_t::cur_area.
author Thinker K.F. Li <thinker@branda.to>
date Thu, 05 Mar 2009 14:07:49 +0800
parents 6c350fc92ae3
children 3e84458968ec
comparison
equal deleted inserted replaced
321:44cc65e7e234 322:c1afd14caa85
152 areas_t dirty_areas; /*!< \brief Areas should be updated 152 areas_t dirty_areas; /*!< \brief Areas should be updated
153 * in canvas. 153 * in canvas.
154 */ 154 */
155 area_t aggr_dirty_areas[2]; /*!< Used to aggregate updates to parent. */ 155 area_t aggr_dirty_areas[2]; /*!< Used to aggregate updates to parent. */
156 area_t cached_dirty_area; /*!< Used to dirty an area in cached space. */ 156 area_t cached_dirty_area; /*!< Used to dirty an area in cached space. */
157 area_t owner_mems_area; /*!< \brief The area is covered by members
158 * of owner.
159 */
157 } coord_canvas_info_t; 160 } coord_canvas_info_t;
158 161
159 /*! \brief A coordination system. 162 /*! \brief A coordination system.
160 * 163 *
161 * It have a transform function defined by matrix to transform 164 * It have a transform function defined by matrix to transform
226 * \sa \ref img_cache 229 * \sa \ref img_cache
227 */ 230 */
228 #define COF_MUST_ZEROING 0x100 /*!< \sa \ref cache_imp */ 231 #define COF_MUST_ZEROING 0x100 /*!< \sa \ref cache_imp */
229 #define COF_JUST_CLEAN 0x200 /*!< \brief This coord is just cleaned by 232 #define COF_JUST_CLEAN 0x200 /*!< \brief This coord is just cleaned by
230 * last clean. 233 * last clean.
234 * It is used by clean_rdman_dirties().
231 */ 235 */
232 #define COF_TEMP_MARK 0x400 /*!< \brief Temporary mark a coord. */ 236 #define COF_TEMP_MARK 0x400 /*!< \brief Temporary mark a coord. */
233 /* @} */ 237 /* @} */
234 238
235 extern void matrix_mul(co_aix *m1, co_aix *m2, co_aix *dst); 239 extern void matrix_mul(co_aix *m1, co_aix *m2, co_aix *dst);