vello/piet-gpu/shader
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.h Start work on gradients 2021-07-12 06:56:52 -07:00
backdrop.comp Basically get gradients working 2021-08-09 16:16:46 -07:00
backdrop.spv Basically get gradients working 2021-08-09 16:16:46 -07:00
backdrop_lg.spv Basically get gradients working 2021-08-09 16:16:46 -07:00
binning.comp Start work on gradients 2021-07-12 06:56:52 -07:00
binning.spv Start work on gradients 2021-07-12 06:56:52 -07:00
bins.h all: add optional memory checks 2021-02-15 16:07:45 +01:00
build.ninja Start work on gradients 2021-07-12 06:56:52 -07:00
coarse.comp Basically get gradients working 2021-08-09 16:16:46 -07:00
coarse.spv Start work on gradients 2021-07-12 06:56:52 -07:00
elements.comp Basically get gradients working 2021-08-09 16:16:46 -07:00
elements.spv Basically get gradients working 2021-08-09 16:16:46 -07:00
kernel4.comp Start work on gradients 2021-07-12 06:56:52 -07:00
kernel4.spv Start work on gradients 2021-07-12 06:56:52 -07:00
kernel4_idx.spv use mediump precision for kernel4 colors and areas 2021-04-20 10:15:42 +02:00
mem.h avoid non-uniform barrier control flow when exhausting memory 2021-04-20 10:15:29 +02:00
path_coarse.comp avoid non-uniform barrier control flow when exhausting memory 2021-04-20 10:15:29 +02:00
path_coarse.spv avoid non-uniform barrier control flow when exhausting memory 2021-04-20 10:15:29 +02:00
pathseg.h collapse FillCubic and StrokeCubic into Cubic with flags for fill mode 2021-03-19 12:50:12 +01:00
ptcl.h Start work on gradients 2021-07-12 06:56:52 -07:00
scene.h Start work on gradients 2021-07-12 06:56:52 -07:00
setup.h Start work on gradients 2021-07-12 06:56:52 -07:00
state.h ensure consistent path segment transformation 2021-03-19 12:45:23 +01:00
tile.h ensure consistent path segment transformation 2021-03-19 12:45:23 +01:00
tile_alloc.comp Basically get gradients working 2021-08-09 16:16:46 -07:00
tile_alloc.spv Basically get gradients working 2021-08-09 16:16:46 -07:00