Commit graph

1702 commits

Author SHA1 Message Date
Ryan Oldenburg
331d5dfb37 f 2021-02-16 00:35:36 -06:00
Ryan Oldenburg
ea3f924c81 trapezoid experiment runs 2021-02-16 00:35:36 -06:00
Ryan Oldenburg
f2b3c67d4b morepretty 2021-02-16 00:35:36 -06:00
Ryan Oldenburg
68e2522074 performance improvements 2021-02-16 00:35:08 -06:00
treeform
955d813a27 Add offBounds to blur so that we can shadow from the edge. 2021-02-15 18:24:53 -08:00
treeform
219dc23bf9 Gradient rotation fix. 2021-02-15 18:23:31 -08:00
treeform
344062fda2 Add gradients. 2021-02-14 21:32:31 -08:00
treeform
39b0446d60 Add roundedRect based on splines. 2021-02-14 09:52:41 -08:00
treeform
409848a4ad More readme and examples. 2021-02-13 20:45:27 -08:00
treeform
a4a3e3a728 Update readme. 2021-02-13 20:14:16 -08:00
treeform
7ff64d0ec8 small comment 2021-02-13 20:14:10 -08:00
treeform
29ca5501bf drawCorrect vs drawUber benchmark. 2021-02-13 20:13:58 -08:00
treeform
926d52cc6b
Merge pull request #108 from guzba/master
faster paths.nim
2021-02-13 19:26:24 -08:00
Ryan Oldenburg
fc23bda80f blends exports 2021-02-13 20:57:58 -06:00
Ryan Oldenburg
28f831249f better segment partitioning, faster svg path fill 2021-02-13 20:52:53 -06:00
Ryan Oldenburg
b800c77ab5 cleaner + faster simd 2021-02-13 20:52:53 -06:00
Ryan Oldenburg
426c9766f1 f 2021-02-13 20:52:53 -06:00
treeform
08c2886924
Merge pull request #107 from guzba/master
mask+mask bugfix
2021-02-13 14:23:35 -08:00
Ryan Oldenburg
4a9c26d4ff mask+mask bugfix 2021-02-13 16:03:15 -06:00
treeform
2c959cd231
Merge pull request #106 from guzba/master
simd drawUber for all the combos
2021-02-11 20:50:55 -08:00
Ryan Oldenburg
64e5016df6 draw mask.image simd 2021-02-11 22:37:40 -06:00
Ryan Oldenburg
debceb255a image + (image|mask) works 2021-02-11 22:12:30 -06:00
Ryan Oldenburg
243f9a3ba1 better names 2021-02-11 22:12:12 -06:00
Ryan Oldenburg
70ab79b607 draw uber takes Image | Mask + works w/o simd so far 2021-02-11 15:29:11 -06:00
Ryan Oldenburg
04c7bd87d8 shadow, spread benchmarks 2021-02-11 15:05:40 -06:00
treeform
08064673b7
Merge pull request #105 from guzba/master
simd image blend when possible
2021-02-11 12:59:06 -08:00
Ryan Oldenburg
d07c77095d blend + rotation mat test 2021-02-11 14:56:47 -06:00
Ryan Oldenburg
abbcc717cd fix 2021-02-11 14:40:30 -06:00
Ryan Oldenburg
50a4687d67 move 2021-02-11 14:08:09 -06:00
Ryan Oldenburg
d0294ebec7 move to bottom of file now 2021-02-11 14:05:37 -06:00
Ryan Oldenburg
01f6248522 simd image blend when possible 2021-02-11 13:57:19 -06:00
treeform
133bb0aa11
Merge pull request #104 from guzba/master
benchmarks
2021-02-11 11:27:53 -08:00
Ryan Oldenburg
cb0706efc5 benchmarks 2021-02-11 13:26:38 -06:00
treeform
e9a98e3dd1
Merge pull request #103 from guzba/master
sharpen mask, some mask blends, draw y optimization
2021-02-11 11:16:32 -08:00
Ryan Oldenburg
b6b1d3a44c sharpen -> ceil 2021-02-11 13:14:06 -06:00
Ryan Oldenburg
7e06625c27 y min, max when drawing optimization 2021-02-11 12:45:52 -06:00
Ryan Oldenburg
a40683920d sharpen masks + simd, blend masks 2021-02-11 02:38:27 -06:00
Ryan Oldenburg
e17d0c742d roundedRect clockwise vs counter 2021-02-11 01:44:46 -06:00
treeform
8f3ad8f936
Merge pull request #102 from guzba/master
comment out blends not avail in figma
2021-02-10 20:26:26 -08:00
Ryan Oldenburg
d8b01fa885 comment out blends not avail in figma 2021-02-10 22:21:56 -06:00
treeform
a7cb277d4f
Merge pull request #101 from guzba/master
several blends with premul alpha directly
2021-02-10 20:14:52 -08:00
treeform
274ab1592f
Merge pull request #100 from guzba/master
blends work (but at the cost of tostraightalpha, blend, topremultipliedalpha)
2021-02-10 20:10:48 -08:00
Ryan Oldenburg
b3bc1225d4 f 2021-02-10 16:31:12 -06:00
Ryan Oldenburg
55051f944c premul alpha version of many blends, ~4x faster for each 2021-02-10 15:59:08 -06:00
Ryan Oldenburg
cc63165c9b rest of blends work by converting back to straight alpha first (except 2 missing tests) 2021-02-10 14:37:15 -06:00
Ryan Oldenburg
0cdb84407b unused 2021-02-10 13:48:18 -06:00
Ryan Oldenburg
0cf0c95791 fix exclusion blend 2021-02-10 13:46:58 -06:00
treeform
955a38ae6a
Merge pull request #99 from guzba/master
switch to premultiplied alpha, faster blurs
2021-02-09 21:53:34 -08:00
Ryan Oldenburg
81dbfacdda blendExclusion 50% faster 2021-02-09 23:34:49 -06:00
Ryan Oldenburg
59b186b535 group float timings (to easily disable, they are going away) 2021-02-09 23:32:13 -06:00