diff options
Diffstat (limited to 'src/boring_parts.h')
-rw-r--r-- | src/boring_parts.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/boring_parts.h b/src/boring_parts.h deleted file mode 100644 index b4cd58d..0000000 --- a/src/boring_parts.h +++ /dev/null @@ -1,27 +0,0 @@ -#include <iostream> - -#include <gtkmm.h> /* Must included before X11/Xlib.h */ -//#include <GL/glew.h> /* Seems included by GL/glxew.h */ -//#include <GL/glxew.h> /* For GLXContext, must appear before gl.h, includes X11/Xlib.h */ -#include <gtkglmm.h> /* Includes a GL/gl.h (the right one ??) */ - -//#include <GL/gl.h> -#include <GL/glu.h> -//#include <CL/cl_gl.h> - -int initLibs(); - -#ifdef HAS_OPENCL -#include <CL/opencl.h> -int initOpenCL(intptr_t gl_display, intptr_t gl_context, intptr_t gl_vbo); -#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<Gdk::GL::Context> glCtx, Glib::RefPtr<Gdk::GL::Window> glWin, int width, int height); - |