Commit graph

6 commits

Author SHA1 Message Date
Chad Brokaw ff4f71ef3c wgsl port in realtime
* add writeable image support to engine
* add external resources to engine
* update fine to output to a texture
* copy over original piet-gpu test scenes
* put it all in a pretty (resizable!) window
2022-11-25 17:16:56 -05:00
Chad Brokaw adc9811776 add clips and blends 2022-11-18 17:26:26 -05:00
Chad Brokaw 9adeaf3e82 format 2022-11-16 12:02:11 -05:00
Chad Brokaw 20f7b68514 finish gradient support 2022-11-16 10:49:38 -05:00
Raph Levien c3d81e0985 Mostly working path rendering
It draws multiple paths and applies affine transformations.

One problem: RGBA writing is byte-reversed and premultiplied.
2022-11-04 08:59:23 -07:00
Raph Levien b6c4963d4c Initial commit of piet-wgsl
Starting an experimental port to WGSL shader language, using wgpu to run the examples. As of this commit, it's quite hacky and takes some shortcuts, but does render paths to a grayscale texture.
2022-10-24 15:08:14 -07:00