This is a work-in-progress example of rendering a cubic curve patch on the GPU. No rasterization is happening on the CPU at all. It implements an approach described by Loop/Blinn in 2005 called "Resolution Independent Curve Rendering using Programmable Graphics Hardware". This is meant to be part of a future cairo rendering-backend.
The code lives here [ Ссылка ]
Ещё видео!