2013-11-05 10:45:26 +00:00
|
|
|
#ifndef OPENGL_GLOBAL_H
|
|
|
|
#define OPENGL_GLOBAL_H
|
|
|
|
|
|
|
|
#include <QtCore/qglobal.h>
|
|
|
|
|
|
|
|
#if defined(OPENGL_LIBRARY)
|
|
|
|
# define OPENGLSHARED_EXPORT Q_DECL_EXPORT
|
|
|
|
#else
|
|
|
|
# define OPENGLSHARED_EXPORT Q_DECL_IMPORT
|
|
|
|
#endif
|
|
|
|
|
2013-11-12 20:34:35 +00:00
|
|
|
#include "software_global.h"
|
|
|
|
|
2013-11-05 10:45:26 +00:00
|
|
|
namespace paysages {
|
2013-11-12 20:34:35 +00:00
|
|
|
namespace opengl {
|
|
|
|
class WidgetExplorer;
|
2013-11-14 20:05:12 +00:00
|
|
|
class OpenGLRenderer;
|
2013-12-21 22:48:54 +00:00
|
|
|
class OpenGLShaderProgram;
|
2013-12-22 14:04:33 +00:00
|
|
|
class OpenGLSharedState;
|
|
|
|
class OpenGLVariable;
|
2013-12-21 22:48:54 +00:00
|
|
|
class OpenGLSkybox;
|
2013-12-21 23:41:19 +00:00
|
|
|
class OpenGLWater;
|
2013-12-23 13:09:52 +00:00
|
|
|
class OpenGLTerrain;
|
|
|
|
class ExplorerChunkTerrain;
|
2013-12-23 16:24:05 +00:00
|
|
|
template <typename Vertex> class VertexArray;
|
2013-11-12 20:34:35 +00:00
|
|
|
}
|
2013-11-05 10:45:26 +00:00
|
|
|
}
|
|
|
|
using namespace paysages::opengl;
|
|
|
|
|
2013-12-23 09:26:29 +00:00
|
|
|
//#define OpenGLFunctions QOpenGLFunctions_3_2_Core
|
|
|
|
#define OpenGLFunctions QOpenGLFunctions_3_0
|
|
|
|
#define OPENGL_FUNCTIONS_INCLUDE <OpenGLFunctions>
|
|
|
|
class OpenGLFunctions;
|
|
|
|
|
2013-11-05 10:45:26 +00:00
|
|
|
#endif // OPENGL_GLOBAL_H
|