vello/piet-gpu
Elias Naur db59b5d570 coarse,kernel4: make stroke, (non-zero) fill, solid separate commands
Before this change, every command (FillColor, FillImage, BeginClip)
had (or would need) stroke, (non-zero) fill and solid variants.

This change adds a command for each fill mode and their parameters,
reducing code duplication and adds support for stroked FillImage and
BeginClip as a side-effect.

The rest of the pipeline doesn't yet support Stroked FillImage and
BeginClip. That's a follow-up change.

Since each command includes a tag, this change adds an extra word for
each fill and stroke. That waste is also addressed in a follow-up.

Updates #70

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2021-03-19 16:43:33 +01:00
..
bin fix Vulkan errors on Wayland and Intel GPU 2021-03-19 16:43:33 +01:00
shader coarse,kernel4: make stroke, (non-zero) fill, solid separate commands 2021-03-19 16:43:33 +01:00
src use tag flags for fill vs stroke modes in scene elements 2021-03-19 12:50:12 +01:00
Cargo.toml Update dependencies 2020-11-14 08:25:43 -08:00
Ghostscript_Tiger.svg Fills 2020-05-01 19:42:20 -07:00