Warning, file /include/opencascade/OpenGl_GlNative.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef OpenGl_GlNative_HeaderFile
0015 #define OpenGl_GlNative_HeaderFile
0016
0017
0018 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
0019 #define WIN32_LEAN_AND_MEAN
0020 #include <windows.h>
0021 #endif
0022
0023 #ifndef APIENTRY
0024 #define APIENTRY
0025 #endif
0026 #ifndef APIENTRYP
0027 #define APIENTRYP APIENTRY *
0028 #endif
0029 #ifndef GLAPI
0030 #define GLAPI extern
0031 #endif
0032
0033 #ifndef GL_APICALL
0034 #define GL_APICALL GLAPI
0035 #endif
0036
0037
0038 #ifndef GL_GLEXT_LEGACY
0039 #define GL_GLEXT_LEGACY
0040 #endif
0041 #ifndef GLX_GLXEXT_LEGACY
0042 #define GLX_GLXEXT_LEGACY
0043 #endif
0044
0045
0046 #if defined(__APPLE__)
0047 #import <TargetConditionals.h>
0048
0049 #define GL_SILENCE_DEPRECATION
0050 #if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
0051 #include <OpenGLES/ES3/gl.h>
0052 #else
0053 #include <OpenGL/gl.h>
0054 #endif
0055 #define __X_GL_H
0056 #elif defined(HAVE_GLES2) || defined(OCCT_UWP) || defined(__ANDROID__) || defined(__QNX__) || defined(__EMSCRIPTEN__)
0057 #if defined(_WIN32)
0058
0059
0060 #define GL_GLEXT_PROTOTYPES
0061 #endif
0062 #include <GLES3/gl3.h>
0063 #else
0064 #include <GL/gl.h>
0065 #endif
0066
0067 #endif