1 #ifndef __eglplatform_h_ 2 #define __eglplatform_h_ 50 #define EGLAPI KHRONOS_APICALL 54 #define EGLAPIENTRY KHRONOS_APIENTRY 56 #define EGLAPIENTRYP EGLAPIENTRY* 70 #if defined(_WIN32) || defined(__VC32__) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) 71 #ifndef WIN32_LEAN_AND_MEAN 72 #define WIN32_LEAN_AND_MEAN 1 80 #elif defined(__APPLE__) || defined(__WINSCW__) || defined(__SYMBIAN32__) 86 #elif defined(__ANDROID__) || defined(ANDROID) 89 struct egl_native_pixmap_t;
95 #elif defined(__unix__) 99 #include <X11/Xutil.h> 106 #error "Platform not recognized" 126 #if defined(__cplusplus) 127 #define EGL_CAST(type, value) (static_cast<type>(value)) 129 #define EGL_CAST(type, value) ((type) (value))