mirror of
https://github.com/brl/mutter.git
synced 2025-04-14 14:19:40 +00:00
clutter-stage-egl.c: Don't call eglWait*()
According to the docs, eglSwapBuffers performs an implicit glFlush before swapping so there should be no need to wait.
This commit is contained in:
parent
871683abd3
commit
6c3d1cfab9
@ -229,10 +229,8 @@ clutter_stage_egl_redraw (ClutterStageEGL *stage_egl,
|
|||||||
g_assert (CLUTTER_IS_STAGE_EGL (impl));
|
g_assert (CLUTTER_IS_STAGE_EGL (impl));
|
||||||
stage_egl = CLUTTER_STAGE_EGL (impl);
|
stage_egl = CLUTTER_STAGE_EGL (impl);
|
||||||
|
|
||||||
eglWaitNative (EGL_CORE_NATIVE_ENGINE);
|
|
||||||
clutter_actor_paint (CLUTTER_ACTOR (stage_x11->wrapper));
|
clutter_actor_paint (CLUTTER_ACTOR (stage_x11->wrapper));
|
||||||
cogl_flush ();
|
cogl_flush ();
|
||||||
|
|
||||||
eglWaitGL ();
|
|
||||||
eglSwapBuffers (backend_egl->edpy, stage_egl->egl_surface);
|
eglSwapBuffers (backend_egl->edpy, stage_egl->egl_surface);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user