[cairo] Complete, simple example for EGL

Martin Robinson mrobinson at igalia.com
Mon Jan 28 13:58:51 PST 2013

On 01/27/2013 05:18 AM, Ngoc Dao wrote:
> Hi Cairo developers,
> I'm investigating the way to use Cairo with OpenGL on Android.
> As I understand, OpenGL ES 2 with EGL must be used.
> The only example I can find so far is gl-surface-source.c
> in the test directory of Cairo source code.
> But that's not clear for a beginner like me to know how to use.
> Can someone show me a complete, simple example?

I have some simple examples here that use EGL/GLES:

Perhaps you'll find them useful.


More information about the cairo mailing list