diff options
| author | Ross Burton <ross.burton@intel.com> | 2013-11-07 11:55:31 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-08 17:31:34 +0000 |
| commit | ae03f3161f5b3dbaa35935e09e7dab848de0ba66 (patch) | |
| tree | 50b1f373a8acca51ad55f2c9d06ae110c12c622d | |
| parent | 7c3986e410d4688fb63c1e59d55134883384316e (diff) | |
| download | poky-ae03f3161f5b3dbaa35935e09e7dab848de0ba66.tar.gz | |
cogl: upgrade to 1.16.0
Drop two patches that were backported from upstream.
(From OE-Core rev: 598918602cbd65c6d54a6257cd0952c958a93046)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 files changed, 6 insertions, 63 deletions
diff --git a/meta/recipes-graphics/cogl/cogl-1.0.inc b/meta/recipes-graphics/cogl/cogl-1.0.inc index 0c4e86da33..c1e124a932 100644 --- a/meta/recipes-graphics/cogl/cogl-1.0.inc +++ b/meta/recipes-graphics/cogl/cogl-1.0.inc | |||
| @@ -2,10 +2,6 @@ DESCRIPTION = "a modern 3D graphics API with associated utility APIs" | |||
| 2 | HOMEPAGE = "http://wiki.clutter-project.org/wiki/Cogl" | 2 | HOMEPAGE = "http://wiki.clutter-project.org/wiki/Cogl" |
| 3 | LICENSE = "LGPLv2.1+" | 3 | LICENSE = "LGPLv2.1+" |
| 4 | 4 | ||
| 5 | SRC_URI += "file://cogl_fixed_mul-constraint.patch \ | ||
| 6 | file://cogl-fixed-thumb.patch \ | ||
| 7 | " | ||
| 8 | |||
| 9 | inherit clutter | 5 | inherit clutter |
| 10 | 6 | ||
| 11 | DEPENDS = "glib-2.0 gdk-pixbuf" | 7 | DEPENDS = "glib-2.0 gdk-pixbuf" |
diff --git a/meta/recipes-graphics/cogl/cogl-1.0_1.14.0.bb b/meta/recipes-graphics/cogl/cogl-1.0_1.14.0.bb deleted file mode 100644 index 0f40c595ac..0000000000 --- a/meta/recipes-graphics/cogl/cogl-1.0_1.14.0.bb +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | |||
| 2 | require cogl-1.0.inc | ||
| 3 | |||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
| 5 | |||
| 6 | SRC_URI[archive.md5sum] = "7eabaf4241c0b87cc9e3b0fa23fd0315" | ||
| 7 | SRC_URI[archive.sha256sum] = "276e8c9f5ff0fcd57c1eaf74cc245f41ad469a95a18ac831fac2d5960baa5ae8" | ||
diff --git a/meta/recipes-graphics/cogl/cogl-1.0_1.16.0.bb b/meta/recipes-graphics/cogl/cogl-1.0_1.16.0.bb new file mode 100644 index 0000000000..5e5c82b501 --- /dev/null +++ b/meta/recipes-graphics/cogl/cogl-1.0_1.16.0.bb | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | require cogl-1.0.inc | ||
| 2 | |||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
| 4 | |||
| 5 | SRC_URI[archive.md5sum] = "611a61bed04354cbfffa3dc27feb6d4f" | ||
| 6 | SRC_URI[archive.sha256sum] = "75c2c4636a050fda7ee8722ce3d9c618b08799ed92bbb72b4fdff3e73b096094" | ||
diff --git a/meta/recipes-graphics/cogl/files/cogl-fixed-thumb.patch b/meta/recipes-graphics/cogl/files/cogl-fixed-thumb.patch deleted file mode 100644 index 1825e88f1d..0000000000 --- a/meta/recipes-graphics/cogl/files/cogl-fixed-thumb.patch +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | Upstream-Status: Backport | ||
| 2 | |||
| 3 | There are two asm() statements in cogl-fixed.c that can't be assembled | ||
| 4 | in Thumb mode. Add a patch to switch to the generic code in Thumb mode. | ||
| 5 | |||
| 6 | Signed-off-by: Donn Seeley <donn.seeley@windriver.com> | ||
| 7 | --- | ||
| 8 | cogl/cogl-fixed.c | 4 ++-- | ||
| 9 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 10 | |||
| 11 | --- a/cogl/cogl-fixed.c | ||
| 12 | +++ b/cogl/cogl-fixed.c | ||
| 13 | @@ -626,7 +626,7 @@ cogl_fixed_sqrt (CoglFixed x) | ||
| 14 | /* | ||
| 15 | * Find the highest bit set | ||
| 16 | */ | ||
| 17 | -#if defined (__arm__) && !defined(__ARM_ARCH_4T__) | ||
| 18 | +#if defined (__arm__) && !defined(__ARM_ARCH_4T__) && !defined(__thumb__) | ||
| 19 | /* This actually requires at least arm v5, but gcc does not seem | ||
| 20 | * to set the architecture defines correctly, and it is I think | ||
| 21 | * very unlikely that anyone will want to use clutter on anything | ||
| 22 | @@ -804,7 +804,7 @@ CoglFixed | ||
| 23 | cogl_fixed_mul (CoglFixed a, | ||
| 24 | CoglFixed b) | ||
| 25 | { | ||
| 26 | -#ifdef __arm__ | ||
| 27 | +#if defined(__arm__) && !defined(__thumb__) | ||
| 28 | /* This provides about 12% speedeup on the gcc -O2 optimised | ||
| 29 | * C version | ||
| 30 | * | ||
diff --git a/meta/recipes-graphics/cogl/files/cogl_fixed_mul-constraint.patch b/meta/recipes-graphics/cogl/files/cogl_fixed_mul-constraint.patch deleted file mode 100644 index 179533ae80..0000000000 --- a/meta/recipes-graphics/cogl/files/cogl_fixed_mul-constraint.patch +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | Upstream-Status: Backport | ||
| 2 | |||
| 3 | Add register constraints to prevent asm statement complaints like: | ||
| 4 | |||
| 5 | {standard input}:382: rdhi, rdlo and rm must all be different | ||
| 6 | |||
| 7 | Signed-off-by: Donn Seeley <donn.seeley@windriver.com> | ||
| 8 | --- | ||
| 9 | cogl/cogl-fixed.c | 2 +- | ||
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 11 | |||
| 12 | --- a/cogl/cogl-fixed.c | ||
| 13 | +++ b/cogl/cogl-fixed.c | ||
| 14 | @@ -816,7 +816,7 @@ cogl_fixed_mul (CoglFixed a, | ||
| 15 | __asm__ ("smull %0, %1, %2, %3 \n" | ||
| 16 | "mov %0, %0, lsr %4 \n" | ||
| 17 | "add %1, %0, %1, lsl %5 \n" | ||
| 18 | - : "=r"(res_hi), "=r"(res_low) \ | ||
| 19 | + : "=&r"(res_hi), "=&r"(res_low) \ | ||
| 20 | : "r"(a), "r"(b), "i"(COGL_FIXED_Q), "i"(32 - COGL_FIXED_Q)); | ||
| 21 | |||
| 22 | return (CoglFixed) res_low; | ||
