summaryrefslogtreecommitdiff
path: root/src/boring_parts.hpp
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2013-03-04 22:38:40 +0000
committerLudovic Pouzenc <ludovic@pouzenc.fr>2013-03-04 22:38:40 +0000
commitfc4daa1fe40d0127dbd1e9fdbd4031bade1f7522 (patch)
tree7201ac0bb6e1abd171e92b97b0d2347cffc4f0ce /src/boring_parts.hpp
parent35e25937ad05e409340e7cd356c3ce1a45a5a3f9 (diff)
download2013-gpudataviz-fc4daa1fe40d0127dbd1e9fdbd4031bade1f7522.tar.gz
2013-gpudataviz-fc4daa1fe40d0127dbd1e9fdbd4031bade1f7522.tar.bz2
2013-gpudataviz-fc4daa1fe40d0127dbd1e9fdbd4031bade1f7522.zip
Ok, première version qui affiche le mesh correctement initializé avec OpenCL et qui affiche même un sinus radial sur un clic de souris mouse1.
Reste a capturer les evenements mouse wheel et/ou clavier. git-svn-id: file:///var/svn/2013-gpudataviz/trunk@19 371a6b4a-a258-45f8-9dcc-bdd82ce0ac9d
Diffstat (limited to 'src/boring_parts.hpp')
-rw-r--r--src/boring_parts.hpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/boring_parts.hpp b/src/boring_parts.hpp
deleted file mode 100644
index 09404d8..0000000
--- a/src/boring_parts.hpp
+++ /dev/null
@@ -1,24 +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>
-
-#ifdef HAS_OPENCL
-// Blabla
-#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);
-