Title: [237787] trunk/Source/WebCore
Revision
237787
Author
[email protected]
Date
2018-11-04 18:15:48 -0800 (Sun, 04 Nov 2018)

Log Message

Remove ENABLE_OPENCL fully
https://bugs.webkit.org/show_bug.cgi?id=191172

Patch by Rob Buis <[email protected]> on 2018-11-04
Reviewed by Yusuke Suzuki.

Forgot to simplify this, no need for applyAll anymore
since it just calls apply.

No new tests since no change in functionality.

* platform/graphics/filters/FilterEffect.h:
(WebCore::FilterEffect::applyAll): Deleted.
* rendering/svg/RenderSVGResourceFilter.cpp:
(WebCore::RenderSVGResourceFilter::postApplyResource):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (237786 => 237787)


--- trunk/Source/WebCore/ChangeLog	2018-11-04 21:19:44 UTC (rev 237786)
+++ trunk/Source/WebCore/ChangeLog	2018-11-05 02:15:48 UTC (rev 237787)
@@ -1,3 +1,20 @@
+2018-11-04  Rob Buis  <[email protected]>
+
+        Remove ENABLE_OPENCL fully
+        https://bugs.webkit.org/show_bug.cgi?id=191172
+
+        Reviewed by Yusuke Suzuki.
+
+        Forgot to simplify this, no need for applyAll anymore
+        since it just calls apply.
+
+        No new tests since no change in functionality.
+
+        * platform/graphics/filters/FilterEffect.h:
+        (WebCore::FilterEffect::applyAll): Deleted.
+        * rendering/svg/RenderSVGResourceFilter.cpp:
+        (WebCore::RenderSVGResourceFilter::postApplyResource):
+
 2018-11-04  Zalan Bujtas  <[email protected]>
 
         [iOS] Issue initial paint soon after the visuallyNonEmpty milestone is fired.

Modified: trunk/Source/WebCore/platform/graphics/filters/FilterEffect.h (237786 => 237787)


--- trunk/Source/WebCore/platform/graphics/filters/FilterEffect.h	2018-11-04 21:19:44 UTC (rev 237786)
+++ trunk/Source/WebCore/platform/graphics/filters/FilterEffect.h	2018-11-05 02:15:48 UTC (rev 237787)
@@ -93,7 +93,6 @@
     void setMaxEffectRect(const FloatRect& maxEffectRect) { m_maxEffectRect = maxEffectRect; } 
 
     void apply();
-    inline void applyAll() { apply(); }
 
     // Correct any invalid pixels, if necessary, in the result of a filter operation.
     // This method is used to ensure valid pixel values on filter inputs and the final result.

Modified: trunk/Source/WebCore/rendering/svg/RenderSVGResourceFilter.cpp (237786 => 237787)


--- trunk/Source/WebCore/rendering/svg/RenderSVGResourceFilter.cpp	2018-11-04 21:19:44 UTC (rev 237786)
+++ trunk/Source/WebCore/rendering/svg/RenderSVGResourceFilter.cpp	2018-11-05 02:15:48 UTC (rev 237787)
@@ -268,7 +268,7 @@
         // Always true if filterData is just built (filterData->state == FilterData::Built).
         if (!lastEffect->hasResult()) {
             filterData.state = FilterData::Applying;
-            lastEffect->applyAll();
+            lastEffect->apply();
             lastEffect->correctFilterResultIfNeeded();
             lastEffect->transformResultColorSpace(ColorSpaceSRGB);
         }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to