From 8e94dca173ad4a2833b00c6a7520313c1f05f1a3 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 14 Nov 2008 09:37:04 +0000 Subject: - EGL/EGLExt - Migrated gluegen_egl with egl for easier maintenance - Updated egl header to NV latest incl extensions - Added common stdint helper git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1790 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/stub_includes/egl/EGL/eglplatform.h | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'make/stub_includes/egl/EGL/eglplatform.h') diff --git a/make/stub_includes/egl/EGL/eglplatform.h b/make/stub_includes/egl/EGL/eglplatform.h index 4a32edeef..69893006e 100755 --- a/make/stub_includes/egl/EGL/eglplatform.h +++ b/make/stub_includes/egl/EGL/eglplatform.h @@ -21,16 +21,21 @@ ** replaced with corresponding types of the native window system in egl.h. ** ** EGL and native handle values must match their types. -** -** This version of eglplatform.h is used to generate the glue code for the Java-side -** EGL class, and is intended to be platform-independent. -** */ #ifdef __cplusplus extern "C" { #endif +#if defined(_WIN32) + typedef signed __int32 int32_t; + typedef unsigned __int32 uint32_t; + typedef signed __int64 int64_t; + typedef unsigned __int64 uint64_t; +#else + #include +#endif + // Define storage class specifiers #ifndef APIENTRY #define APIENTRY @@ -50,6 +55,15 @@ typedef int EGLNativeDisplayType; typedef void* EGLNativeWindowType; typedef void* EGLNativePixmapType; +// Define 64-bit integer extensions +typedef int64_t EGLint64NV; +typedef uint64_t EGLuint64NV; + +// Define the pre-EGL 1.3 Native handle types for backwards compatibility +typedef EGLNativeDisplayType NativeDisplayType; +typedef EGLNativePixmapType NativePixmapType; +typedef EGLNativeWindowType NativeWindowType; + #ifdef __cplusplus } #endif -- cgit v1.2.3