summaryrefslogtreecommitdiffstats
path: root/package/webkitgtk/0001-ARM-Building-FELightingNEON.cpp-fails-due-to-missing.patch
blob: 6fb309d9fb078837d8c770fc99de15e77f1cd087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From b252c7aed3fa6f22db8a26c3ab0bfe66e3490eef Mon Sep 17 00:00:00 2001
From: Adrian Perez de Castro <aperez@igalia.com>
Date: Sun, 23 Sep 2018 02:34:26 +0300
Subject: [PATCH xserver] [ARM] Building FELightingNEON.cpp fails due to
 missing lightVector member https://bugs.webkit.org/show_bug.cgi?id=189890

Reviewed by NOBODY (OOPS!).

No new tests needed.

* platform/graphics/cpu/arm/filters/FELightingNEON.h:
(WebCore::FELighting::platformApplyNeon): Adapt to new layout of "struct PaintingData" after r225122.
---
 Source/WebCore/ChangeLog                             | 12 ++++++++++++
 .../graphics/cpu/arm/filters/FELightingNEON.h        |  6 +++---
 2 files changed, 15 insertions(+), 3 deletions(-)

Fetch from: https://bugs.webkit.org/show_bug.cgi?id=189890
Upstream-Status: Pending
Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>

diff --git a/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h b/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
index 42af922374b..b542a4c81aa 100644
--- a/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
+++ b/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
@@ -144,9 +144,9 @@ inline void FELighting::platformApplyNeon(const LightingData& data, const LightS
             neonData.flags |= FLAG_CONE_EXPONENT_IS_1;
     } else {
         ASSERT(m_lightSource->type() == LS_DISTANT);
-        floatArguments.lightX = paintingData.lightVector.x();
-        floatArguments.lightY = paintingData.lightVector.y();
-        floatArguments.lightZ = paintingData.lightVector.z();
+        floatArguments.lightX = paintingData.initialLightingData.lightVector.x();
+        floatArguments.lightY = paintingData.initialLightingData.lightVector.y();
+        floatArguments.lightZ = paintingData.initialLightingData.lightVector.z();
         floatArguments.padding2 = 1;
     }
 
-- 
2.19.0

OpenPOWER on IntegriCloud