Skip to content
Permalink
Browse files
2010-10-20 Dirk Schulze <krit@webkit.org>
        Reviewed by Andreas Kling.

        Remove left over code after moving Cairo port to ShadowContext
        https://bugs.webkit.org/show_bug.cgi?id=47929

        ImageBufferFilter is not needed anymore, since Cairo is using ShadowContext now.
        Made kernelPosition() in FEGaussianBlur a inline function instead of a static function.

        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * platform/graphics/filters/FEGaussianBlur.cpp:
        (WebCore::kernelPosition):
        * platform/graphics/filters/FEGaussianBlur.h:
        * platform/graphics/filters/ImageBufferFilter.cpp: Removed.
        * platform/graphics/filters/ImageBufferFilter.h: Removed.


Canonical link: https://commits.webkit.org/60696@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@70140 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
dirkschulze committed Oct 20, 2010
1 parent e0f60e3 commit 3efa54b61621439579eb294e50ed7f7102baae21
Showing 9 changed files with 21 additions and 118 deletions.
@@ -1317,7 +1317,6 @@ SET(WebCore_SOURCES
platform/graphics/filters/FETile.cpp
platform/graphics/filters/FETurbulence.cpp
platform/graphics/filters/FilterEffect.cpp
platform/graphics/filters/ImageBufferFilter.cpp
platform/graphics/filters/LightSource.cpp
platform/graphics/filters/SourceAlpha.cpp
platform/graphics/filters/SourceGraphic.cpp
@@ -1,3 +1,23 @@
2010-10-20 Dirk Schulze <krit@webkit.org>

Reviewed by Andreas Kling.

Remove left over code after moving Cairo port to ShadowContext
https://bugs.webkit.org/show_bug.cgi?id=47929

ImageBufferFilter is not needed anymore, since Cairo is using ShadowContext now.
Made kernelPosition() in FEGaussianBlur a inline function instead of a static function.

* CMakeLists.txt:
* GNUmakefile.am:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* platform/graphics/filters/FEGaussianBlur.cpp:
(WebCore::kernelPosition):
* platform/graphics/filters/FEGaussianBlur.h:
* platform/graphics/filters/ImageBufferFilter.cpp: Removed.
* platform/graphics/filters/ImageBufferFilter.h: Removed.

2010-10-20 Nikolas Zimmermann <nzimmermann@rim.com>

Not reviewed.
@@ -2225,8 +2225,6 @@ webcore_sources += \
WebCore/platform/graphics/filters/FilterEffect.cpp \
WebCore/platform/graphics/filters/FilterEffect.h \
WebCore/platform/graphics/filters/Filter.h \
WebCore/platform/graphics/filters/ImageBufferFilter.cpp \
WebCore/platform/graphics/filters/ImageBufferFilter.h \
WebCore/platform/graphics/filters/LightSource.cpp \
WebCore/platform/graphics/filters/LightSource.h \
WebCore/platform/graphics/filters/PointLightSource.h \
@@ -2496,8 +2496,6 @@
'platform/graphics/filters/Filter.h',
'platform/graphics/filters/FilterEffect.cpp',
'platform/graphics/filters/FilterEffect.h',
'platform/graphics/filters/ImageBufferFilter.cpp',
'platform/graphics/filters/ImageBufferFilter.h',
'platform/graphics/filters/SourceAlpha.cpp',
'platform/graphics/filters/SourceAlpha.h',
'platform/graphics/filters/SourceGraphic.cpp',
@@ -27424,14 +27424,6 @@
RelativePath="..\platform\graphics\filters\FilterEffect.h"
>
</File>
<File
RelativePath="..\platform\graphics\filters\ImageBufferFilter.cpp"
>
</File>
<File
RelativePath="..\platform\graphics\filters\ImageBufferFilter.h"
>
</File>
<File
RelativePath="..\platform\graphics\filters\LightSource.cpp"
>
@@ -99,7 +99,7 @@ static void boxBlur(CanvasPixelArray*& srcPixelArray, CanvasPixelArray*& dstPixe
}
}

void FEGaussianBlur::kernelPosition(int boxBlur, unsigned& std, int& dLeft, int& dRight)
inline void kernelPosition(int boxBlur, unsigned& std, int& dLeft, int& dRight)
{
// check http://www.w3.org/TR/SVG/filters.html#feGaussianBlurElement for details
switch (boxBlur) {
@@ -49,7 +49,6 @@ class FEGaussianBlur : public FilterEffect {

private:
FEGaussianBlur(float, float);
static void kernelPosition(int boxBlur, unsigned& std, int& dLeft, int& dRight);

float m_stdX;
float m_stdY;

This file was deleted.

This file was deleted.

0 comments on commit 3efa54b

Please sign in to comment.