Jogamp
JOGL: Complete eager and lazy mapping of GLProfiles in respect to multiple device.
authorSven Gothel <sgothel@jausoft.com>
Sun, 14 Nov 2010 08:04:45 +0000 (09:04 +0100)
committerSven Gothel <sgothel@jausoft.com>
Sun, 14 Nov 2010 08:04:45 +0000 (09:04 +0100)
commit83d3a3f2ea8dc328e621b3abbe671f46379c7e65
treeb7fafe2ef1610a6be0723316ae5bf5938b9f222d
parentc3bfb82614e9fa0f8ea7169cd412a6f0c71973e0
JOGL: Complete eager and lazy mapping of GLProfiles in respect to multiple device.

AbstractGraphicsDevice's 'connection' and 'type' attribute is used as a unique key
to map GLProfiles and GLContext's major/profile -> major/minor/profile mapping.

Eager initialiaztion as well as lazy is supported to maintain a simple API.

This is currently tested on X11, where one app display NEWT/GL window and content
on the local and remote device.

See TestRemoteWindow01NEWT.java and TestRemoteGLWindows01NEWT.java
30 files changed:
etc/test.bat
etc/test.sh
make/scripts/java-win64-dbg.bat
make/scripts/make.jogl.all.linux-x86_64.sh
make/scripts/tests.bat
make/scripts/tests.sh
src/jogl/classes/com/jogamp/opengl/JoglVersion.java
src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java
src/jogl/classes/com/jogamp/opengl/impl/GLDrawableFactoryImpl.java
src/jogl/classes/com/jogamp/opengl/impl/awt/Java2D.java
src/jogl/classes/com/jogamp/opengl/impl/egl/EGLContext.java
src/jogl/classes/com/jogamp/opengl/impl/egl/EGLDrawableFactory.java
src/jogl/classes/com/jogamp/opengl/impl/macosx/cgl/MacOSXCGLContext.java
src/jogl/classes/com/jogamp/opengl/impl/macosx/cgl/MacOSXCGLDrawableFactory.java
src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsWGLContext.java
src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsWGLDrawableFactory.java
src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsWGLGraphicsConfiguration.java
src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java
src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXContext.java
src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java
src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXGraphicsConfiguration.java
src/jogl/classes/javax/media/opengl/GLCapabilities.java
src/jogl/classes/javax/media/opengl/GLContext.java
src/jogl/classes/javax/media/opengl/GLDrawableFactory.java
src/jogl/classes/javax/media/opengl/GLProfile.java
src/jogl/classes/javax/media/opengl/awt/GLCanvas.java
src/jogl/classes/javax/media/opengl/awt/GLJPanel.java
src/junit/com/jogamp/test/junit/newt/TestGLWindows00NEWT.java [new file with mode: 0644]
src/junit/com/jogamp/test/junit/newt/TestRemoteGLWindows01NEWT.java [new file with mode: 0644]
src/junit/com/jogamp/test/junit/newt/TestRemoteWindow01NEWT.java [new file with mode: 0644]
http://JogAmp.org git info: FAQ, tutorial and man pages.