]> code.ossystems Code Review - meta-freescale.git/commitdiff
mesa-demos: Remove workaround now that eglut_wayland event loop is fixed
authorTom Hochstein <tom.hochstein@nxp.com>
Wed, 25 Sep 2019 19:38:44 +0000 (14:38 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 9 Oct 2019 19:35:56 +0000 (16:35 -0300)
The eglut_wayland event loop is properly fixed, so the simple workaround
patch is no longer necessary.

https://gitlab.freedesktop.org/mesa/demos/commit/c539078c5fa592134f6f8a95be51c8eb318f5c39

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-graphics/mesa/mesa-demos/Additional-eglSwapBuffer-calling-makes-wrong-throttl.patch [deleted file]
recipes-graphics/mesa/mesa-demos_%.bbappend

diff --git a/recipes-graphics/mesa/mesa-demos/Additional-eglSwapBuffer-calling-makes-wrong-throttl.patch b/recipes-graphics/mesa/mesa-demos/Additional-eglSwapBuffer-calling-makes-wrong-throttl.patch
deleted file mode 100644 (file)
index 180a9d8..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-From 010af1952d935352764389636b7165283e6c9e3f Mon Sep 17 00:00:00 2001
-From: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
-Date: Tue, 7 Apr 2015 17:58:45 -0500
-Subject: [PATCH] Additional eglSwapBuffer calling makes wrong throttling
-
-Upstream Status: Pending
-
-Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
----
- src/egl/eglut/eglut_wayland.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/egl/eglut/eglut_wayland.c b/src/egl/eglut/eglut_wayland.c
-index 968b33f..5664d35 100644
---- a/src/egl/eglut/eglut_wayland.c
-+++ b/src/egl/eglut/eglut_wayland.c
-@@ -155,7 +155,7 @@ draw(void *data, struct wl_callback *callback, uint32_t time)
-    if (win->display_cb)
-       win->display_cb();
--   eglSwapBuffers(_eglut->dpy, win->surface);
-+   /*eglSwapBuffers(_eglut->dpy, win->surface);*/
-    if (callback)
-       wl_callback_destroy(callback);
--- 
-2.3.5
-
index 38ccaa38bde6d6e500447fbec85bbad7d3caf2a6..301f1b59f1259eac85ce484403825088bceec0eb 100644 (file)
@@ -2,7 +2,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 SRC_URI_append_imxgpu = " file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch \
                     file://fix-clear-build-break.patch \
-                    file://Additional-eglSwapBuffer-calling-makes-wrong-throttl.patch \
                     file://Add-OpenVG-demos-to-support-wayland.patch"
 
 PACKAGECONFIG_REMOVE_IF_2D_ONLY          = ""