Skip to content
Permalink
Branch: Bug1249
Commits on Oct 7, 2015
  1. Bug 1249: WindowImpl: update STATE_BIT_VISIBLE after reconfigureWindo…

    xranby committed Oct 7, 2015
    …wImpl
  2. Bug 1189 - Add OpenGL ES 3.2 and new GL 4.5 Extensions support - Part…

    sgothel committed Oct 7, 2015
    …5: GL_ARB_ES3_2_compatibility -> [GL|GLContext].isGLES32Compatible()
  3. Bug 1189 - Add OpenGL ES 3.2 and new GL 4.5 Extensions support - Part…

    sgothel committed Oct 7, 2015
    …4: Fix GLNameResolver: Add all known vendor extensions
  4. Bug 1189 - Add OpenGL ES 3.2 and new GL 4.5 Extensions support - Part…

    sgothel committed Oct 7, 2015
    …3: GLEmitter: Don't RenameExtensionIntoCore for IgnoredExtensions
  5. Bug 1189 - Add OpenGL ES 3.2 and new GL 4.5 Extensions support - Part…

    sgothel committed Oct 7, 2015
    …2: Update gluegen configs
    
    +#
    +# Ignored new extensions added in gl2ext.h 2015-10-06
    +# see jogl/make/scripts/diff-gl2ext.sh
    +# FIXME: Refine for 2.4.0
    +#
    +IgnoreExtension GL_KHR_no_error
    +IgnoreExtension GL_EXT_YUV_target
    +IgnoreExtension GL_EXT_blend_func_extended
    +IgnoreExtension GL_EXT_buffer_storage
    +IgnoreExtension GL_EXT_color_buffer_float
    +IgnoreExtension GL_EXT_float_blend
    +IgnoreExtension GL_EXT_multisampled_compatibility
    +IgnoreExtension GL_EXT_post_depth_coverage
    +IgnoreExtension GL_EXT_raster_multisample
    +IgnoreExtension GL_EXT_sparse_texture
    +IgnoreExtension GL_EXT_texture_filter_minmax
    +IgnoreExtension GL_EXT_texture_sRGB_R8
    +IgnoreExtension GL_EXT_texture_sRGB_RG8
    +IgnoreExtension GL_OVR_multiview
    +IgnoreExtension GL_OVR_multiview2
  6. Bug 1189 - Add OpenGL ES 3.2 and new GL 4.5 Extensions support - Part…

    sgothel committed Oct 7, 2015
    …1b: Update Khronos Headers eglext.h (missed)
  7. Bug 1189 - Add OpenGL ES 3.2 and new GL 4.5 Extensions support - Part…

    sgothel committed Oct 7, 2015
    …1: Update Khronos Headers
Commits on Oct 5, 2015
  1. Bug 1239: Support OSX input via 'avfoundation' ; Use remaining camera…

    sgothel committed Oct 5, 2015
    … ID (index) as filename for OSX
  2. Bug 1239: Fix GLMediaPlayer.CameraInputScheme API doc; GLMediaPlayerI…

    sgothel committed Oct 5, 2015
    …mpl.updateAttributes avoid div-by-zero (fps inf)
  3. Bug 1223: Add '-traceMouse' commandline argument to check whether mou…

    sgothel committed Oct 5, 2015
    …se events are still received after manual maximize
  4. Bug 1206 - Security: Clear exposed framebuffer after creation and bef…

    sgothel committed Oct 5, 2015
    …ore visibility
    
    Experimenting w/ no GLEventListener attached to an GLAutoDrawable,
    e.g. GLWindow (onscreen), GLJPanel (fbo offscreen),
    indeed on some GL implementations the default framebuffer is uninitialized
    and hence shows garbage.
    
    GLDrawableHelper.setViewportAndClear(..)
     - Clear framebuffer after setting viewport
     - Called from:
       - public final void init(..)
       - public final void reshape(..)
    
     - Method is used independent of GLEventListener,
       hence this simplifies implementation: removes 'setViewport' criteria
       for init, display, reshape: it is always performed!
    
    Note: We only attempt to help against leaking un-initialized framebuffer content
    not against user-app faults, we do not clear a 2nd-buffer (double-buffering).
    
    Note: We may still be late at resize, i.e. small noisy flickering might be visible.
    This might be due to lack of proper vsync.
Commits on Oct 4, 2015
  1. Fix: junit/jogl/awt/TestBug1225EventQueueInterruptedAWT and junit/jog…

    xranby committed Oct 4, 2015
    …l/util/texture/TestTextureIONEWT
    
    replacing import junit.framework.* with import org.junit.* fixed the "Stub!" Exception seen
    when runing the junit tests from inside Eclipse
Commits on Oct 3, 2015
  1. Bug 1245: Adding Unit Test, similar to TestBug816JTabbedPanelVisibili…

    sgothel committed Oct 3, 2015
    …tyB849B878AWT
    
    TestBug1245JTabbedPanelCrashAWT passed as expected on
    GNU/Linux, Debian8, amd64 w/:
    - proprietary NV
    
    - GL_RENDERER   = Gallium 0.4 on AMD ARUBA
      GL_VERSION    = 3.0 Mesa 10.3.2
      GL_VENDOR     = X.Org
  2. Bug 1206: Test TestGearsES2NEWT: Versatile 'demoType' allows also no …

    sgothel committed Oct 3, 2015
    …GLEventListener at all
  3. Fix: com.jogamp.opengl.test.junit.jogl.acore.TestGLProfile04NEWTOffsc…

    xranby committed Oct 3, 2015
    …reenNoARBCtx
    
    java.lang.AssertionError: Property 'jogl.disable.openglarbcontext' set, but created w/ ARB
    	at org.junit.Assert.fail(Assert.java:88)
    	at org.junit.Assert.assertTrue(Assert.java:41)
    	at org.junit.Assert.assertFalse(Assert.java:64)
    	at com.jogamp.opengl.test.junit.jogl.acore.GLProfile0XBase.validateOnlineOffscreen(GLProfile0XBase.java:920)
  4. Bug 1244: MovieSimple: String format %d implicit conversion from bool…

    xranby committed Oct 3, 2015
    …ean to int fails using OpenJDK 1.8
    
    Replace %d with %b
  5. Bug 1238 - Fix NPE for Window-Icon's PNGPixelRect for unresolved loca…

    sgothel committed Oct 3, 2015
    …tion; Bug 1199 - Add setting to disable default window icons
    
    Bug 1238 - Fix NPE for Window-Icon's PNGPixelRect for unresolved location, i.e. null URLConnections
    
    Testing w/ jogl/make/scripts/tests.sh USE_BUILDDIR=1,
    discloses this issue - since the icons are available in jar only.
    
    Handling all unresolved resources, i.e. null URLConnection,
    is required.
    
    Further more, the icon list passed via property 'newt.window.icons'
    shall be separated by comma as well.
    This allows passing the list via scripts more conveniently.
      -Dnewt.window.icons="newt/data/jogamp-16x16.png,newt/data/jogamp-32x32.png"
    
    +++
    
    Bug 1199 - Add setting to disable default window icons
    
    This patch also allows disabling JogAmp's own window icons
    by simply defining a non-existing location, i.e.
      -Dnewt.window.icons="null,null"
  6. Bug 1237: Adopt GlueGen's clarification of IOUtil.getResource(..), co…

    sgothel committed Oct 3, 2015
    …mmit d78bb1be0a6290cb94918b21865a023c01825048
    
    - Skip relative lookup for IOUtil.ClassResources using 'asset' only (from JAR file)
    
    - Tested w/ jar file and build-dir, see scripts/tests.sh 'USE_BUILDDIR'
Commits on Oct 2, 2015
  1. Bug 1241 - Util's Texture.coords (image coordinates) not updated prop…

    sgothel committed Oct 2, 2015
    …erly
    
    Adding 'imageTarget', i.e. GL target for this texture or its sub-components if cubemap
    The imageTarget preserves the used 2D image type
    for the 2D Texture coordinates.
    
    Note: 'Texture.updateImage(final GL gl, final TextureData data, final int targetOverride)'
    needs an overhaul targeted for 2.4.0.
Commits on Oct 1, 2015
  1. Bug 1205: Revert clear background to support fix for Bug 1232: NEWT T…

    sgothel committed Oct 1, 2015
    …ranslucency Windows >= 8
    
    Reverting 'clear backrgound' portion of commit f607c01.
    It has been identified, that Windows does initialize onscreen windows (i.e. w/ white/DESKTOP color).
    
    This is also required for allowing translucent windows,
    since clearing the background intefers on Windows >= 8 (undecorated windows).
  2. Bug 1232 - NEWT Translucent Decorated Windows Not Working On Windows …

    sgothel committed Oct 1, 2015
    …>= 8 (Lack of Aero / Blur )
    
    Adopting new undocumented user32.dll Windows >= 8 API:
      - SetWindowCompositionAttribute / AccentState
    
    See:
      - <https://github.com/riverar/sample-win10-aeroglass/blob/master/MainWindow.xaml.cs>
      - <http://withinrafael.com/adding-the-aero-glass-blur-to-your-windows-10-apps/>
      - <http://undoc.airesoft.co.uk/user32.dll/SetWindowCompositionAttribute.php>
      - <http://undoc.airesoft.co.uk/user32.dll/GetWindowCompositionAttribute.php>
    
    +++
    
    Cleaning up WindowsDWM.h, use on header file (in stub_includes)
    for GlueGen and implementation.
    
    +++
    
    Merge java implementation within GDIUtil.DwmSetupTranslucency(..),
    to be utilized by NEWT and JOGL.
    
    NEWT issues GDIUtil.DwmSetupTranslucency(..) at creation
    and when toggling decoration.
    
    Toggling decoration on Win >= 8 leads to lost of translucency
    when returning to decorated window.
    On Win 7, this may work .. but is also buggy.
    
    +++
    
    Followup patch is needed for NEWT to _not_ clear the background!
Commits on Sep 29, 2015
  1. Bug 1225: Unit test shall not fail if AWT is not alive, simply report…

    sgothel committed Sep 29, 2015
    … and return - assume failure is recorded
  2. Bug 1205 - NEWT Security: Clear framebuffer after creation and before…

    sgothel committed Sep 29, 2015
    … visibility (Windows Onscreen)
    
    WindowsWindow.c:
      - WindowUserData.isInCreation set while window at initizalization,
        i.e. before final size/pos/visibility.
    
        Also no visibility until final NewtWindow_setVisiblePosSize(..) call.
        This is possible since even w/o ShowWindow upfront,
        UpdateInsets(..) is able to gather accurate values.
    
      - Suppress any Java callback while WindowUserData.isInCreation,
        issue one callback when window is final.
        Use newly accumulated callback WindowImpl.sizePosInsetsFocusVisibleChanged(..)
    
      - While WindowUserData.isInCreation, WM_PAINT triggers WM_ERASEBKGND
        and WM_ERASEBKGND actually erases background w/ window background color.
  3. NEWT WindowImpl.createNative(): Post creation: Only perform mod-actio…

    sgothel committed Sep 29, 2015
    …ns if non default (performance)
Commits on Sep 28, 2015
  1. Bug 1225: Make unit test more robuts, notify if JRE 1.7.0 issue w/ in…

    sgothel committed Sep 28, 2015
    …terrupted AWT-EDT
    
    The reporter claims that an interrupt on the AWT-EDT shall not disturb neither AWT nor JOGL's GLCanvas
    and rendering shall continue.
    
    - This seems to be true for JRE 1.8.0_60
    - This seems to be false for JRE 1.7.0_45. This JRE's AWT-EDT even dies occasionally when interrupted.
  2. Bug 1234 - GLReadBufferUtil.readPixelsImpl(..) not using [xy] offset …

    sgothel committed Sep 28, 2015
    …in readTexture.updateSubImage(..)
    
    The passed inX and inY x/y offset for readPixel -> [textureData] buffer,
    must be passed to readTexture.updateSubImage(..)'s destination offset.
    
    I.e. the buffer's content starting at beginning is filled via glReadPixels
    w/ offset applied.
    
    Hence the texture update must pass the offset as the destination offset,
    i.e. to be used for glTexSubImage2D's offset.
  3. Bug 1233 - Add missing range- and pbo-bound checks on glTexture[Sub]I…

    sgothel committed Sep 28, 2015
    …mage[123]D*
    
    Adding missing range- and pbo-bound checks for:
    - glTextureImage1DEXT
    - glTextureImage2DEXT
    - glTextureImage3DEXT
    - glTextureSubImage1D
    - glTextureSubImage1DEXT
    - glTextureSubImage2D
    - glTextureSubImage2DEXT
    - glTextureSubImage3D
    - glTextureSubImage3DEXT
Older
You can’t perform that action at this time.