[cairo] cairo with open GL backend

Luca Barbato lu_zero at gentoo.org
Fri Nov 19 04:40:37 PST 2010


On 11/19/2010 12:40 PM, Alexandros Frantzis wrote:
> On Fri, Nov 19, 2010 at 04:22:29PM +0530, guhan senthilkumar wrote:
>> Hello,
>>
>> I am trying to understand cairo with openGL backend.
>> Can anyone send me a sample application which uses cairo with openGL
>> backend?
> 
> You can check the code in boilerplate/cairo-boilerplate-glx.c or
> ...-egl.c for an example of how to set up cairo-gl.

probably _cairo_boilerplate_gl_create_window* might be the most
interesting ones.

the egl one isn't exactly useful right now. (might be useful having an
egl-gl-window variant?)

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero



More information about the cairo mailing list