vello/piet-gpu-types/src
Raph Levien 05e81acebc Basically get gradients working
Separate out render context upload from renderer creation. Upload ramps
to GPU buffer. Encode gradients to scene description. Fix a number of
bugs in uploading and processing.

This renders gradients in a test image, but has some shortcomings. For
one, staging buffers need to be applied for a couple things (they're
just host mapped for now). Also, the interaction between sRGB and
premultiplied alpha isn't quite right. The size of the gradient ramp
buffer is fixed and should be dynamic.

And of course there's always more optimization to be done, including
making the upload of gradient ramps more incremental, and probably
hashing of the stops instead of the processed ramps.
2021-08-09 16:16:46 -07:00
..
annotated.rs Start work on gradients 2021-07-12 06:56:52 -07:00
bins.rs remove unused BinChunk type 2020-12-08 00:45:08 +01:00
encoder.rs Add scene types 2020-04-16 18:19:58 -07:00
lib.rs Experiment with new sorting scheme 2020-06-03 09:29:25 -07:00
main.rs Experiment with new sorting scheme 2020-06-03 09:29:25 -07:00
pathseg.rs collapse FillCubic and StrokeCubic into Cubic with flags for fill mode 2021-03-19 12:50:12 +01:00
ptcl.rs Start work on gradients 2021-07-12 06:56:52 -07:00
scene.rs Basically get gradients working 2021-08-09 16:16:46 -07:00
state.rs ensure consistent path segment transformation 2021-03-19 12:45:23 +01:00
test.rs Add f16 support. 2020-04-21 15:03:06 -07:00
tile.rs ensure consistent path segment transformation 2021-03-19 12:45:23 +01:00
tilegroup.rs Implement stroked polylines 2020-04-28 18:45:59 -07:00