New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added ordered dithering to gradient-like effects #966
Merged
+291
−35
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.
Add gradient perf test to wrench
This will help assess whether dithering efforts have a meaningful performance tax or not.
- Loading branch information
commit 1a20785ffc6da502d306af09f31758c60f0488a8
| @@ -0,0 +1,62 @@ | ||
| root: | ||
| items: | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 0, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 0, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 0, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 0, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 0, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 0, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 0, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 0, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 0, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 0, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
|
||
| @@ -0,0 +1,59 @@ | ||
| --- | ||
| root: | ||
| items: | ||
| - type: radial-gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start-center: [ 990, 540 ] | ||
| start-radius: 5 | ||
| end-center: [ 990, 540 ] | ||
| end-radius: 8000 | ||
| stops: [ 0.0, black, 1.0, white ] | ||
| repeat: false | ||
| - type: radial-gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start-center: [ 990, 540 ] | ||
| start-radius: 5 | ||
| end-center: [ 990, 540 ] | ||
| end-radius: 8000 | ||
| stops: [ 0.0, black, 1.0, white ] | ||
| repeat: false | ||
| - type: radial-gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start-center: [ 990, 540 ] | ||
| start-radius: 5 | ||
| end-center: [ 990, 540 ] | ||
| end-radius: 8000 | ||
| stops: [ 0.0, black, 1.0, white ] | ||
| repeat: false | ||
| - type: radial-gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start-center: [ 990, 540 ] | ||
| start-radius: 5 | ||
| end-center: [ 990, 540 ] | ||
| end-radius: 8000 | ||
| stops: [ 0.0, black, 1.0, white ] | ||
| repeat: false | ||
| - type: radial-gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start-center: [ 990, 540 ] | ||
| start-radius: 5 | ||
| end-center: [ 990, 540 ] | ||
| end-radius: 8000 | ||
| stops: [ 0.0, black, 1.0, white ] | ||
| repeat: false | ||
| - type: radial-gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start-center: [ 990, 540 ] | ||
| start-radius: 5 | ||
| end-center: [ 990, 540 ] | ||
| end-radius: 8000 | ||
| stops: [ 0.0, black, 1.0, white ] | ||
| repeat: false | ||
| - type: radial-gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start-center: [ 990, 540 ] | ||
| start-radius: 5 | ||
| end-center: [ 990, 540 ] | ||
| end-radius: 8000 | ||
| stops: [ 0.0, black, 1.0, white ] | ||
| repeat: false |
| @@ -0,0 +1,62 @@ | ||
| root: | ||
| items: | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 1, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 1, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 1, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 1, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 1, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 1, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 1, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 1, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 1, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false | ||
| - type: gradient | ||
| bounds: [ 0, 0, 1980, 1080] | ||
| start: [ 0, -2000 ] | ||
| end: [ 1, 4000 ] | ||
| stops: [ 0.0, red, 1.0, green ] | ||
| repeat: false |
ProTip!
Use n and p to navigate between commits in a pull request.
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.
nit: new line missing