Changeset 84522 in webkit
- Timestamp:
- Apr 21, 2011 10:56:28 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 69 added
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r84521 r84522 1 2011-04-21 Dirk Schulze <krit@webkit.org> 2 3 Reviewed by Nikolas Zimmermann. 4 5 SVG feDropShadow implementation of SVG Filters 1.2 6 https://bugs.webkit.org/show_bug.cgi?id=52513 7 8 Added dynamic update tests for FEDropShadow as well as a basic pixel test. 9 10 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-dom-dx-attr-expected.checksum: Added. 11 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-dom-dx-attr-expected.png: Added. 12 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-dom-dy-attr-expected.checksum: Added. 13 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-dom-dy-attr-expected.png: Added. 14 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-dom-in-attr-expected.checksum: Added. 15 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-dom-in-attr-expected.png: Added. 16 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-dom-shadow-color-attr-expected.checksum: Added. 17 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-dom-shadow-color-attr-expected.png: Added. 18 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-dom-shadow-opacity-attr-expected.checksum: Added. 19 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-dom-shadow-opacity-attr-expected.png: Added. 20 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-dom-stdDeviation-attr-expected.checksum: Added. 21 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-dom-stdDeviation-attr-expected.png: Added. 22 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-dx-prop-expected.checksum: Added. 23 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-dx-prop-expected.png: Added. 24 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-dy-prop-expected.checksum: Added. 25 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-dy-prop-expected.png: Added. 26 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-in-prop-expected.checksum: Added. 27 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-in-prop-expected.png: Added. 28 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-shadow-color-prop-expected.checksum: Added. 29 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-shadow-color-prop-expected.png: Added. 30 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-shadow-opacity-prop-expected.checksum: Added. 31 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-shadow-opacity-prop-expected.png: Added. 32 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-stdDeviation-prop-expected.checksum: Added. 33 * platform/mac/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-stdDeviation-prop-expected.png: Added. 34 * platform/mac/svg/filters/feDropShadow-expected.checksum: Added. 35 * platform/mac/svg/filters/feDropShadow-expected.png: Added. 36 * platform/mac/svg/filters/feDropShadow-expected.txt: Added. 37 * svg/dynamic-updates/SVGFEDropShadowElement-dom-dx-attr-expected.txt: Added. 38 * svg/dynamic-updates/SVGFEDropShadowElement-dom-dx-attr.html: Added. 39 * svg/dynamic-updates/SVGFEDropShadowElement-dom-dy-attr-expected.txt: Added. 40 * svg/dynamic-updates/SVGFEDropShadowElement-dom-dy-attr.html: Added. 41 * svg/dynamic-updates/SVGFEDropShadowElement-dom-in-attr-expected.txt: Added. 42 * svg/dynamic-updates/SVGFEDropShadowElement-dom-in-attr.html: Added. 43 * svg/dynamic-updates/SVGFEDropShadowElement-dom-shadow-color-attr-expected.txt: Added. 44 * svg/dynamic-updates/SVGFEDropShadowElement-dom-shadow-color-attr.html: Added. 45 * svg/dynamic-updates/SVGFEDropShadowElement-dom-shadow-opacity-attr-expected.txt: Added. 46 * svg/dynamic-updates/SVGFEDropShadowElement-dom-shadow-opacity-attr.html: Added. 47 * svg/dynamic-updates/SVGFEDropShadowElement-dom-stdDeviation-attr-expected.txt: Added. 48 * svg/dynamic-updates/SVGFEDropShadowElement-dom-stdDeviation-attr.html: Added. 49 * svg/dynamic-updates/SVGFEDropShadowElement-svgdom-dx-prop-expected.txt: Added. 50 * svg/dynamic-updates/SVGFEDropShadowElement-svgdom-dx-prop.html: Added. 51 * svg/dynamic-updates/SVGFEDropShadowElement-svgdom-dy-prop-expected.txt: Added. 52 * svg/dynamic-updates/SVGFEDropShadowElement-svgdom-dy-prop.html: Added. 53 * svg/dynamic-updates/SVGFEDropShadowElement-svgdom-in-prop-expected.txt: Added. 54 * svg/dynamic-updates/SVGFEDropShadowElement-svgdom-in-prop.html: Added. 55 * svg/dynamic-updates/SVGFEDropShadowElement-svgdom-shadow-color-prop-expected.txt: Added. 56 * svg/dynamic-updates/SVGFEDropShadowElement-svgdom-shadow-color-prop.html: Added. 57 * svg/dynamic-updates/SVGFEDropShadowElement-svgdom-shadow-opacity-prop-expected.txt: Added. 58 * svg/dynamic-updates/SVGFEDropShadowElement-svgdom-shadow-opacity-prop.html: Added. 59 * svg/dynamic-updates/SVGFEDropShadowElement-svgdom-stdDeviation-prop-expected.txt: Added. 60 * svg/dynamic-updates/SVGFEDropShadowElement-svgdom-stdDeviation-prop.html: Added. 61 * svg/dynamic-updates/SVGFETurbulenceElement-svgdom-numOctaves-prop.html: 62 * svg/dynamic-updates/SVGFETurbulenceElement-svgdom-seed-prop.html: 63 * svg/dynamic-updates/SVGFETurbulenceElement-svgdom-stitchTiles-prop.html: 64 * svg/dynamic-updates/SVGFETurbulenceElement-svgdom-type-prop.html: 65 * svg/dynamic-updates/script-tests/SVGFEDropShadowElement-dom-dx-attr.js: Added. 66 (executeTest): 67 * svg/dynamic-updates/script-tests/SVGFEDropShadowElement-dom-dy-attr.js: Added. 68 (executeTest): 69 * svg/dynamic-updates/script-tests/SVGFEDropShadowElement-dom-in-attr.js: Added. 70 (executeTest): 71 * svg/dynamic-updates/script-tests/SVGFEDropShadowElement-dom-shadow-color-attr.js: Added. 72 (executeTest): 73 * svg/dynamic-updates/script-tests/SVGFEDropShadowElement-dom-shadow-opacity-attr.js: Added. 74 (executeTest): 75 * svg/dynamic-updates/script-tests/SVGFEDropShadowElement-dom-stdDeviation-attr.js: Added. 76 (executeTest): 77 * svg/dynamic-updates/script-tests/SVGFEDropShadowElement-svgdom-dx-prop.js: Added. 78 (executeTest): 79 * svg/dynamic-updates/script-tests/SVGFEDropShadowElement-svgdom-dy-prop.js: Added. 80 (executeTest): 81 * svg/dynamic-updates/script-tests/SVGFEDropShadowElement-svgdom-in-prop.js: Added. 82 (executeTest): 83 * svg/dynamic-updates/script-tests/SVGFEDropShadowElement-svgdom-shadow-color-prop.js: Added. 84 (executeTest): 85 * svg/dynamic-updates/script-tests/SVGFEDropShadowElement-svgdom-shadow-opacity-prop.js: Added. 86 (executeTest): 87 * svg/dynamic-updates/script-tests/SVGFEDropShadowElement-svgdom-stdDeviation-prop.js: Added. 88 (executeTest): 89 * svg/filters/feDropShadow.svg: Added. 90 1 91 2011-04-21 MORITA Hajime <morrita@google.com> 2 92 -
trunk/Source/WebCore/Android.mk
r84498 r84522 572 572 platform/graphics/filters/FEDiffuseLighting.cpp \ 573 573 platform/graphics/filters/FEDisplacementMap.cpp \ 574 platform/graphics/filters/FEDropShadow.cpp \ 574 575 platform/graphics/filters/FEFlood.cpp \ 575 576 platform/graphics/filters/FEMerge.cpp \ … … 918 919 svg/SVGFEDisplacementMapElement.cpp \ 919 920 svg/SVGFEDistantLightElement.cpp \ 921 svg/SVGFEDropShadowElement.cpp \ 920 922 svg/SVGFEFloodElement.cpp \ 921 923 svg/SVGFEFuncAElement.cpp \ -
trunk/Source/WebCore/CMakeLists.txt
r84498 r84522 1122 1122 platform/graphics/filters/FEDiffuseLighting.cpp 1123 1123 platform/graphics/filters/FEDisplacementMap.cpp 1124 platform/graphics/filters/FEDropShadow.cpp 1124 1125 platform/graphics/filters/FEFlood.cpp 1125 1126 platform/graphics/filters/FEGaussianBlur.cpp … … 1650 1651 svg/SVGFEDisplacementMapElement.cpp 1651 1652 svg/SVGFEDistantLightElement.cpp 1653 svg/SVGFEDropShadowElement.cpp 1652 1654 svg/SVGFEFloodElement.cpp 1653 1655 svg/SVGFEFuncAElement.cpp … … 1802 1804 svg/SVGFEDisplacementMapElement.idl 1803 1805 svg/SVGFEDistantLightElement.idl 1806 svg/SVGFEDropShadowElement.idl 1804 1807 svg/SVGFEFloodElement.idl 1805 1808 svg/SVGFEFuncAElement.idl -
trunk/Source/WebCore/ChangeLog
r84520 r84522 1 2011-04-21 Dirk Schulze <krit@webkit.org> 2 3 Reviewed by Nikolas Zimmermann. 4 5 SVG feDropShadow implementation of SVG Filters 1.2 6 https://bugs.webkit.org/show_bug.cgi?id=52513 7 8 This is the implementation of feDropShadow, a shorthand filter and a combination of feGaussianBlur, 9 feOffset, feFlood and feComposite to create a drop shadow of an input effect. 10 Creating this new filter effect makes it possible to optimize the often used workflow. ShadowBlur, with its 11 fast blurring algorithm, is used to blur the shadow and composite operators are responsible for combining the 12 source with different colored shadows. 13 Shadow color and opacity can be set with the properties flood-color and flood-opacity. 14 15 Tests: svg/dynamic-updates/SVGFEDropShadowElement-dom-dx-attr.html 16 svg/dynamic-updates/SVGFEDropShadowElement-dom-dy-attr.html 17 svg/dynamic-updates/SVGFEDropShadowElement-dom-in-attr.html 18 svg/dynamic-updates/SVGFEDropShadowElement-dom-shadow-color-attr.html 19 svg/dynamic-updates/SVGFEDropShadowElement-dom-shadow-opacity-attr.html 20 svg/dynamic-updates/SVGFEDropShadowElement-dom-stdDeviation-attr.html 21 svg/dynamic-updates/SVGFEDropShadowElement-svgdom-dx-prop.html 22 svg/dynamic-updates/SVGFEDropShadowElement-svgdom-dy-prop.html 23 svg/dynamic-updates/SVGFEDropShadowElement-svgdom-in-prop.html 24 svg/dynamic-updates/SVGFEDropShadowElement-svgdom-shadow-color-prop.html 25 svg/dynamic-updates/SVGFEDropShadowElement-svgdom-shadow-opacity-prop.html 26 svg/dynamic-updates/SVGFEDropShadowElement-svgdom-stdDeviation-prop.html 27 svg/filters/feDropShadow.svg 28 29 * Android.mk: 30 * CMakeLists.txt: 31 * DerivedSources.cpp: 32 * DerivedSources.make: 33 * GNUmakefile.list.am: 34 * WebCore.exp.in: 35 * WebCore.gypi: 36 * WebCore.pro: 37 * WebCore.vcproj/WebCore.vcproj: 38 * WebCore.xcodeproj/project.pbxproj: 39 * bindings/objc/DOM.mm: 40 (WebCore::createElementClassMap): 41 * bindings/objc/DOMSVG.h: 42 * page/DOMWindow.idl: 43 * platform/graphics/ShadowBlur.cpp: Added missing copyright after r84410. 44 * platform/graphics/ShadowBlur.h: Made blurLayerImage public. 45 * platform/graphics/filters/FEDropShadow.cpp: Added. 46 (WebCore::FEDropShadow::FEDropShadow): 47 (WebCore::FEDropShadow::create): 48 (WebCore::FEDropShadow::determineAbsolutePaintRect): 49 (WebCore::FEDropShadow::apply): 50 (WebCore::FEDropShadow::dump): 51 (WebCore::FEDropShadow::externalRepresentation): 52 * platform/graphics/filters/FEDropShadow.h: Added. 53 (WebCore::FEDropShadow::stdDeviationX): 54 (WebCore::FEDropShadow::setStdDeviationX): 55 (WebCore::FEDropShadow::stdDeviationY): 56 (WebCore::FEDropShadow::setStdDeviationY): 57 (WebCore::FEDropShadow::dx): 58 (WebCore::FEDropShadow::setDx): 59 (WebCore::FEDropShadow::dy): 60 (WebCore::FEDropShadow::setDy): 61 (WebCore::FEDropShadow::shadowColor): 62 (WebCore::FEDropShadow::setShadowColor): 63 (WebCore::FEDropShadow::shadowOpacity): 64 (WebCore::FEDropShadow::setShadowOpacity): 65 * platform/graphics/filters/FEGaussianBlur.cpp: 66 (WebCore::FEGaussianBlur::calculateKernelSize): Make kernel calculations accessible for feDropShadow. 67 * platform/graphics/filters/FEGaussianBlur.h: 68 * svg/SVGAllInOne.cpp: 69 * svg/SVGFEDropShadowElement.cpp: Added. 70 (WebCore::SVGFEDropShadowElement::SVGFEDropShadowElement): 71 (WebCore::SVGFEDropShadowElement::create): 72 (WebCore::SVGFEDropShadowElement::stdDeviationXIdentifier): 73 (WebCore::SVGFEDropShadowElement::stdDeviationYIdentifier): 74 (WebCore::SVGFEDropShadowElement::setStdDeviation): 75 (WebCore::SVGFEDropShadowElement::parseMappedAttribute): 76 (WebCore::SVGFEDropShadowElement::svgAttributeChanged): 77 (WebCore::SVGFEDropShadowElement::synchronizeProperty): 78 (WebCore::SVGFEDropShadowElement::build): 79 * svg/SVGFEDropShadowElement.h: Added. 80 * svg/SVGFEDropShadowElement.idl: Added. 81 * svg/svgtags.in: 82 1 83 2011-04-21 Roland Steiner <rolandsteiner@chromium.org> 2 84 -
trunk/Source/WebCore/DerivedSources.cpp
r84224 r84522 333 333 #include "JSSVGFEDisplacementMapElement.cpp" 334 334 #include "JSSVGFEDistantLightElement.cpp" 335 #include "JSSVGFEDropShadowElement.cpp" 335 336 #include "JSSVGFEFloodElement.cpp" 336 337 #include "JSSVGFEFuncAElement.cpp" -
trunk/Source/WebCore/DerivedSources.make
r84224 r84522 402 402 SVGFEDisplacementMapElement \ 403 403 SVGFEDistantLightElement \ 404 SVGFEDropShadowElement \ 404 405 SVGFEFloodElement \ 405 406 SVGFEFuncAElement \ -
trunk/Source/WebCore/GNUmakefile.list.am
r84511 r84522 2361 2361 Source/WebCore/platform/graphics/filters/FEDisplacementMap.cpp \ 2362 2362 Source/WebCore/platform/graphics/filters/FEDisplacementMap.h \ 2363 Source/WebCore/platform/graphics/filters/FEDropShadow.cpp \ 2364 Source/WebCore/platform/graphics/filters/FEDropShadow.h \ 2365 Source/WebCore/platform/graphics/filters/FEFlood.cpp \ 2366 Source/WebCore/platform/graphics/filters/FEFlood.h \ 2363 2367 Source/WebCore/platform/graphics/filters/FEGaussianBlur.cpp \ 2364 2368 Source/WebCore/platform/graphics/filters/FEGaussianBlur.h \ 2365 Source/WebCore/platform/graphics/filters/FEFlood.cpp \2366 Source/WebCore/platform/graphics/filters/FEFlood.h \2367 2369 Source/WebCore/platform/graphics/filters/FELighting.cpp \ 2368 2370 Source/WebCore/platform/graphics/filters/FELighting.h \ … … 3336 3338 Source/WebCore/svg/SVGFEDistantLightElement.cpp \ 3337 3339 Source/WebCore/svg/SVGFEDistantLightElement.h \ 3340 Source/WebCore/svg/SVGFEDropShadowElement.cpp \ 3341 Source/WebCore/svg/SVGFEDropShadowElement.h \ 3338 3342 Source/WebCore/svg/SVGFEFloodElement.cpp \ 3339 3343 Source/WebCore/svg/SVGFEFloodElement.h \ … … 4190 4194 DerivedSources/WebCore/JSSVGFEDistantLightElement.cpp \ 4191 4195 DerivedSources/WebCore/JSSVGFEDistantLightElement.h \ 4196 DerivedSources/WebCore/JSSVGFEDropShadowElement.cpp \ 4197 DerivedSources/WebCore/JSSVGFEDropShadowElement.h \ 4192 4198 DerivedSources/WebCore/JSSVGFEFloodElement.cpp \ 4193 4199 DerivedSources/WebCore/JSSVGFEFloodElement.h \ -
trunk/Source/WebCore/WebCore.exp.in
r84472 r84522 1752 1752 .objc_class_name_DOMSVGFEDisplacementMapElement 1753 1753 .objc_class_name_DOMSVGFEDistantLightElement 1754 .objc_class_name_DOMSVGFEDropShadowElement 1754 1755 .objc_class_name_DOMSVGFEFloodElement 1755 1756 .objc_class_name_DOMSVGFEFuncAElement -
trunk/Source/WebCore/WebCore.gypi
r84511 r84522 213 213 '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMSVGFEDistantLightElement.h', 214 214 '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMSVGFEDistantLightElementInternal.h', 215 '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMSVGFEDropShadowElement.h', 216 '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMSVGFEDropShadowElementInternal.h', 215 217 '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMSVGFEFloodElement.h', 216 218 '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMSVGFEFloodElementInternal.h', … … 1475 1477 'svg/SVGFEDisplacementMapElement.idl', 1476 1478 'svg/SVGFEDistantLightElement.idl', 1479 'svg/SVGFEDropShadowElement.idl', 1477 1480 'svg/SVGFEFloodElement.idl', 1478 1481 'svg/SVGFEFuncAElement.idl', … … 4109 4112 'platform/graphics/filters/FEDisplacementMap.cpp', 4110 4113 'platform/graphics/filters/FEDisplacementMap.h', 4114 'platform/graphics/filters/FEDropShadow.cpp', 4115 'platform/graphics/filters/FEDropShadow.h', 4111 4116 'platform/graphics/filters/FEFlood.cpp', 4112 4117 'platform/graphics/filters/FEFlood.h', … … 5663 5668 'svg/SVGFEDistantLightElement.cpp', 5664 5669 'svg/SVGFEDistantLightElement.h', 5670 'svg/SVGFEDropShadowElement.cpp', 5671 'svg/SVGFEDropShadowElement.h', 5665 5672 'svg/SVGFEFloodElement.cpp', 5666 5673 'svg/SVGFEFloodElement.h', … … 6775 6782 '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMSVGFEDisplacementMapElement.mm', 6776 6783 '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMSVGFEDistantLightElement.mm', 6784 '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMSVGFEDropShadowElement.dep', 6785 '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMSVGFEDropShadowElement.mm', 6777 6786 '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMSVGFEFloodElement.dep', 6778 6787 '<(PRODUCT_DIR)/DerivedSources/WebCore/DOMSVGFEFloodElement.mm', … … 7612 7621 '<(PRODUCT_DIR)/DerivedSources/WebCore/JSSVGFEDistantLightElement.cpp', 7613 7622 '<(PRODUCT_DIR)/DerivedSources/WebCore/JSSVGFEDistantLightElement.h', 7623 '<(PRODUCT_DIR)/DerivedSources/WebCore/JSSVGFEDropShadowElement.cpp', 7624 '<(PRODUCT_DIR)/DerivedSources/WebCore/JSSVGFEDropShadowElement.dep', 7625 '<(PRODUCT_DIR)/DerivedSources/WebCore/JSSVGFEDropShadowElement.h', 7614 7626 '<(PRODUCT_DIR)/DerivedSources/WebCore/JSSVGFEFloodElement.cpp', 7615 7627 '<(PRODUCT_DIR)/DerivedSources/WebCore/JSSVGFEFloodElement.dep', -
trunk/Source/WebCore/WebCore.pro
r84498 r84522 1928 1928 platform/graphics/filters/FEDiffuseLighting.h \ 1929 1929 platform/graphics/filters/FEDisplacementMap.h \ 1930 platform/graphics/filters/FEDropShadow.h \ 1930 1931 platform/graphics/filters/FEFlood.h \ 1931 1932 platform/graphics/filters/FEGaussianBlur.h \ … … 2328 2329 svg/SVGFEDisplacementMapElement.h \ 2329 2330 svg/SVGFEDistantLightElement.h \ 2331 svg/SVGFEFDropShadowElement.h \ 2330 2332 svg/SVGFEFloodElement.h \ 2331 2333 svg/SVGFEFuncAElement.h \ … … 3060 3062 platform/graphics/filters/FEDiffuseLighting.cpp \ 3061 3063 platform/graphics/filters/FEDisplacementMap.cpp \ 3064 platform/graphics/filters/FEDropShadow.cpp \ 3062 3065 platform/graphics/filters/FEFlood.cpp \ 3063 3066 platform/graphics/filters/FEGaussianBlur.cpp \ … … 3285 3288 svg/SVGFEDisplacementMapElement.cpp \ 3286 3289 svg/SVGFEDistantLightElement.cpp \ 3290 svg/SVGFEDropShadowElement.cpp \ 3287 3291 svg/SVGFEFloodElement.cpp \ 3288 3292 svg/SVGFEFuncAElement.cpp \ -
trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj
r84511 r84522 16167 16167 </File> 16168 16168 <File 16169 RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSSVGFEDropShadowElement.cpp" 16170 > 16171 <FileConfiguration 16172 Name="Debug|Win32" 16173 ExcludedFromBuild="true" 16174 > 16175 <Tool 16176 Name="VCCLCompilerTool" 16177 /> 16178 </FileConfiguration> 16179 <FileConfiguration 16180 Name="Release|Win32" 16181 ExcludedFromBuild="true" 16182 > 16183 <Tool 16184 Name="VCCLCompilerTool" 16185 /> 16186 </FileConfiguration> 16187 <FileConfiguration 16188 Name="Debug_Cairo_CFLite|Win32" 16189 ExcludedFromBuild="true" 16190 > 16191 <Tool 16192 Name="VCCLCompilerTool" 16193 /> 16194 </FileConfiguration> 16195 <FileConfiguration 16196 Name="Release_Cairo_CFLite|Win32" 16197 ExcludedFromBuild="true" 16198 > 16199 <Tool 16200 Name="VCCLCompilerTool" 16201 /> 16202 </FileConfiguration> 16203 <FileConfiguration 16204 Name="Debug_All|Win32" 16205 ExcludedFromBuild="true" 16206 > 16207 <Tool 16208 Name="VCCLCompilerTool" 16209 /> 16210 </FileConfiguration> 16211 <FileConfiguration 16212 Name="Release_LTCG|Win32" 16213 ExcludedFromBuild="true" 16214 > 16215 <Tool 16216 Name="VCCLCompilerTool" 16217 /> 16218 </FileConfiguration> 16219 </File> 16220 <File 16221 RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSSVGFEDropShadowElement.h" 16222 > 16223 </File> 16224 <File 16169 16225 RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSSVGFEFloodElement.cpp" 16170 16226 > … … 29258 29314 <File 29259 29315 RelativePath="..\platform\graphics\filters\FEDisplacementMap.h" 29316 > 29317 </File> 29318 <File 29319 RelativePath="..\platform\graphics\filters\FEDropShadow.cpp" 29320 > 29321 </File> 29322 <File 29323 RelativePath="..\platform\graphics\filters\FEDropShadow.h" 29260 29324 > 29261 29325 </File> … … 64795 64859 </File> 64796 64860 <File 64861 RelativePath="..\svg\SVGFEDropShadowElement.h" 64862 > 64863 </File> 64864 <File 64797 64865 RelativePath="..\svg\SVGFEFloodElement.h" 64798 64866 > -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r84511 r84522 962 962 41FA303E1316C29C00C0BFC5 /* RenderMediaControls.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 41FA303C1316C29C00C0BFC5 /* RenderMediaControls.cpp */; }; 963 963 41FA303F1316C29C00C0BFC5 /* RenderMediaControls.h in Headers */ = {isa = PBXBuildFile; fileRef = 41FA303D1316C29C00C0BFC5 /* RenderMediaControls.h */; }; 964 4358E86A1360A21600E4748C /* DOMSVGFEDropShadowElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 4358E8671360A21600E4748C /* DOMSVGFEDropShadowElement.h */; }; 965 4358E86B1360A21600E4748C /* DOMSVGFEDropShadowElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 4358E8681360A21600E4748C /* DOMSVGFEDropShadowElement.mm */; }; 966 4358E86C1360A21600E4748C /* DOMSVGFEDropShadowElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 4358E8691360A21600E4748C /* DOMSVGFEDropShadowElementInternal.h */; }; 967 4358E86D1360A24500E4748C /* DOMSVGFEDropShadowElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 4358E8671360A21600E4748C /* DOMSVGFEDropShadowElement.h */; }; 968 4358E86F1360A24500E4748C /* DOMSVGFEDropShadowElementInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 4358E8691360A21600E4748C /* DOMSVGFEDropShadowElementInternal.h */; }; 969 4358E87C1360A2EE00E4748C /* JSSVGFEDropShadowElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4358E87A1360A2EE00E4748C /* JSSVGFEDropShadowElement.cpp */; }; 970 4358E87D1360A2EE00E4748C /* JSSVGFEDropShadowElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 4358E87B1360A2EE00E4748C /* JSSVGFEDropShadowElement.h */; }; 971 4358E8801360A31700E4748C /* FEDropShadow.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4358E87E1360A31700E4748C /* FEDropShadow.cpp */; }; 972 4358E8811360A31700E4748C /* FEDropShadow.h in Headers */ = {isa = PBXBuildFile; fileRef = 4358E87F1360A31700E4748C /* FEDropShadow.h */; }; 973 4358E8851360A33B00E4748C /* SVGFEDropShadowElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4358E8821360A33B00E4748C /* SVGFEDropShadowElement.cpp */; }; 974 4358E8861360A33B00E4748C /* SVGFEDropShadowElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 4358E8831360A33B00E4748C /* SVGFEDropShadowElement.h */; }; 964 975 436708C112D9CA4B00044234 /* RenderSVGBlock.h in Headers */ = {isa = PBXBuildFile; fileRef = 4367088212D9CA4A00044234 /* RenderSVGBlock.h */; }; 965 976 436708C312D9CA4B00044234 /* RenderSVGContainer.h in Headers */ = {isa = PBXBuildFile; fileRef = 4367088412D9CA4A00044234 /* RenderSVGContainer.h */; }; … … 6040 6051 dstSubfolderSpec = 1; 6041 6052 files = ( 6053 4358E86D1360A24500E4748C /* DOMSVGFEDropShadowElement.h in Copy Generated Headers */, 6054 4358E86F1360A24500E4748C /* DOMSVGFEDropShadowElementInternal.h in Copy Generated Headers */, 6042 6055 5DF7F5C20F01F92A00526B4B /* CSSPropertyNames.h in Copy Generated Headers */, 6043 6056 8538F0300AD71CDB006A81D1 /* DOMAbstractView.h in Copy Generated Headers */, … … 7470 7483 41FA303C1316C29C00C0BFC5 /* RenderMediaControls.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderMediaControls.cpp; sourceTree = "<group>"; }; 7471 7484 41FA303D1316C29C00C0BFC5 /* RenderMediaControls.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderMediaControls.h; sourceTree = "<group>"; }; 7485 4358E8671360A21600E4748C /* DOMSVGFEDropShadowElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMSVGFEDropShadowElement.h; sourceTree = "<group>"; }; 7486 4358E8681360A21600E4748C /* DOMSVGFEDropShadowElement.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMSVGFEDropShadowElement.mm; sourceTree = "<group>"; }; 7487 4358E8691360A21600E4748C /* DOMSVGFEDropShadowElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMSVGFEDropShadowElementInternal.h; sourceTree = "<group>"; }; 7488 4358E87A1360A2EE00E4748C /* JSSVGFEDropShadowElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSSVGFEDropShadowElement.cpp; sourceTree = "<group>"; }; 7489 4358E87B1360A2EE00E4748C /* JSSVGFEDropShadowElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSSVGFEDropShadowElement.h; sourceTree = "<group>"; }; 7490 4358E87E1360A31700E4748C /* FEDropShadow.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = FEDropShadow.cpp; path = filters/FEDropShadow.cpp; sourceTree = "<group>"; }; 7491 4358E87F1360A31700E4748C /* FEDropShadow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FEDropShadow.h; path = filters/FEDropShadow.h; sourceTree = "<group>"; }; 7492 4358E8821360A33B00E4748C /* SVGFEDropShadowElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGFEDropShadowElement.cpp; sourceTree = "<group>"; }; 7493 4358E8831360A33B00E4748C /* SVGFEDropShadowElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGFEDropShadowElement.h; sourceTree = "<group>"; }; 7494 4358E8841360A33B00E4748C /* SVGFEDropShadowElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = SVGFEDropShadowElement.idl; sourceTree = "<group>"; }; 7472 7495 4367088112D9CA4A00044234 /* RenderSVGBlock.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderSVGBlock.cpp; sourceTree = "<group>"; }; 7473 7496 4367088212D9CA4A00044234 /* RenderSVGBlock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderSVGBlock.h; sourceTree = "<group>"; }; … … 14775 14798 8502AB210AD438C000378540 /* DOMSVGFEDistantLightElement.mm */, 14776 14799 A8E544790CA9D1C20097D09B /* DOMSVGFEDistantLightElementInternal.h */, 14800 4358E8671360A21600E4748C /* DOMSVGFEDropShadowElement.h */, 14801 4358E8681360A21600E4748C /* DOMSVGFEDropShadowElement.mm */, 14802 4358E8691360A21600E4748C /* DOMSVGFEDropShadowElementInternal.h */, 14777 14803 8502AB220AD438C000378540 /* DOMSVGFEFloodElement.h */, 14778 14804 8502AB230AD438C000378540 /* DOMSVGFEFloodElement.mm */, … … 16389 16415 84730D5F1248F0B300D3A9C9 /* FEDisplacementMap.cpp */, 16390 16416 84730D601248F0B300D3A9C9 /* FEDisplacementMap.h */, 16417 4358E87E1360A31700E4748C /* FEDropShadow.cpp */, 16418 4358E87F1360A31700E4748C /* FEDropShadow.h */, 16391 16419 84730D611248F0B300D3A9C9 /* FEFlood.cpp */, 16392 16420 84730D621248F0B300D3A9C9 /* FEFlood.h */, … … 16748 16776 B2FA3C8E0AB75A6E000E5AC4 /* JSSVGFEDistantLightElement.cpp */, 16749 16777 B2FA3C8F0AB75A6E000E5AC4 /* JSSVGFEDistantLightElement.h */, 16778 4358E87A1360A2EE00E4748C /* JSSVGFEDropShadowElement.cpp */, 16779 4358E87B1360A2EE00E4748C /* JSSVGFEDropShadowElement.h */, 16750 16780 B2FA3C900AB75A6E000E5AC4 /* JSSVGFEFloodElement.cpp */, 16751 16781 B2FA3C910AB75A6E000E5AC4 /* JSSVGFEFloodElement.h */, … … 17406 17436 B22278440D00BF1F0071B782 /* SVGFEDistantLightElement.h */, 17407 17437 B22278450D00BF1F0071B782 /* SVGFEDistantLightElement.idl */, 17438 4358E8821360A33B00E4748C /* SVGFEDropShadowElement.cpp */, 17439 4358E8831360A33B00E4748C /* SVGFEDropShadowElement.h */, 17440 4358E8841360A33B00E4748C /* SVGFEDropShadowElement.idl */, 17408 17441 B22278460D00BF1F0071B782 /* SVGFEFloodElement.cpp */, 17409 17442 B22278470D00BF1F0071B782 /* SVGFEFloodElement.h */, … … 23023 23056 0873B86B136064EA00A522C2 /* GlyphPage.h in Headers */, 23024 23057 087E0AF713606D0B00FA4BA8 /* SVGGlyph.h in Headers */, 23058 4358E86A1360A21600E4748C /* DOMSVGFEDropShadowElement.h in Headers */, 23059 4358E86C1360A21600E4748C /* DOMSVGFEDropShadowElementInternal.h in Headers */, 23060 4358E87D1360A2EE00E4748C /* JSSVGFEDropShadowElement.h in Headers */, 23061 4358E8811360A31700E4748C /* FEDropShadow.h in Headers */, 23062 4358E8861360A33B00E4748C /* SVGFEDropShadowElement.h in Headers */, 23025 23063 ); 23026 23064 runOnlyForDeploymentPostprocessing = 0; … … 25733 25771 977E2E0E12F0FC9C00C13379 /* XSSFilter.cpp in Sources */, 25734 25772 087E0AF613606D0B00FA4BA8 /* SVGGlyph.cpp in Sources */, 25773 4358E86B1360A21600E4748C /* DOMSVGFEDropShadowElement.mm in Sources */, 25774 4358E87C1360A2EE00E4748C /* JSSVGFEDropShadowElement.cpp in Sources */, 25775 4358E8801360A31700E4748C /* FEDropShadow.cpp in Sources */, 25776 4358E8851360A33B00E4748C /* SVGFEDropShadowElement.cpp in Sources */, 25735 25777 ); 25736 25778 runOnlyForDeploymentPostprocessing = 0; -
trunk/Source/WebCore/bindings/objc/DOM.mm
r84520 r84522 170 170 addElementClass(SVGNames::feDisplacementMapTag, [DOMSVGFEDisplacementMapElement class]); 171 171 addElementClass(SVGNames::feDistantLightTag, [DOMSVGFEDistantLightElement class]); 172 addElementClass(SVGNames::feDropShadowTag, [DOMSVGFEDropShadowElement class]); 172 173 addElementClass(SVGNames::feFloodTag, [DOMSVGFEFloodElement class]); 173 174 addElementClass(SVGNames::feFuncATag, [DOMSVGFEFuncAElement class]); -
trunk/Source/WebCore/bindings/objc/DOMSVG.h
r72443 r84522 66 66 #import <WebCore/DOMSVGFEDisplacementMapElement.h> 67 67 #import <WebCore/DOMSVGFEDistantLightElement.h> 68 #import <WebCore/DOMSVGFEDropShadowElement.h> 68 69 #import <WebCore/DOMSVGFEFloodElement.h> 69 70 #import <WebCore/DOMSVGFEFuncAElement.h> -
trunk/Source/WebCore/page/DOMWindow.idl
r84247 r84522 754 754 attribute SVGFEDisplacementMapElementConstructor SVGFEDisplacementMapElement; 755 755 attribute SVGFEDistantLightElementConstructor SVGFEDistantLightElement; 756 attribute SVGFEDropShadowElementConstructor SVGFEDropShadowElement; 756 757 attribute SVGFEFloodElementConstructor SVGFEFloodElement; 757 758 attribute SVGFEFuncAElementConstructor SVGFEFuncAElement; -
trunk/Source/WebCore/platform/graphics/ShadowBlur.cpp
r84504 r84522 1 1 /* 2 * Copyright (C) 2011 Apple Inc. 3 * Copyright (C) 2010 Sencha, Inc. 4 * Copyright (C) 2010 Igalia S.L. 5 * All rights reserved.2 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2010 Sencha, Inc. All rights reserved. 4 * Copyright (C) 2010 Igalia S.L. All rights reserved. 5 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 6 6 * 7 7 * Redistribution and use in source and binary forms, with or without -
trunk/Source/WebCore/platform/graphics/ShadowBlur.h
r84410 r84522 53 53 void drawInsetShadow(GraphicsContext*, const FloatRect&, const FloatRect& holeRect, const RoundedIntRect::Radii& holeRadii); 54 54 55 void blurLayerImage(unsigned char*, const IntSize&, int stride); 56 55 57 private: 56 58 void drawShadowBuffer(GraphicsContext*); 57 59 58 60 void adjustBlurRadius(GraphicsContext*); 59 void blurLayerImage(unsigned char*, const IntSize&, int stride);60 61 61 62 enum ShadowDirection { -
trunk/Source/WebCore/platform/graphics/filters/FEGaussianBlur.cpp
r75377 r84522 130 130 } 131 131 132 inline voidcalculateKernelSize(Filter* filter, unsigned& kernelSizeX, unsigned& kernelSizeY, float stdX, float stdY)132 void FEGaussianBlur::calculateKernelSize(Filter* filter, unsigned& kernelSizeX, unsigned& kernelSizeY, float stdX, float stdY) 133 133 { 134 134 stdX = filter->applyHorizontalScale(stdX); -
trunk/Source/WebCore/platform/graphics/filters/FEGaussianBlur.h
r72474 r84522 48 48 virtual TextStream& externalRepresentation(TextStream&, int indention) const; 49 49 50 static void calculateKernelSize(Filter*, unsigned& kernelSizeX, unsigned& kernelSizeY, float stdX, float stdY); 51 50 52 private: 51 53 FEGaussianBlur(Filter*, float, float); -
trunk/Source/WebCore/svg/SVGAllInOne.cpp
r74782 r84522 57 57 #include "SVGFEDisplacementMapElement.cpp" 58 58 #include "SVGFEDistantLightElement.cpp" 59 #include "SVGFEDropShadowElement.cpp" 59 60 #include "SVGFEFloodElement.cpp" 60 61 #include "SVGFEFuncAElement.cpp" -
trunk/Source/WebCore/svg/svgtags.in
r66362 r84522 36 36 feDisplacementMap 37 37 feDistantLight 38 feDropShadow 38 39 feFlood 39 40 feFuncA -
trunk/Source/WebKit/mac/ChangeLog
r84472 r84522 1 2011-04-21 Dirk Schulze <krit@webkit.org> 2 3 Reviewed by Nikolas Zimmermann. 4 5 SVG feDropShadow implementation of SVG Filters 1.2 6 https://bugs.webkit.org/show_bug.cgi?id=52513 7 8 * MigrateHeaders.make: 9 1 10 2011-04-20 Dominic Cooney <dominicc@chromium.org> 2 11 -
trunk/Source/WebKit/mac/MigrateHeaders.make
r75974 r84522 276 276 $(PRIVATE_HEADERS_DIR)/DOMSVGFEDistantLightElement.h \ 277 277 $(INTERNAL_HEADERS_DIR)/DOMSVGFEDistantLightElementInternal.h \ 278 $(PRIVATE_HEADERS_DIR)/DOMSVGFEDropShadowElement.h \ 279 $(INTERNAL_HEADERS_DIR)/DOMSVGFEDropShadowElementInternal.h \ 278 280 $(PRIVATE_HEADERS_DIR)/DOMSVGFEFloodElement.h \ 279 281 $(INTERNAL_HEADERS_DIR)/DOMSVGFEFloodElementInternal.h \
Note: See TracChangeset
for help on using the changeset viewer.