diff options
author | Sven Gothel <[email protected]> | 2008-11-14 09:37:04 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-11-14 09:37:04 +0000 |
commit | 8e94dca173ad4a2833b00c6a7520313c1f05f1a3 (patch) | |
tree | 38196762330b7ae73ebbef13e88c17beb4910560 /make/stub_includes/egl/EGL/eglplatform.h | |
parent | 3c33acded8043f75d40046e581773d15a8b3d804 (diff) |
- 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
Diffstat (limited to 'make/stub_includes/egl/EGL/eglplatform.h')
-rwxr-xr-x | make/stub_includes/egl/EGL/eglplatform.h | 22 |
1 files changed, 18 insertions, 4 deletions
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 <stdint.h> +#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 |