Ecore_Evas (wayland_shm): After some testing, it actually is better to

only damage the portions that change (for the case of rendering).



SVN revision: 71123
This commit is contained in:
Christopher Michael 2012-05-15 14:30:57 +00:00
parent e7376bab0d
commit 17e6403345
1 changed files with 5 additions and 6 deletions

View File

@ -901,15 +901,14 @@ _ecore_evas_wl_render(Ecore_Evas *ee)
if ((updates = evas_render_updates(ee->evas)))
{
/* Eina_List *l = NULL; */
/* Eina_Rectangle *r; */
Eina_List *l = NULL;
Eina_Rectangle *r;
LOGFN(__FILE__, __LINE__, __FUNCTION__);
ecore_wl_window_damage(ee->engine.wl.win, 0, 0, ee->w, ee->h);
/* EINA_LIST_FOREACH(updates, l, r) */
/* ecore_wl_window_damage(ee->engine.wl.win, */
/* r->x, r->y, r->w, r->h); */
EINA_LIST_FOREACH(updates, l, r)
ecore_wl_window_damage(ee->engine.wl.win,
r->x, r->y, r->w, r->h);
ecore_wl_flush();