WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 74786
Do accelerated filtering when drop-shadow is not the last filter in the chain
https://bugs.webkit.org/show_bug.cgi?id=74786
Summary
Do accelerated filtering when drop-shadow is not the last filter in the chain
Chris Marrin
Reported
2011-12-17 05:14:43 PST
With
https://bugs.webkit.org/show_bug.cgi?id=68479
filters are accelerated on CALayers. But the drop-shadow filter is done with CA's shadow properties which are applied after filters. So currently drop-shadow has to be the last filter in the chain or we don't accelerate filters. We could add a parent layer which could render all the filters that come after the drop-shadow.
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Marrin
Comment 1
2011-12-17 09:53:27 PST
Add webkit-bug-importer to CC list
Adam Roben (:aroben)
Comment 2
2011-12-19 07:23:03 PST
(Pinging bug importer)
Radar WebKit Bug Importer
Comment 3
2011-12-19 08:26:30 PST
<
rdar://problem/10601044
>
Dirk Schulze
Comment 4
2013-04-08 22:30:31 PDT
I might be wrong, but if I understand the code correctly, each filter is added to a filter chain "array". Would it be much slower to replace a drop shadow with * a blur filter * 2 compositing filter (one compositing with a flood color) * 1 affineTransform filter I just looked at the CIFilter path, but it doesn't look so much different to CAFilter, does it? I couldn't find official docs for CAFilter.
Dean Jackson
Comment 5
2013-04-20 14:22:43 PDT
(In reply to
comment #4
)
> I might be wrong, but if I understand the code correctly, each filter is added to a filter chain "array". Would it be much slower to replace a drop shadow with > * a blur filter > * 2 compositing filter (one compositing with a flood color) > * 1 affineTransform filter > > I just looked at the CIFilter path, but it doesn't look so much different to CAFilter, does it? I couldn't find official docs for CAFilter.
We could do this with CI but not CA filters (because they don't have a blend that takes two inputs).
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug