Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Unstable

Changes

Summary

  1. Bug 1031: Remove Deprecated Classes and Methods (JOGL) (details)
Commit ec2d94ca26ddab8ec67135ebc5f2d0a43f6a4c25 by Sven Gothel
Bug 1031: Remove Deprecated Classes and Methods (JOGL)

Removed Deprecated Class:
  - com/jogamp/opengl/util/TGAWriter.java
    - Use TextureIO w/ .tga suffix

  - com/jogamp/opengl/util/awt/Screenshot.java
    - Use:
      - com.jogamp.opengl.util.GLReadBufferUtil, or
      - com.jogamp.opengl.util.awt.AWTGLReadBufferUtil
      The latter for reading into AWT BufferedImage

      See: TestBug461FBOSupersamplingSwingAWT, TestBug605FlippedImageAWT

  - javax/media/opengl/GLPbuffer.java
    - Use:
      caps.setPBuffer(true);
      final GLAutoDrawable pbuffer = GLDrawableFactory.getFactory( caps.getGLProfile() ).createOffscreenAutoDrawable(null, caps, null, 512, 512);
    - See: TestPBufferDeadlockAWT, ..

Removed Deprecated Methods:
  - Constructor of AWT-GLCanvas, SWT-GLCanvas, AWT-GLJPanel
    with argument 'final GLContext shareWith'
    See GLSharedContextSetter, i.e. glCanvas.setSharedContext(..) !

  - GLDrawableFactory.createOffscreenAutoDrawable(..)
    with argument 'final GLContext shareWith'
    See GLSharedContextSetter, i.e. offscreenAutoDrawable.setSharedContext(..) !

  - GLDrawableFactory.createGLPbuffer(..),
    see above!

  - com.jogamp.opengl.util.av.AudioSink 'enqueueData(AudioDataFrame audioDataFrame)',
    use 'enqueueData(int, ByteBuffer, int)'

  - GLSharedContextSetter.areAllGLEventListenerInitialized(),
    migrated to GLAutoDrawable !

  - GLBase's
    - glGetBoundBuffer(int), use getBoundBuffer(int)
    - glGetBufferSize(int), use getBufferStorage(int).getSize()
    - glIsVBOArrayBound(), use isVBOArrayBound()
    - glIsVBOElementArrayBound(), use isVBOElementArrayBound()

  - NEWT MouseEvent.BUTTON_NUMBER, use BUTTON_COUNT
The file was modified src/jogl/classes/javax/media/opengl/awt/GLCanvas.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/glsl/GLSLMiscHelper.java (diff)
The file was removedsrc/jogl/classes/jogamp/opengl/MemoryObject.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/util/av/NullAudioSink.java (diff)
The file was removedsrc/jogl/classes/javax/media/opengl/GLPbuffer.java (diff)
The file was removedsrc/jogl/classes/com/jogamp/opengl/util/TGAWriter.java (diff)
The file was modified src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java (diff)
The file was modified src/jogl/classes/com/jogamp/opengl/util/av/AudioSink.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/GLBufferObjectTracker.java (diff)
The file was modified make/scripts/tests.sh (diff)
The file was modified make/config/jogl/gl-impl-CustomJavaCode-gl4bc.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/awt/TestBug461PBufferSupersamplingSwingAWT.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/GLAutoDrawable.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/openal/av/ALAudioSink.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/Threading.java (diff)
The file was modified make/config/jogl/glu-CustomJavaCode-gl2.java (diff)
The file was modified make/config/jogl/glu-CustomJavaCode-gl2es1.java (diff)
The file was modified make/config/jogl/gl-impl-CustomJavaCode-gles3.java (diff)
The file was modified src/jogl/classes/com/jogamp/opengl/util/awt/AWTGLReadBufferUtil.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/GLDrawableFactory.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/awt/TestBug461FBOSupersamplingSwingAWT.java (diff)
The file was removedsrc/jogl/classes/com/jogamp/opengl/util/awt/Screenshot.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLExtensionQueryOffscreen.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/GLSharedContextSetter.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/GLContextImpl.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/GLDrawableFactoryImpl.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/event/MouseEvent.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/util/av/JavaSoundAudioSink.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestPBufferDeadlockAWT.java (diff)
The file was removedsrc/jogl/classes/jogamp/opengl/GLPbufferImpl.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/caps/TestBug605FlippedImageAWT.java (diff)
The file was modified make/config/jogl/gl-impl-CustomJavaCode-common.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestNEWTCloseX11DisplayBug565.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/GLBase.java (diff)
The file was modified make/config/jogl/gl-if-CustomJavaCode-es3.java (diff)
The file was modified make/config/jogl/glu-CustomJavaCode-base.java (diff)