projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
871683a
)
clutter-stage-egl.c: Don't call eglWait*()
author
Neil Roberts
<neil@linux.intel.com>
Tue, 18 May 2010 15:51:46 +0000
(16:51 +0100)
committer
Neil Roberts
<neil@linux.intel.com>
Tue, 18 May 2010 15:51:46 +0000
(16:51 +0100)
According to the docs, eglSwapBuffers performs an implicit glFlush
before swapping so there should be no need to wait.
clutter/eglx/clutter-stage-egl.c
patch
|
blob
|
history
diff --git
a/clutter/eglx/clutter-stage-egl.c
b/clutter/eglx/clutter-stage-egl.c
index
720be5a
..
667e6be
100644
(file)
--- a/
clutter/eglx/clutter-stage-egl.c
+++ b/
clutter/eglx/clutter-stage-egl.c
@@
-229,10
+229,8
@@
clutter_stage_egl_redraw (ClutterStageEGL *stage_egl,
g_assert (CLUTTER_IS_STAGE_EGL (impl));
stage_egl = CLUTTER_STAGE_EGL (impl);
- eglWaitNative (EGL_CORE_NATIVE_ENGINE);
clutter_actor_paint (CLUTTER_ACTOR (stage_x11->wrapper));
cogl_flush ();
- eglWaitGL ();
eglSwapBuffers (backend_egl->edpy, stage_egl->egl_surface);
}