summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2017-08-01 14:11:36 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2017-08-13 13:20:57 +0200
commit04c3bc04cda280ee7cf01e7c179157931af7a4f2 (patch)
treed3f0d9d5d1c891a24450be10648973bb126c5d1b /meta-oe/recipes-benchmark
parent84911f27b69a79d1c5e4d3ae8108bbb89d0ca55b (diff)
downloadmeta-openembedded-04c3bc04cda280ee7cf01e7c179157931af7a4f2.tar.gz
glmark2: Upgrade to 2017.07 release
Upstream added new dependency on udev in a7ae55d NativeStateDRM: Probe the DRM node path to use with udev Patch removed since it was merged upstream in 5fcdba1 wayland: Fix destruction order of surface-related objects Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark')
-rw-r--r--meta-oe/recipes-benchmark/glmark2/files/0001-Fix-wl_surface-should-be-destoryed-after-the-wl_wind.patch34
-rw-r--r--meta-oe/recipes-benchmark/glmark2/glmark2_git.bb7
2 files changed, 3 insertions, 38 deletions
diff --git a/meta-oe/recipes-benchmark/glmark2/files/0001-Fix-wl_surface-should-be-destoryed-after-the-wl_wind.patch b/meta-oe/recipes-benchmark/glmark2/files/0001-Fix-wl_surface-should-be-destoryed-after-the-wl_wind.patch
deleted file mode 100644
index 439508102..000000000
--- a/meta-oe/recipes-benchmark/glmark2/files/0001-Fix-wl_surface-should-be-destoryed-after-the-wl_wind.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 9c74ec83e2929b1d5ab65d5137b6ba42edeb332d Mon Sep 17 00:00:00 2001
2From: Yong Gan <b45748@freescale.com>
3Date: Tue, 27 Oct 2015 18:15:20 +0800
4Subject: [PATCH] Fix: wl_surface should be destoryed after the wl_window
5 destroyed.
6
7Upstream-Status: Submitted [https://github.com/glmark2/glmark2/issues/12]
8
9Signed-off-by: Yong Gan <b45748@freescale.com>
10
11---
12 src/native-state-wayland.cpp | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/src/native-state-wayland.cpp b/src/native-state-wayland.cpp
16index 41fc743..cdcdf34 100644
17--- a/src/native-state-wayland.cpp
18+++ b/src/native-state-wayland.cpp
19@@ -56,10 +56,10 @@ NativeStateWayland::~NativeStateWayland()
20 wl_shell_surface_destroy(window_->shell_surface);
21 if (window_->opaque_reqion)
22 wl_region_destroy(window_->opaque_reqion);
23- if (window_->surface)
24- wl_surface_destroy(window_->surface);
25 if (window_->native)
26 wl_egl_window_destroy(window_->native);
27+ if (window_->surface)
28+ wl_surface_destroy(window_->surface);
29 delete window_;
30 }
31
32--
331.9.1
34
diff --git a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
index 85d7bf16e..4c5e0567b 100644
--- a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
+++ b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
@@ -8,18 +8,17 @@ LICENSE = "GPLv3+ & SGIv1"
8LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ 8LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
9 file://COPYING.SGI;beginline=5;md5=269cdab4af6748677acce51d9aa13552" 9 file://COPYING.SGI;beginline=5;md5=269cdab4af6748677acce51d9aa13552"
10 10
11DEPENDS = "libpng jpeg" 11DEPENDS = "libpng jpeg udev"
12 12
13PV = "2014.03+${SRCPV}" 13PV = "2017.07+${SRCPV}"
14 14
15COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '.*-linux*', 'null', d)}" 15COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '.*-linux*', 'null', d)}"
16 16
17SRC_URI = "git://github.com/glmark2/glmark2.git;protocol=https \ 17SRC_URI = "git://github.com/glmark2/glmark2.git;protocol=https \
18 file://build-Check-packages-to-be-used-by-the-enabled-flavo.patch \ 18 file://build-Check-packages-to-be-used-by-the-enabled-flavo.patch \
19 file://0001-Fix-wl_surface-should-be-destoryed-after-the-wl_wind.patch \
20 file://Fix-configure-for-sqrt-check.patch \ 19 file://Fix-configure-for-sqrt-check.patch \
21" 20"
22SRCREV = "9b1070fe9c5cf908f323909d3c8cbed08022abe8" 21SRCREV = "182dcbffe5c8483eadff025b429ee1aacc69c6c2"
23 22
24S = "${WORKDIR}/git" 23S = "${WORKDIR}/git"
25 24