6 ms·
Slug is primarily designed for text rendering. Vello is general purpose, like Rasterizer, but is based on GPU compute. Rasterizer uses the 'traditional' GPU pi
by mindbrix 1y ago
Slug is primarily designed for text rendering.
Vello is general purpose, like Rasterizer, but is based on GPU compute. Rasterizer uses the 'traditional' GPU pipeline. Performance numbers for both look very competitive, although Vello seems to have issues with GPU lock up at certain zoom scales. Rasterizer has been heavily tested with huge scenes at any scale.
- delhanty 1y agoThank you very much for that concise explanation.
- cubefox 1y agoStupid question: Why not use the hardware (fixed function) rasterizer inside the GPU? I guess that one is only optimized for triangles.
- mindbrix 1y agoGood question and answer ;-)
- mindbrix 1y agoThe longer answer is that using straight-edged geometry to represent curves is a resolution-dependent operation, e.g. a full screen circle may need to be flattened to an 80-sided polygon. Rasterizer can solve quadratic curves in the fragment shaders, which massively reduces the geometry needed for a scene. Also, the native rasterizer only supports MSAA, which is inferior to reference analytic area AA.