[cairo] cairo with open GL backend

Alexandros Frantzis alexandros.frantzis at linaro.org
Fri Nov 19 03:40:28 PST 2010

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.

> If by simply using the OpenGL backend for cairo , will the images rendered
> be hardware accelerated??

If your OpenGL is HW accelerated then the drawing will be too.


More information about the cairo mailing list