2013-11-05 10:45:26 +00:00
|
|
|
#ifndef OPENGL_GLOBAL_H
|
|
|
|
#define OPENGL_GLOBAL_H
|
|
|
|
|
2015-11-18 18:37:00 +00:00
|
|
|
#include "software_global.h"
|
2013-11-05 10:45:26 +00:00
|
|
|
|
|
|
|
#if defined(OPENGL_LIBRARY)
|
2015-11-09 21:30:46 +00:00
|
|
|
#define OPENGLSHARED_EXPORT Q_DECL_EXPORT
|
2013-11-05 10:45:26 +00:00
|
|
|
#else
|
2015-11-09 21:30:46 +00:00
|
|
|
#define OPENGLSHARED_EXPORT Q_DECL_IMPORT
|
2013-11-05 10:45:26 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
namespace paysages {
|
2013-11-12 20:34:35 +00:00
|
|
|
namespace opengl {
|
2015-11-09 21:30:46 +00:00
|
|
|
class WidgetExplorer;
|
|
|
|
class OpenGLRenderer;
|
|
|
|
class OpenGLShaderProgram;
|
|
|
|
class OpenGLSharedState;
|
|
|
|
class OpenGLVariable;
|
|
|
|
class OpenGLSkybox;
|
|
|
|
class OpenGLWater;
|
|
|
|
class OpenGLTerrain;
|
2015-11-25 22:15:58 +00:00
|
|
|
class OpenGLVegetation;
|
|
|
|
class OpenGLVegetationLayer;
|
|
|
|
class OpenGLVegetationInstance;
|
|
|
|
class OpenGLVegetationImpostor;
|
2015-11-09 21:30:46 +00:00
|
|
|
class ExplorerChunkTerrain;
|
|
|
|
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_0
|
2015-12-03 22:04:50 +00:00
|
|
|
//#define OpenGLFunctions QOpenGLFunctions_3_3_Core
|
2013-12-23 09:26:29 +00:00
|
|
|
class OpenGLFunctions;
|
|
|
|
|
2013-11-05 10:45:26 +00:00
|
|
|
#endif // OPENGL_GLOBAL_H
|