-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
canvas: small optimizations to draw path
This does the following: . Removes duplicate lookup of PaintCanvas. Draw() already looks up the paintcanvas, so no need for other places to also look it up. . Renames GetPaintCanvasForDraw to WillDraw() as by the time this is called we know there is a PaintCanvas. . Changes some rect types to gfx types as most places already take gfx types and we were needlessly converting between the two. Bug: none Change-Id: I25bf6d246c1659b0a7c7822bf98a3426c52f7a9b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4235062 Reviewed-by: Robert Flack <flackr@chromium.org> Reviewed-by: Justin Novosad <junov@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/main@{#1103870}
- Loading branch information
Scott Violet
authored and
Chromium LUCI CQ
committed
Feb 10, 2023
1 parent
538b63d
commit c5daebf
Showing
9 changed files
with
76 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.