forked from enlightenment/efl
wayland_egl: Remove weirdo buffer age kludge cargo culted from gl_x11
There's no reason why we'd need a full redraw if the buffer age for this buffer isn't the same as the buffer age for the last buffer, so let's cut out this thing.
This commit is contained in:
parent
a44352a10f
commit
6a65253f68
|
@ -66,7 +66,7 @@ struct _Outbuf
|
|||
Evas_Engine_GL_Context *gl_context;
|
||||
|
||||
Render_Engine_Swap_Mode swap_mode;
|
||||
int prev_age, vsync;
|
||||
int vsync;
|
||||
int frame_cnt;
|
||||
|
||||
struct
|
||||
|
|
|
@ -382,9 +382,6 @@ eng_outbuf_swap_mode_get(Outbuf *ob)
|
|||
else if (age == 4) swap_mode = MODE_QUADRUPLE;
|
||||
else swap_mode = MODE_FULL;
|
||||
|
||||
if ((int)age != ob->prev_age) swap_mode = MODE_FULL;
|
||||
ob->prev_age = age;
|
||||
|
||||
return swap_mode;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue