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.
Evas_Engine_Render_Mode render_mode;
Evas *evas;
- Eina_Bool vsync : 1;
Eina_Bool indirect : 1;
Eina_Bool www_avail : 1;
eng_window_use(ob);
glsym_evas_gl_common_context_done(ob->gl_context);
- if (!ob->vsync)
- {
- if (ob->info->vsync) eglSwapInterval(ob->egl_disp, 1);
- else eglSwapInterval(ob->egl_disp, 0);
- ob->vsync = EINA_TRUE;
- }
-
if ((glsym_eglSwapBuffersWithDamage) && (surface_damage) &&
(ob->swap_mode != MODE_FULL))
{