aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2008-05-28 02:37:45 +0000
committerKenneth Russel <[email protected]>2008-05-28 02:37:45 +0000
commit95c3974708231607d729830ae711a0864a961b71 (patch)
tree2fb2df4cdf04851b73234353538d2dd0dd087ed1 /make/stub_includes
parentfbcbb9ab19b0e2e85250f5e3653c3a3d7bf12e8d (diff)
Filled out EGLContext, EGLDrawable, and EGLDrawableFactory
implementations on top of autogenerated EGL binding. Added GLDrawableFactory.initialize(String) taking the profile name (PROFILE_GL_20, PROFILE_GLES1, and PROFILE_GLES2 defined in GLDrawableFactory) to bootstrap the system and allow run-time selection of the window system binding. Modified eglplatform.h to extend EGLNativeDisplayType to pointer size. Changed egl.cfg to change most EGL types to opaque longs. Still missing pieces include the function pointer lookup and autogeneration of the EGL binding in all situations. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1643 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/stub_includes')
-rwxr-xr-xmake/stub_includes/gluegen_egl/EGL/eglplatform.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/make/stub_includes/gluegen_egl/EGL/eglplatform.h b/make/stub_includes/gluegen_egl/EGL/eglplatform.h
index 4a32edeef..28dba6bee 100755
--- a/make/stub_includes/gluegen_egl/EGL/eglplatform.h
+++ b/make/stub_includes/gluegen_egl/EGL/eglplatform.h
@@ -46,9 +46,12 @@ extern "C" {
#define EGLAPI
// Define native window system types
-typedef int EGLNativeDisplayType;
-typedef void* EGLNativeWindowType;
-typedef void* EGLNativePixmapType;
+typedef struct {} _EGLNativeDisplayType;
+typedef struct {} _EGLNativeWindowType;
+typedef struct {} _EGLNativePixmapType;
+typedef _EGLNativeDisplayType* EGLNativeDisplayType;
+typedef _EGLNativeWindowType* EGLNativeWindowType;
+typedef _EGLNativePixmapType* EGLNativePixmapType;
#ifdef __cplusplus
}