forked from enlightenment/efl
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:
parent
e7376bab0d
commit
17e6403345
|
@ -901,15 +901,14 @@ _ecore_evas_wl_render(Ecore_Evas *ee)
|
||||||
|
|
||||||
if ((updates = evas_render_updates(ee->evas)))
|
if ((updates = evas_render_updates(ee->evas)))
|
||||||
{
|
{
|
||||||
/* Eina_List *l = NULL; */
|
Eina_List *l = NULL;
|
||||||
/* Eina_Rectangle *r; */
|
Eina_Rectangle *r;
|
||||||
|
|
||||||
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||||
|
|
||||||
ecore_wl_window_damage(ee->engine.wl.win, 0, 0, ee->w, ee->h);
|
EINA_LIST_FOREACH(updates, l, r)
|
||||||
/* EINA_LIST_FOREACH(updates, l, r) */
|
ecore_wl_window_damage(ee->engine.wl.win,
|
||||||
/* ecore_wl_window_damage(ee->engine.wl.win, */
|
r->x, r->y, r->w, r->h);
|
||||||
/* r->x, r->y, r->w, r->h); */
|
|
||||||
|
|
||||||
ecore_wl_flush();
|
ecore_wl_flush();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue