Commit graph

1226 commits

Author SHA1 Message Date
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
Ryan Oldenburg d9fcf71f43 blendExclusion passes tests 2021-02-09 23:28:56 -06:00
Ryan Oldenburg 3ec1710e2e blurs 2021-02-09 22:25:15 -06:00
Ryan Oldenburg b074e9bfc7 mask blends 2021-02-09 16:37:07 -06:00
Ryan Oldenburg 264b30b118 image.newMask 35% faster with simd 2021-02-09 16:08:08 -06:00
Ryan Oldenburg c95df08cbe remove old 2021-02-09 15:28:47 -06:00
Ryan Oldenburg 29047d6a46 blends, blurs, masks checkpoint 2021-02-09 15:22:37 -06:00
Ryan Oldenburg 913c7e9498 more premul blends 2021-02-09 15:22:37 -06:00
treeform 05252eeee9
Merge pull request #98 from guzba/master
updated examples
2021-02-08 21:12:28 -08:00
Ryan Oldenburg 8231583429 updated exmaples, bugfix 2021-02-08 23:07:46 -06:00
Ryan Oldenburg ad11eac936 unused 2021-02-08 22:42:55 -06:00
Ryan Oldenburg 668acb2c2b reran examples, tiger img updated 2021-02-08 22:41:41 -06:00
Ryan Oldenburg 7b012e23bb fix comments 2021-02-08 22:39:28 -06:00
Ryan Oldenburg 3e096792c0 move 2021-02-08 22:39:28 -06:00
treeform 0fe613cf7f
Merge pull request #97 from guzba/master
invert for mask, premul alpha image
2021-02-08 20:29:59 -08:00
Ryan Oldenburg 1ed4077249 invert for mask, premul alpha image 2021-02-08 22:27:00 -06:00
Ryan Oldenburg d0cb2bf7bb unused 2021-02-08 22:27:00 -06:00
treeform 875b2caff3
Merge pull request #96 from guzba/master
applyOpacity simd for image too, 10x faster as well
2021-02-08 20:26:02 -08:00
Ryan Oldenburg 29f424fe4c applyOpacity simd for image too, 10x faster as well 2021-02-08 21:44:17 -06:00
Ryan Oldenburg 6fd7df9b23 shortcut 2021-02-08 21:44:17 -06:00
treeform c765a3323c
Merge pull request #95 from guzba/master
simd mask applyOpacity, 10x faster
2021-02-08 19:16:38 -08:00
Ryan Oldenburg 6c5fa78ed9 mask applyOpacity 10x faster 2021-02-08 21:12:28 -06:00
Ryan Oldenburg 788b5a0821 consistent versions arcoss all combos 2021-02-08 20:06:07 -06:00
treeform e198e521d6
Merge pull request #94 from guzba/master
draw image into mask
2021-02-08 18:02:13 -08:00
Ryan Oldenburg 33479e5612 draw image into mask 2021-02-08 19:59:46 -06:00
treeform f2330897eb
Merge pull request #93 from guzba/master
draw mask on mask
2021-02-08 17:55:06 -08:00
Ryan Oldenburg 33b032550c draw mask on mask 2021-02-08 19:52:54 -06:00