Re:Rasterizer: A GPU-accelerated 2D vector graphics engine i...
by mindbrix on Friday September 05, 2025 @04:04AM
(#45136148)
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.
Re:Rasterizer: A GPU-accelerated 2D vector graphics engine i...
by delhanty on Friday September 05, 2025 @07:12AM
(#45137261)
Thank you very much for that concise explanation.
Re:Rasterizer: A GPU-accelerated 2D vector graphics engine i...
by cubefox on Friday September 05, 2025 @08:11AM
(#45137617)
Stupid question: Why not use the hardware (fixed function) rasterizer inside the GPU? I guess that one is only optimized for triangles.
Re:Rasterizer: A GPU-accelerated 2D vector graphics engine i...
by mindbrix on Friday September 05, 2025 @08:24AM
(#45137703)
Good question and answer ;-)
Re:Rasterizer: A GPU-accelerated 2D vector graphics engine i...
by mindbrix on Friday September 05, 2025 @08:54AM
(#45137965)
The 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.
Can you say how the it's similar and how it's different to superficially similar sounding work?
(1) https://github.com/linebender/vello , dual Apache/MIT, by Raph Levien et al
(2) https://sluglibrary.com/ , proprietary, by Eric Lengyel (Terathon)