Patchwork [meta-oe,4/7] glcompbench: Create 2012.08 version

login
register
mail settings
Submitter Lauren Post
Date March 7, 2014, 9:26 p.m.
Message ID <1394227575-27897-4-git-send-email-lauren.post@freescale.com>
Download mbox | patch
Permalink /patch/68279/
State Accepted, archived
Headers show

Comments

Lauren Post - March 7, 2014, 9:26 p.m.
glcompbench is a benchmark tool for GL(ES)2 based
compositing operations

Signed-off-by: Lauren Post <lauren.post@freescale.com>
---
 .../glcompbench/glbench-compile-fix.patch          |   35 ++++++++++++++++++++
 .../glcompbench/glcompbench_2012.08.bb             |   14 ++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/glcompbench/glcompbench/glbench-compile-fix.patch
 create mode 100644 meta-oe/recipes-graphics/glcompbench/glcompbench_2012.08.bb
Martin Jansa - March 11, 2014, 3:51 p.m.
On Fri, Mar 07, 2014 at 03:26:12PM -0600, Lauren Post wrote:
> glcompbench is a benchmark tool for GL(ES)2 based
> compositing operations
> 
> Signed-off-by: Lauren Post <lauren.post@freescale.com>
> ---
>  .../glcompbench/glbench-compile-fix.patch          |   35 ++++++++++++++++++++
>  .../glcompbench/glcompbench_2012.08.bb             |   14 ++++++++
>  2 files changed, 49 insertions(+)
>  create mode 100644 meta-oe/recipes-graphics/glcompbench/glcompbench/glbench-compile-fix.patch
>  create mode 100644 meta-oe/recipes-graphics/glcompbench/glcompbench_2012.08.bb
> 
> diff --git a/meta-oe/recipes-graphics/glcompbench/glcompbench/glbench-compile-fix.patch b/meta-oe/recipes-graphics/glcompbench/glcompbench/glbench-compile-fix.patch
> new file mode 100644
> index 0000000..374a6cf
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/glcompbench/glcompbench/glbench-compile-fix.patch
> @@ -0,0 +1,35 @@
> +From c4bc44c3abf69f26e4c2b7684f4da4670a51f993 Mon Sep 17 00:00:00 2001
> +From: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
> +Date: Tue, 5 Nov 2013 11:03:04 -0600
> +Subject: [PATCH] to make compilable
> +
> +Upstream Status: Inappropriate [workaround]
> +
> +Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
> +---
> + src/composite-test-simple-blur.cc | 2 ++
> + 1 file changed, 2 insertions(+)
> +
> +diff --git a/src/composite-test-simple-blur.cc b/src/composite-test-simple-blur.cc
> +index 170ad64..d7f77cf 100644
> +--- a/src/composite-test-simple-blur.cc
> ++++ b/src/composite-test-simple-blur.cc
> +@@ -347,6 +347,7 @@ CompositeTestSimpleBlur::CompositeTestSimpleBlur() :
> + 
> + CompositeTestSimpleBlur::~CompositeTestSimpleBlur()
> + {
> ++#if 0
> +     for (BlurWindowMapType::iterator winIt = priv_->windowMap.begin();
> +          winIt != priv_->windowMap.end();
> +          winIt++)
> +@@ -354,6 +355,7 @@ CompositeTestSimpleBlur::~CompositeTestSimpleBlur()
> +         RenderWindowBlur* ro = winIt->second;
> +         delete ro;
> +     }
> ++#endif
> +     delete priv_;
> + }
> + 
> +-- 
> +1.8.1.2
> +
> diff --git a/meta-oe/recipes-graphics/glcompbench/glcompbench_2012.08.bb b/meta-oe/recipes-graphics/glcompbench/glcompbench_2012.08.bb
> new file mode 100644
> index 0000000..1adcc02
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/glcompbench/glcompbench_2012.08.bb
> @@ -0,0 +1,14 @@
> +SUMMARY = "GL Compositing Benchmark"
> +DESCRIPTION = "A benchmark for GL(ES)2 based compositing operations"
> +LICENSE = "GPLv3"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
> +
> +DEPENDS += "virtual/egl virtual/libgl virtual/libgal-x11 virtual/egl virtual/libgles1 virtual/libgles2 "

