[Vala] OpenGL and gtkglext Bindings!!!



Hello everyone,

I add the OpenGL (gl.vapi and glu.vapi) and gtkglext (gtkglext-1.0.vapi) bindings!!!

There are all the consts, functions, enums, objects, etc.. But I need testers for this bindings because maybe there is typing errors.

Compile the sample code in this mail with:
valac prueba.vala --pkg gtk+-2.0 --pkg gtkglext-1.0 --pkg gdk-2.0 --pkg gl --pkg glu

WARNING: we need to change this header file (/usr/include/gtkglext-1.0/gdk/gdkglconfig.h) because will have an compilation error.

replace 'GDK_IS_GL_CONFIG' with: 'GDK_GL_IS_CONFIG'
replace 'GDK_IS_GL_CONFIG_CLASS' with: 'GDK_GL_IS_CONFIG_CLASS'

I don't know if this is a bug of gtkglext.
ANOTHER WARNING: This code do not work with compiz-fusion enabled!!!!!!

Any comment or test will be welcome.
Matias

Attachment: prueba.vala
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]