Bug 301345
| Summary: | [Skia] Do not draw single arcs and lines as paths when possible | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> |
| Component: | Platform | Assignee: | Carlos Garcia Campos <cgarcia> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Carlos Garcia Campos
For paths containing a single arc or line we can use SkCanvas drawArc(), drawOval() or drawLine(), which are more optimized than drawPath().
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Carlos Garcia Campos
Pull request: https://github.com/WebKit/WebKit/pull/52879
EWS
Committed 302081@main (b8c314019c9f): <https://commits.webkit.org/302081@main>
Reviewed commits have been landed. Closing PR #52879 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/163330817>