Mercurial > MadButterfly
comparison include/mb_types.h @ 851:85f22a771e4a abs_n_rel_center
Compute aggregated cache_2_pdev and reversed one
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Mon, 20 Sep 2010 22:43:43 +0800 |
parents | 33fd5fdc8b48 |
children | a17c4e231e54 |
comparison
equal
deleted
inserted
replaced
850:33fd5fdc8b48 | 851:85f22a771e4a |
---|---|
176 area_t *pcache_cur_area; /*!< Current area for parent cached. */ | 176 area_t *pcache_cur_area; /*!< Current area for parent cached. */ |
177 area_t *pcache_last_area; /*!< Last area for parent cached. */ | 177 area_t *pcache_last_area; /*!< Last area for parent cached. */ |
178 co_aix cache_2_pdev[6]; /*!< Transfrom matrix from space of | 178 co_aix cache_2_pdev[6]; /*!< Transfrom matrix from space of |
179 * cached one to its parent. */ | 179 * cached one to its parent. */ |
180 co_aix cache_2_pdev_rev[6]; /*!< Reverse of cache_2_pdev. */ | 180 co_aix cache_2_pdev_rev[6]; /*!< Reverse of cache_2_pdev. */ |
181 co_aix aggr_2_pdev[6]; /*!< Aggregation of cache_2_pdev from root */ | |
182 co_aix aggr_2_pdev_rev[6]; /*!< Aggregation of cache_2_pdev_rev | |
183 * from root */ | |
181 } coord_canvas_info_t; | 184 } coord_canvas_info_t; |
182 | 185 |
183 /*! \brief A coordination system. | 186 /*! \brief A coordination system. |
184 * | 187 * |
185 * It have a transform function defined by matrix to transform | 188 * It have a transform function defined by matrix to transform |
370 #define _coord_get_dirty_areas(coord) (&(coord)->canvas_info->dirty_areas) | 373 #define _coord_get_dirty_areas(coord) (&(coord)->canvas_info->dirty_areas) |
371 #define _coord_get_aggr_dirty_areas(coord) \ | 374 #define _coord_get_aggr_dirty_areas(coord) \ |
372 ((coord)->canvas_info->aggr_dirty_areas) | 375 ((coord)->canvas_info->aggr_dirty_areas) |
373 #define coord_get_2pdev(coord) ((coord)->canvas_info->cache_2_pdev) | 376 #define coord_get_2pdev(coord) ((coord)->canvas_info->cache_2_pdev) |
374 #define coord_get_2pdev_rev(coord) ((coord)->canvas_info->cache_2_pdev_rev) | 377 #define coord_get_2pdev_rev(coord) ((coord)->canvas_info->cache_2_pdev_rev) |
378 #define coord_get_aggr2pdev(coord) ((coord)->canvas_info->aggr_2_pdev) | |
379 #define coord_get_aggr2pdev_rev(coord) ((coord)->canvas_info->aggr_2_pdev_rev) | |
375 | 380 |
376 /* @} */ | 381 /* @} */ |
377 | 382 |
378 /*! \brief A grahpic shape. | 383 /*! \brief A grahpic shape. |
379 * | 384 * |