evas/evas_map - added workaround code for avoid afterimage problem temporary.

Since the last frame is not updated when map is disabled,
Afterimage problem is happened in s/w rendering. 
Need to find out the fundanmental reason then fix it. 



SVN revision: 60914
This commit is contained in:
ChunEon Park 2011-07-01 11:30:17 +00:00
parent bda8d0b373
commit 01a9741c05
1 changed files with 20 additions and 1 deletions

View File

@ -382,6 +382,14 @@ evas_object_map_enable_set(Evas_Object *obj, Eina_Bool enabled)
{
_evas_map_calc_geom_change(obj);
evas_object_mapped_clip_across_mark(obj);
//FIXME: Since the last frame is not updated when map is
//disabled, afterimage problem is happened in s/w rendering.
//Need to find out the fundamental reason then fix it.
evas_damage_rectangle_add(obj->layer->evas,
0,
0,
obj->layer->evas->output.w,
obj->layer->evas->output.h);
}
}
_evas_map_calc_map_geometry(obj);
@ -449,7 +457,18 @@ evas_object_map_set(Evas_Object *obj, const Evas_Map *map)
if (!obj->cur.usemap) _evas_map_calc_geom_change(obj);
else _evas_map_calc_map_geometry(obj);
if (obj->cur.usemap)
evas_object_mapped_clip_across_mark(obj);
{
evas_object_mapped_clip_across_mark(obj);
//FIXME: Since the last frame is not updated when map is
//disabled, afterimage problem is happened in s/w
//rendering. Need to find out the fundamental reason
//then fix it.
evas_damage_rectangle_add(obj->layer->evas,
0,
0,
obj->layer->evas->output.w,
obj->layer->evas->output.h);
}
}
return;
}