diff options
author | Kenneth Russel <[email protected]> | 2008-05-28 02:37:45 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2008-05-28 02:37:45 +0000 |
commit | 95c3974708231607d729830ae711a0864a961b71 (patch) | |
tree | 2fb2df4cdf04851b73234353538d2dd0dd087ed1 /src/classes/com/sun/opengl/impl/windows | |
parent | fbcbb9ab19b0e2e85250f5e3653c3a3d7bf12e8d (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 'src/classes/com/sun/opengl/impl/windows')
-rw-r--r-- | src/classes/com/sun/opengl/impl/windows/WindowsGLDrawableFactory.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawableFactory.java b/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawableFactory.java index 6e1b4ca99..ddccfda4f 100644 --- a/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawableFactory.java +++ b/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawableFactory.java @@ -60,6 +60,10 @@ public class WindowsGLDrawableFactory extends GLDrawableFactoryImpl { NativeLibLoader.loadCore(); } + public WindowsGLDrawableFactory(String profile) { + super(profile); + } + public AbstractGraphicsConfiguration chooseGraphicsConfiguration(GLCapabilities capabilities, GLCapabilitiesChooser chooser, AbstractGraphicsDevice device) { |