#include #include /* Must included before X11/Xlib.h */ //#include /* Seems included by GL/glxew.h */ #include /* For GLXContext, must appear before gl.h, includes X11/Xlib.h */ #include /* Includes a GL/gl.h (the right one ??) */ //#include //#include //#include int initLibs(); #ifdef HAS_OPENCL #include int initOpenCL(); #else // Quick and dirty cl_float4 replacement typedef union { float s[4]; struct{ float x, y, z, w; }; struct{ float s0, s1, s2, s3; }; } cl_float4; #endif /*HAS_OPENCL*/ bool updateGLProjectionMatrix(Glib::RefPtr glCtx, Glib::RefPtr glWin, int width, int height);