Summary: | Do accelerated filtering when drop-shadow is not the last filter in the chain | ||
---|---|---|---|
Product: | WebKit | Reporter: | Chris Marrin <cmarrin> |
Component: | Layout and Rendering | Assignee: | Chris Marrin <cmarrin> |
Status: | NEW --- | ||
Severity: | Normal | CC: | aroben, dino, krit, simon.fraser, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 68479 | ||
Bug Blocks: | 68469 |
Description
Chris Marrin
2011-12-17 05:14:43 PST
Add webkit-bug-importer to CC list (Pinging bug importer) 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. (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). |