0001-ARM-Building-FELightingNEON.cpp-fails-due-to-missing.patch 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. From b252c7aed3fa6f22db8a26c3ab0bfe66e3490eef Mon Sep 17 00:00:00 2001
  2. From: Adrian Perez de Castro <aperez@igalia.com>
  3. Date: Sun, 23 Sep 2018 02:34:26 +0300
  4. Subject: [PATCH xserver] [ARM] Building FELightingNEON.cpp fails due to
  5. missing lightVector member https://bugs.webkit.org/show_bug.cgi?id=189890
  6. Reviewed by NOBODY (OOPS!).
  7. No new tests needed.
  8. * platform/graphics/cpu/arm/filters/FELightingNEON.h:
  9. (WebCore::FELighting::platformApplyNeon): Adapt to new layout of "struct PaintingData" after r225122.
  10. ---
  11. Source/WebCore/ChangeLog | 12 ++++++++++++
  12. .../graphics/cpu/arm/filters/FELightingNEON.h | 6 +++---
  13. 2 files changed, 15 insertions(+), 3 deletions(-)
  14. Fetch from: https://bugs.webkit.org/show_bug.cgi?id=189890
  15. Upstream-Status: Pending
  16. Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
  17. diff --git a/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h b/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
  18. index 42af922374b..b542a4c81aa 100644
  19. --- a/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
  20. +++ b/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
  21. @@ -144,9 +144,9 @@ inline void FELighting::platformApplyNeon(const LightingData& data, const LightS
  22. neonData.flags |= FLAG_CONE_EXPONENT_IS_1;
  23. } else {
  24. ASSERT(m_lightSource->type() == LS_DISTANT);
  25. - floatArguments.lightX = paintingData.lightVector.x();
  26. - floatArguments.lightY = paintingData.lightVector.y();
  27. - floatArguments.lightZ = paintingData.lightVector.z();
  28. + floatArguments.lightX = paintingData.initialLightingData.lightVector.x();
  29. + floatArguments.lightY = paintingData.initialLightingData.lightVector.y();
  30. + floatArguments.lightZ = paintingData.initialLightingData.lightVector.z();
  31. floatArguments.padding2 = 1;
  32. }
  33. --
  34. 2.19.0