Reviewed by eseidel.
SourceAlpha does not display until window is redrawn (resized)
http://bugzilla.opendarwin.org/show_bug.cgi?id=6375
Test: svg/custom/filter-source-alpha.svg
* kcanvas/device/quartz/KCanvasFilterQuartz.mm:
(KCanvasFilterQuartz::inputImage):`
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12427
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-01-28 Alexander Kellett <lypanov@kde.org>
+
+ Reviewed by eseidel.
+
+ * svg/custom/filter-source-alpha-expected.checksum
+ * svg/custom/filter-source-alpha-expected.png
+ * svg/custom/filter-source-alpha-expected.txt
+ * svg/custom/filter-source-alpha.svg
+
2006-01-27 Darin Adler <darin@apple.com>
Reviewed by Adele.
--- /dev/null
+778803df0a824ed8f2c7dfa07c56832e
\ No newline at end of file
--- /dev/null
+KCanvasResource {id="filter" [type=FILTER] [bounding box=at (-10,-10) size 120x120] [effect bounding box mode=0] [effects=[[type=GAUSSIAN-BLUR] [in="SourceAlpha"] [result="blur"] [subregion="at (0,0) size 800x600"] [std dev. x=0.00 y=0.00], [type=MERGE] [subregion="at (0,0) size 800x600"][merge inputs=[blur, SourceGraphic]]]]}
+layer at (0,0) size 800x600
+ RenderCanvas at (0,0) size 800x600
+ KCanvasContainer {svg} at (0,0) size 100x100
+ KCanvasItem {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00L100.00,0.00L100.00,100.00L0.00,100.00"]
+ KCanvasItem {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [filter=#filter] [data="M0.00,0.00L100.00,0.00L100.00,100.00L0.00,100.00"]
--- /dev/null
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <defs>
+ <filter id="filter">
+ <feGaussianBlur in="SourceAlpha" stdDeviation="0" result="blur"/>
+ <feMerge>
+ <feMergeNode in="blur"/>
+ <feMergeNode in="SourceGraphic"/>
+ </feMerge>
+ </filter>
+ </defs>
+ <rect x="0" y="0" width="100" height="100" fill="red"/>
+ <rect x="0" y="0" width="100" height="100" filter="url(#filter)" fill="green"/>
+</svg>
+2006-01-28 Alexander Kellett <lypanov@kde.org>
+
+ Reviewed by eseidel.
+
+ SourceAlpha does not display until window is redrawn (resized)
+ http://bugzilla.opendarwin.org/show_bug.cgi?id=6375
+
+ Test: svg/custom/filter-source-alpha.svg
+
+ * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
+ (KCanvasFilterQuartz::inputImage):
+
2006-01-28 David Hyatt <hyatt@apple.com>
Fix CachedImage.h/.cpp up. Lots of cleanup. Eliminated
CIImage *sourceGraphic = imageForName("SourceGraphic");
if (!sourceGraphic)
return nil;
- setImageForName(alphaImageForImage(sourceGraphic), "SourceAlpha");
+ sourceAlpha = alphaImageForImage(sourceGraphic);
+ setImageForName(sourceAlpha, "SourceAlpha");
}
return sourceAlpha;
}