summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/webkit/webkitgtk
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2018-07-26 10:39:47 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-30 12:44:35 +0100
commita5f2b5c4c39bea0673fe14dbec9d3e7537bef4b9 (patch)
tree0d725a1310bf16fbccf375eb3cb9b45711409524 /meta/recipes-sato/webkit/webkitgtk
parentce31c498f8fd6332ba81fb60c6406ea1cd7bc4d6 (diff)
downloadpoky-a5f2b5c4c39bea0673fe14dbec9d3e7537bef4b9.tar.gz
webkitgtk: fix compile failure on beaglebone
Since the following patch applied in upstream webkitgtk ... commit 1a55d8c685b3e5b4dbeda202009e7527aa59eadd Author: simon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> Date: Thu Nov 23 22:20:09 2017 +0000 FELighting cleanup and optimization https://bugs.webkit.org/show_bug.cgi?id=179933 ... It missed to tweak `paintingData.lightVector' which caused PaintingData' has no member named 'lightVector' on ARM_NEON (beaglebone) (From OE-Core rev: 39b75d73aa5fce178c1577b0a5dfb8a694eff31d) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato/webkit/webkitgtk')
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/0001-Fix-PaintingData-has-no-member-named-lightVector-on-.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-Fix-PaintingData-has-no-member-named-lightVector-on-.patch b/meta/recipes-sato/webkit/webkitgtk/0001-Fix-PaintingData-has-no-member-named-lightVector-on-.patch
new file mode 100644
index 0000000000..25f4846592
--- /dev/null
+++ b/meta/recipes-sato/webkit/webkitgtk/0001-Fix-PaintingData-has-no-member-named-lightVector-on-.patch
@@ -0,0 +1,37 @@
1From a5d4e038268ae23486fecc1966fd2e16a7f40ce8 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Wed, 25 Jul 2018 00:23:48 -0700
4Subject: [PATCH] Fix PaintingData' has no member named 'lightVector' on
5 ARM_NEON
6
7* platform/graphics/cpu/arm/filters/FELightingNEON.h:
8(WebCore::FELighting::platformApplyNeon):
9
10Upstream-Status: Submitted
11https://bugs.webkit.org/show_bug.cgi?id=187991
12
13Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
14---
15 Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h | 6 +++---
16 1 file changed, 3 insertions(+), 3 deletions(-)
17
18diff --git a/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h b/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
19index 42af922..b542a4c 100644
20--- a/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
21+++ b/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
22@@ -144,9 +144,9 @@ inline void FELighting::platformApplyNeon(const LightingData& data, const LightS
23 neonData.flags |= FLAG_CONE_EXPONENT_IS_1;
24 } else {
25 ASSERT(m_lightSource->type() == LS_DISTANT);
26- floatArguments.lightX = paintingData.lightVector.x();
27- floatArguments.lightY = paintingData.lightVector.y();
28- floatArguments.lightZ = paintingData.lightVector.z();
29+ floatArguments.lightX = paintingData.initialLightingData.lightVector.x();
30+ floatArguments.lightY = paintingData.initialLightingData.lightVector.y();
31+ floatArguments.lightZ = paintingData.initialLightingData.lightVector.z();
32 floatArguments.padding2 = 1;
33 }
34
35--
362.10.2
37