ERROR: Nothing PROVIDES 'virtual/libgal-x11' (but /home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe/recipes-graphics/glcompbench/glcompbench_2012.08.bb DEPENDS on or otherwise requires it). Close matches:
  virtual/libx11
  virtual/libgl
  virtual/libgles1
ERROR: Nothing RPROVIDES 'glcompbench' (but /home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe/recipes-graphics/glcompbench/glcompbench_2012.08.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'glcompbench'
NOTE: Runtime target 'glcompbench' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['glcompbench']
ERROR: Nothing RPROVIDES 'glcompbench-dev' (but /home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe/recipes-graphics/glcompbench/glcompbench_2012.08.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'glcompbench-dev'
NOTE: Runtime target 'glcompbench-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['glcompbench-dev']

> +
> +inherit pkgconfig waf
> +
> +SRC_URI = "https://launchpad.net/glcompbench/trunk/2012.08/+download/glcompbench-2012.08.tar.gz \
> +           file://glbench-compile-fix.patch"
> +
> +SRC_URI[md5sum] = "c939d9156fe940960098f38707fea827"
> +SRC_URI[sha256sum] = "b04b738cec06c6786ceafa86e4735fd8b971c078265754854ef356b0379542ee"
> -- 
> 1.7.9.5
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-graphics/glcompbench/glcompbench/glbench-compile-fix.patch b/meta-oe/recipes-graphics/glcompbench/glcompbench/glbench-compile-fix.patch
new file mode 100644
index 0000000..374a6cf
--- /dev/null
+++ b/meta-oe/recipes-graphics/glcompbench/glcompbench/glbench-compile-fix.patch
@@ -0,0 +1,35 @@ 
+From c4bc44c3abf69f26e4c2b7684f4da4670a51f993 Mon Sep 17 00:00:00 2001
+From: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
+Date: Tue, 5 Nov 2013 11:03:04 -0600
+Subject: [PATCH] to make compilable
+
+Upstream Status: Inappropriate [workaround]
+
+Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
+---
+ src/composite-test-simple-blur.cc | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/composite-test-simple-blur.cc b/src/composite-test-simple-blur.cc
+index 170ad64..d7f77cf 100644
+--- a/src/composite-test-simple-blur.cc
++++ b/src/composite-test-simple-blur.cc
+@@ -347,6 +347,7 @@ CompositeTestSimpleBlur::CompositeTestSimpleBlur() :
+ 
+ CompositeTestSimpleBlur::~CompositeTestSimpleBlur()
+ {
++#if 0
+     for (BlurWindowMapType::iterator winIt = priv_->windowMap.begin();
+          winIt != priv_->windowMap.end();
+          winIt++)
+@@ -354,6 +355,7 @@ CompositeTestSimpleBlur::~CompositeTestSimpleBlur()
+         RenderWindowBlur* ro = winIt->second;
+         delete ro;
+     }
++#endif
+     delete priv_;
+ }
+ 
+-- 
+1.8.1.2
+
diff --git a/meta-oe/recipes-graphics/glcompbench/glcompbench_2012.08.bb b/meta-oe/recipes-graphics/glcompbench/glcompbench_2012.08.bb
new file mode 100644
index 0000000..1adcc02
--- /dev/null
+++ b/meta-oe/recipes-graphics/glcompbench/glcompbench_2012.08.bb
@@ -0,0 +1,14 @@ 
+SUMMARY = "GL Compositing Benchmark"
+DESCRIPTION = "A benchmark for GL(ES)2 based compositing operations"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
+
+DEPENDS += "virtual/egl virtual/libgl virtual/libgal-x11 virtual/egl virtual/libgles1 virtual/libgles2 "
+
+inherit pkgconfig waf
+
+SRC_URI = "https://launchpad.net/glcompbench/trunk/2012.08/+download/glcompbench-2012.08.tar.gz \
+           file://glbench-compile-fix.patch"
+
+SRC_URI[md5sum] = "c939d9156fe940960098f38707fea827"
+SRC_URI[sha256sum] = "b04b738cec06c6786ceafa86e4735fd8b971c078265754854ef356b0379542ee"