ecore_evas/wayland: Add _ecore_evas_wl_common_render_updates back.

It shouldn't be removed, since it's still being used.

SVN revision: 83388
This commit is contained in:
Rafael Antognolli 2013-01-28 19:45:41 +00:00
parent 1210067fbe
commit f75b01b545
1 changed files with 27 additions and 0 deletions

View File

@ -723,6 +723,33 @@ _ecore_evas_wl_common_pre_render(Ecore_Evas *ee)
return rend;
}
int
_ecore_evas_wl_common_render_updates(Ecore_Evas *ee)
{
int rend = 0;
Eina_List *updates = NULL;
Ecore_Evas_Engine_Wl_Data *wdata = ee->engine.data;
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if ((updates = evas_render_updates(ee->evas)))
{
Eina_List *l = NULL;
Eina_Rectangle *r;
EINA_LIST_FOREACH(updates, l, r)
ecore_wl_window_damage(wdata->win,
r->x, r->y, r->w, r->h);
ecore_wl_flush();
evas_render_updates_free(updates);
rend = 1;
}
return rend;
}
void
_ecore_evas_wl_common_post_render(Ecore_Evas *ee)
{