Skip to content
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
merged 3 commits into from Mar 24, 2017
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Add gradient perf test to wrench

This will help assess whether dithering efforts have a meaningful
performance tax or not.
  • Loading branch information
squarewave committed Mar 23, 2017
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

This comment has been minimized.

@kvark

kvark Mar 23, 2017

Member

nit: new line missing

@@ -1,3 +1,5 @@
aligned-gradient.yaml
unaligned-gradient.yaml
simple-batching.yaml
large-clip-rect.yaml
transforms-simple.yaml
@@ -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.
You can’t perform that action at this time.