[cairo] gtk3, cairo, opengl, python2.7

Patrick Shirkey pshirkey at boosthardware.com
Mon Sep 24 02:25:19 PDT 2012


On Mon, September 24, 2012 6:25 pm, Oscar Lazzarino wrote:
> On 09/22/2012 11:29 PM, Patrick Shirkey wrote:
>>
>>
>> I am specifically looking for an example that has cairo + opengl with
>> python2.7 and gtk3 :-)
>>
>> I have code for cairo+python2.7+gtk3 and that is working well for me but
>> I
>> have a requirement for loading opengl too and my research suggests that
>> leveraging cairo for this is one of the options.
>>
>> I am also working on pyclutter, gtkglext and if neccessary sdl options
>> too. I am just trying to find the most efficient and portable method.
>>
>
> AFAIK there is absolutely no support for OpenGL in gtk3 (and gtkglext
> will only work with gtk2.4), but I hope I am wrong.
>

Well, I have clutter working now but I would like to be have the option of
loading some existing opengl code directly so that;s where cairo, gtkglext
and sdl come in.

I have read that cairo can load opengl but al the examples I find are
written in c.



--
Patrick Shirkey
Boost Hardware Ltd


More information about the cairo mailing list