[cairo] A new OpenGL backend for Cairo

Jeff Muizelaar jeff at infidigm.net
Thu Jun 11 08:22:59 PDT 2009


On Wed, Jun 10, 2009 at 07:09:59PM +0200, Luca Barbieri wrote:
> Hello,
> I'd like to present a new OpenGL backend for Cairo, originally based
> on Eric Anholt's GL backend, that I wrote for fun.
> 
> You can find it on git://repo.or.cz/cairo/gpu.git in the "gpu" branch.
> 
> It features:
> - OpenGL code is separate, so that it can replaced with a Gallium
> state tracker or DRM backends
> - MSAA support on surfaces
> - Use of MSAA or polygon smoothing to render a trapezoid mask on the GPU
> - Generic component alpha compositing (currently used for subpixel
> text), using a generalization of Eric Anholt's 2-pass OVER technique
> - Hardware transforms
> - Text rendering using a "cache surface" method like Glitz
> - Region clipping using glClipPlane
> - Correct support for unbounded operators in span, traps and glyph rendering
> - Should (mostly) pass the testsuite if pixel-perfection issues are ignored

Very interesting. Have you done any benchmarking to see what the
performance is like?

-Jeff


More information about the cairo mailing list