Bug 308565
| Summary: | [LBSE] Make layer creation conditional for SVG renderers | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Nikolas Zimmermann <zimmermann> |
| Component: | SVG | Assignee: | Nikolas Zimmermann <zimmermann> |
| Status: | NEW | ||
| Severity: | Normal | CC: | rbuis, sabouhallawa, webkit-bug-importer, zimmermann |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 313785, 313780, 313781 | ||
| Bug Blocks: | |||
Nikolas Zimmermann
Previously, every LBSE SVG renderer unconditionally created a RenderLayer because requiresLayer() always returned true. This was a temporary simplification during early LBSE development that ensured correct painting by letting the layer tree handle all child ordering, but it imposed significant overhead by allocating layers for elements that do not need them.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Nikolas Zimmermann
Pull request: https://github.com/WebKit/WebKit/pull/59346
Radar WebKit Bug Importer
<rdar://problem/171644876>
Nikolas Zimmermann
Pull request: https://github.com/WebKit/WebKit/pull/60897