Jogamp
JOGL/AWT: Fix ~ 2 year old regressions: Choose & Use GraphicsConfiguration for Canvas...
authorSven Gothel <sgothel@jausoft.com>
Thu, 18 Nov 2010 16:06:16 +0000 (17:06 +0100)
committerSven Gothel <sgothel@jausoft.com>
Thu, 18 Nov 2010 16:06:16 +0000 (17:06 +0100)
commit96af6c9bf2d683115996214cd895f9f9ef7ceea6
treedf27c2645d4f4db83c3def16712a5355a6cc2c2d
parent5356769e7f6ebb0ab1322ab26b2dfb9284054e0d
JOGL/AWT: Fix ~ 2 year old regressions: Choose & Use GraphicsConfiguration for Canvas. ; Adding FSAA test.

Canvas/X11:
  The Canvas GraphicsConfiguraton should be chosen before the native peer is being created.

Choosing AWT GraphicsConfiguration (all platforms):
  Don't filter our capabilities with 'AWTGraphicsConfiguration.setupCapabilitiesRGBABits(capsChosen, gc)',
  not necessary (see above) and it would remove ourrequired alpha channel.

Canvas display():
  Don't render if drawable is not realized (yet).
21 files changed:
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/impl/macosx/cgl/awt/MacOSXAWTCGLGraphicsConfigurationFactory.java
src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsPbufferWGLDrawable.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/windows/wgl/awt/WindowsAWTWGLGraphicsConfigurationFactory.java
src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXGraphicsConfigurationFactory.java
src/jogl/classes/com/jogamp/opengl/impl/x11/glx/awt/X11AWTGLXGraphicsConfigurationFactory.java
src/jogl/classes/javax/media/opengl/awt/GLCanvas.java
src/junit/com/jogamp/test/junit/jogl/awt/TestAWT01GLn.java
src/junit/com/jogamp/test/junit/jogl/awt/TestSwingAWT01GLn.java
src/junit/com/jogamp/test/junit/jogl/caps/MultisampleChooser01.java [new file with mode: 0644]
src/junit/com/jogamp/test/junit/jogl/caps/MultisampleDemo01.java [new file with mode: 0644]
src/junit/com/jogamp/test/junit/jogl/caps/TestMultisampleAWT.java [new file with mode: 0755]
src/junit/com/jogamp/test/junit/jogl/caps/TestMultisampleNEWT.java [new file with mode: 0755]
src/junit/com/jogamp/test/junit/util/MiscUtils.java
src/nativewindow/classes/javax/media/nativewindow/awt/AWTGraphicsConfiguration.java
http://JogAmp.org git info: FAQ, tutorial and man pages.