Make the colors used in Canvas Lines, Arcs and Paths non-opaque.#108
Open
smfr wants to merge 1 commit intoWebKit:mainfrom
Open
Make the colors used in Canvas Lines, Arcs and Paths non-opaque.#108smfr wants to merge 1 commit intoWebKit:mainfrom
smfr wants to merge 1 commit intoWebKit:mainfrom
Conversation
This gives all the colors alpha of about 96% alpha.
✅ Deploy Preview for webkit-motionmark-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
I get the same score ~8000 in Firefox in this version of canvas lines as in https://browserbench.org/MotionMark1.3/developer.html In both cases stroke line is being converted to draw rect. So it's not surprising to me that the performance is roughly the same. |
Contributor
Author
|
I was testing Paths, not Lines. |
Contributor
Author
|
On my machine with Firefox 148.0.2 I get a score of 4288 on Paths stock, and 11940 on Paths with alpa, a 2.8x increase. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This gives all the colors alpha of about 96% alpha.
This is experimental only, to allow for testing.