Bug 244940
| Summary: | [Filters] FilterImage should hold one form of the result image | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Said Abou-Hallawa <sabouhallawa> |
| Component: | Layout and Rendering | Assignee: | Said Abou-Hallawa <sabouhallawa> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=242219 | ||
| Bug Depends on: | |||
| Bug Blocks: | 242219 | ||
Said Abou-Hallawa
Usually the software image form of FilterImage is be converted to another form; e.g. ImageBuffer -> PixelBuffer. But we rarely need both forms of image. There are instances of filters where we fail to render the filtered image just because we cache more than form of the image of FilterImage. See the test case in bug 242219.
So we should keep only one form of the image. And we can get the original form of the image from the new one if we want. This will reduce the memory needed to generate the software filtered image.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Said Abou-Hallawa
Pull request: https://github.com/WebKit/WebKit/pull/4139
Radar WebKit Bug Importer
<rdar://problem/99980368>