wayland_egl: Stop setting swap interval to 0
authorDerek Foreman <derekf@osg.samsung.com>
Tue, 3 Jan 2017 23:07:54 +0000 (17:07 -0600)
committerDerek Foreman <derekf@osg.samsung.com>
Tue, 3 Jan 2017 23:07:54 +0000 (17:07 -0600)
commit44c69195d318c7680e7aa9f33d978117c5c8f0e5
tree8ce784445e2c3179839de20aba4f5185144fd9a1
parent641dfab516b8de1cf27ca07671ff73de6c8d32bf
wayland_egl: Stop setting swap interval to 0

We have some "vsync" variable cargo culted from somewhere that is never
properly set, so is always 0 because it's in a calloced structure.

It's then used to set eglSwapInterval() to 0 always, which results
in mesa using wl_display_sync() instead of wl_surface_frame() for
its frame ready callback mechanism.

Remove it entirely and use the sensible default swapinterval.
src/modules/evas/engines/wayland_common/Evas_Engine_Wayland.h
src/modules/evas/engines/wayland_egl/evas_wl_main.c