mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb+LibGfx: Remove Path::close_all_subpaths()
As it turns out, SkPath already behaves the way we need for SVG and HTML canvas elements. Less work for us, yay! This removes a 5% item from the profile when scrolling on https://imdb.com/ Note that there's a tiny screenshot test expectation change due to minor antialiasing differences when we no longer do our redundant subpath modifications.
This commit is contained in:
parent
989f6ddb42
commit
321809320b
Notes:
github-actions[bot]
2025-09-25 19:44:05 +00:00
Author: https://github.com/awesomekling
Commit: 321809320b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6305
10 changed files with 8 additions and 79 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
|
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="match" href="../expected/canvas-path-rect-ref.html" />
|
||||
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-148">
|
||||
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-158">
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue