2013/12/4 Tavmjong Bah <tavmjong@...8...>:
Nvidia has an OpenGL extension that supports SVG directly.[1] They were interested in getting this into the OpenGL standard. I don't know the current state of this but it might be interesting in the future. I was asked by an Nvidia rep if Inkscape was interested in this but I told him probably not if it was limited to just Nvidia GPUs. I also recommended that he talk to the Cairo folks.
Tav
[1] https://developer.nvidia.com/gpu-accelerated-path-rendering
I heard about this extension, and it would be a perfect fit, but it's a rather bad idea to rely on this it as long as it's Nvidia-only.
This page has some documentation on rendering fills composed of cubic and quadratic Bezier splines using OpenGL without flattening (the curve is evaluated using a fragment shader): http://http.developer.nvidia.com/GPUGems3/gpugems3_ch25.html
Once we have a reliable stroke-to-path procedure in 2Geom, we can combine it with the above technique to make a pure OpenGL renderer.
Regards, Krzysztof