Return-Path: Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by arago-project.org (Postfix) with ESMTPS id 33B5B52A31 for ; Fri, 8 Nov 2019 22:44:11 +0000 (UTC) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id xA8Mglhd086046 for ; Fri, 8 Nov 2019 16:42:47 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1573252967; bh=oA+Npro5NIOr1DWKl7RVXIY12co0kqOUHVhpr0ZkSxc=; h=From:To:Subject:Date:In-Reply-To:References; b=vxI8PpGaDWrnTsCGqCvnXcXPdn3VBsu/luvFMJBgFxLAoeQyHeZeVTbvwgD/Jcr3s V4Z/k1xU/7VYPJd/Lnldb3g2Nn2pSmKGwqMDuB/zlVd8T769XvDy7jMNpYi3H+V1vO xOFLheYlwW9m3NMEef+pnEWJAXT1Q2jNrFkj7MCI= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xA8Mglgs071895 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 8 Nov 2019 16:42:47 -0600 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Fri, 8 Nov 2019 16:42:47 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Fri, 8 Nov 2019 16:42:47 -0600 Received: from UDA0850410.gt.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id xA8MgkmC115946 for ; Fri, 8 Nov 2019 16:42:47 -0600 From: Eric Ruei To: Date: Fri, 8 Nov 2019 17:42:35 -0500 Message-ID: <20191108224236.50548-4-e-ruei1@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191108224236.50548-1-e-ruei1@ti.com> References: <20191108224236.50548-1-e-ruei1@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Subject: [thud][PATCH 3/4] Revert "glmark2: overlay version 2014.03 locally" X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Nov 2019 22:44:12 -0000 Content-Type: text/plain This reverts commit 82e3228271b798d96d7ebb45d588eaff7b68b78a. Start to use 2017.07 because all required EGL 1.5 extensions are supported by Mesa-based EGL now. --- ...hould-be-destoryed-after-the-wl_wind.patch | 34 ----------- .../files/Fix-configure-for-sqrt-check.patch | 13 ---- ...ages-to-be-used-by-the-enabled-flavo.patch | 43 ------------- .../recipes-benchmark/glmark2/glmark2_git.bb | 60 ------------------- 4 files changed, 150 deletions(-) delete mode 100644 meta-arago-extras/recipes-benchmark/glmark2/files/0001-Fix-wl_surface-should-be-destoryed-after-the-wl_wind.patch delete mode 100644 meta-arago-extras/recipes-benchmark/glmark2/files/Fix-configure-for-sqrt-check.patch delete mode 100644 meta-arago-extras/recipes-benchmark/glmark2/files/build-Check-packages-to-be-used-by-the-enabled-flavo.patch delete mode 100644 meta-arago-extras/recipes-benchmark/glmark2/glmark2_git.bb diff --git a/meta-arago-extras/recipes-benchmark/glmark2/files/0001-Fix-wl_surface-should-be-destoryed-after-the-wl_wind.patch b/meta-arago-extras/recipes-benchmark/glmark2/files/0001-Fix-wl_surface-should-be-destoryed-after-the-wl_wind.patch deleted file mode 100644 index 43950810..00000000 --- a/meta-arago-extras/recipes-benchmark/glmark2/files/0001-Fix-wl_surface-should-be-destoryed-after-the-wl_wind.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 9c74ec83e2929b1d5ab65d5137b6ba42edeb332d Mon Sep 17 00:00:00 2001 -From: Yong Gan -Date: Tue, 27 Oct 2015 18:15:20 +0800 -Subject: [PATCH] Fix: wl_surface should be destoryed after the wl_window - destroyed. - -Upstream-Status: Submitted [https://github.com/glmark2/glmark2/issues/12] - -Signed-off-by: Yong Gan - ---- - src/native-state-wayland.cpp | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/native-state-wayland.cpp b/src/native-state-wayland.cpp -index 41fc743..cdcdf34 100644 ---- a/src/native-state-wayland.cpp -+++ b/src/native-state-wayland.cpp -@@ -56,10 +56,10 @@ NativeStateWayland::~NativeStateWayland() - wl_shell_surface_destroy(window_->shell_surface); - if (window_->opaque_reqion) - wl_region_destroy(window_->opaque_reqion); -- if (window_->surface) -- wl_surface_destroy(window_->surface); - if (window_->native) - wl_egl_window_destroy(window_->native); -+ if (window_->surface) -+ wl_surface_destroy(window_->surface); - delete window_; - } - --- -1.9.1 - diff --git a/meta-arago-extras/recipes-benchmark/glmark2/files/Fix-configure-for-sqrt-check.patch b/meta-arago-extras/recipes-benchmark/glmark2/files/Fix-configure-for-sqrt-check.patch deleted file mode 100644 index fde82381..00000000 --- a/meta-arago-extras/recipes-benchmark/glmark2/files/Fix-configure-for-sqrt-check.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: git/wscript -=================================================================== ---- git.orig/wscript 2016-07-29 13:15:44.954249796 -0500 -+++ git/wscript 2016-07-29 15:52:06.196768865 -0500 -@@ -90,7 +90,7 @@ - ctx.check_cxx(lib = lib, uselib_store = uselib) - - # Check required functions -- req_funcs = [('memset', 'string.h', []) ,('sqrt', 'math.h', ['m'])] -+ req_funcs = [('memset', 'string.h', [])] - for func, header, uselib in req_funcs: - ctx.check_cxx(function_name = func, header_name = header, - uselib = uselib, mandatory = True) diff --git a/meta-arago-extras/recipes-benchmark/glmark2/files/build-Check-packages-to-be-used-by-the-enabled-flavo.patch b/meta-arago-extras/recipes-benchmark/glmark2/files/build-Check-packages-to-be-used-by-the-enabled-flavo.patch deleted file mode 100644 index 72b8debe..00000000 --- a/meta-arago-extras/recipes-benchmark/glmark2/files/build-Check-packages-to-be-used-by-the-enabled-flavo.patch +++ /dev/null @@ -1,43 +0,0 @@ -From: Otavio Salvador -Subject: [PATCH] build: Check packages to be used by the enabled flavors -Organization: O.S. Systems Software LTDA. - -The packages shouldn't be dynamically detected otherwise the build -predictability is lost. We now have all packages as mandatory but -dependent of the flavors which use them. - -Upstream-Status: Submitted [https://github.com/glmark2/glmark2/pull/8] - -Signed-off-by: Otavio Salvador ---- - wscript | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -diff --git a/wscript b/wscript -index cab62a3..e7eaed0 100644 ---- a/wscript -+++ b/wscript -@@ -121,13 +121,17 @@ def configure(ctx): - ('mirclient','mirclient', '0.13', list_contains(ctx.options.flavors, 'mir')), - ('wayland-client','wayland-client', None, list_contains(ctx.options.flavors, 'wayland')), - ('wayland-egl','wayland-egl', None, list_contains(ctx.options.flavors, 'wayland'))] -- for (pkg, uselib, atleast, mandatory) in opt_pkgs: -+ for (pkg, uselib, atleast, check) in opt_pkgs: -+ # Check packages required by the flavors -+ if not check: -+ continue -+ - if atleast is None: - ctx.check_cfg(package = pkg, uselib_store = uselib, -- args = '--cflags --libs', mandatory = mandatory) -+ args = '--cflags --libs', mandatory = True) - else: - ctx.check_cfg(package = pkg, uselib_store = uselib, atleast_version=atleast, -- args = '--cflags --libs', mandatory = mandatory) -+ args = '--cflags --libs', mandatory = True) - - - # Prepend CXX flags so that they can be overriden by the --- -2.4.6 - diff --git a/meta-arago-extras/recipes-benchmark/glmark2/glmark2_git.bb b/meta-arago-extras/recipes-benchmark/glmark2/glmark2_git.bb deleted file mode 100644 index 85d7bf16..00000000 --- a/meta-arago-extras/recipes-benchmark/glmark2/glmark2_git.bb +++ /dev/null @@ -1,60 +0,0 @@ -SUMMARY = "OpenGL (ES) 2.0 benchmark" -DESCRIPTION = "glmark2 is a benchmark for OpenGL (ES) 2.0. \ -It uses only the subset of the OpenGL 2.0 API that is compatible with OpenGL ES 2.0." -HOMEPAGE = "https://launchpad.net/glmark2" -BUGTRACKER = "https://bugs.launchpad.net/glmark2" - -LICENSE = "GPLv3+ & SGIv1" -LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ - file://COPYING.SGI;beginline=5;md5=269cdab4af6748677acce51d9aa13552" - -DEPENDS = "libpng jpeg" - -PV = "2014.03+${SRCPV}" - -COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '.*-linux*', 'null', d)}" - -SRC_URI = "git://github.com/glmark2/glmark2.git;protocol=https \ - file://build-Check-packages-to-be-used-by-the-enabled-flavo.patch \ - file://0001-Fix-wl_surface-should-be-destoryed-after-the-wl_wind.patch \ - file://Fix-configure-for-sqrt-check.patch \ -" -SRCREV = "9b1070fe9c5cf908f323909d3c8cbed08022abe8" - -S = "${WORKDIR}/git" - -inherit waf pkgconfig - -PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11-gl x11-gles2', '', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'wayland-gl wayland-gles2', '', d)} \ - drm-gl drm-gles2" - -# Enable C++11 features -CXXFLAGS += "-std=c++11" - -PACKAGECONFIG[x11-gl] = ",,virtual/libgl virtual/libx11" -PACKAGECONFIG[x11-gles2] = ",,virtual/libgles2 virtual/libx11" -PACKAGECONFIG[drm-gl] = ",,virtual/libgl libdrm" -PACKAGECONFIG[drm-gles2] = ",,virtual/libgles2 libdrm" -PACKAGECONFIG[wayland-gl] = ",,virtual/libgl wayland" -PACKAGECONFIG[wayland-gles2] = ",,virtual/libgles2 wayland" - -python __anonymous() { - packageconfig = (d.getVar("PACKAGECONFIG") or "").split() - flavors = [] - if "x11-gles2" in packageconfig: - flavors.append("x11-glesv2") - if "x11-gl" in packageconfig: - flavors.append("x11-gl") - if "wayland-gles2" in packageconfig: - flavors.append("wayland-glesv2") - if "wayland-gl" in packageconfig: - flavors.append("wayland-gl") - if "drm-gles2" in packageconfig: - flavors.append("drm-glesv2") - if "drm-gl" in packageconfig: - flavors.append("drm-gl") - if flavors: - d.appendVar("EXTRA_OECONF", " --with-flavors=%s" % ",".join(flavors)) -} - -- 2.17.1