NEW 101418
[cg] feDropShadow performance is much worse than -webkit-svg-shadow
https://bugs.webkit.org/show_bug.cgi?id=101418
Summary [cg] feDropShadow performance is much worse than -webkit-svg-shadow
Tim Horton
Reported 2012-11-06 18:42:56 PST
See attached testcases. Drag around the grey boxes. feDropShadow performs much worse than -webkit-svg-shadow. -webkit-svg-shadow uses GraphicsContext's shadow capabilities, while feDropShadow does the blurring and such in software.
Attachments
-webkit-svg-shadow fast case (1.67 KB, text/html)
2012-11-06 18:43 PST, Tim Horton
no flags
feDropShadow slow case (1.68 KB, text/html)
2012-11-06 18:43 PST, Tim Horton
no flags
Tim Horton
Comment 1 2012-11-06 18:43:22 PST
Created attachment 172693 [details] -webkit-svg-shadow fast case
Tim Horton
Comment 2 2012-11-06 18:43:37 PST
Created attachment 172694 [details] feDropShadow slow case
Dirk Schulze
Comment 3 2012-11-06 18:44:24 PST
Not really surprising. It does't use CG.
Radar WebKit Bug Importer
Comment 4 2012-11-06 18:48:58 PST
Tim Horton
Comment 5 2012-11-06 18:49:46 PST
No, not surprising at all, but we should fix it :)
Ahmad Saleem
Comment 6 2022-09-22 15:57:43 PDT
I am able to reproduce this in Safari Technology Preview 154 using "feDropShadow.." test case and dragging grey boxes does not move blurred "red" rectangles while in other browsers (Chrome Canary 108 and Firefox Nightly 107), it is almost realtime and instantaneous while Safari have sever delay in showing any movement in blurred "red" shadows.
Note You need to log in before you can comment on or make changes to this bug.