Permalink
Commits on Oct 15, 2015
Commits on Oct 12, 2015
  1. Streamline Composed Pipeline's interfaces and implementations (Trace*…

    … Debug*)
    
    Only add the required direct interfaces / implementations
    to interface / class derivations, not polluting overview in IDEs.
    
    Aligns w/ commit bf76b6b
    sgothel committed Oct 12, 2015
  2. Streamline GL* profile interfaces and implementations

    Only add the required direct interfaces / implementations
    to interface / class derivations, not polluting overview in IDEs.
    sgothel committed Oct 12, 2015
Commits on Oct 10, 2015
Commits on Oct 9, 2015
  1. Bug 1249: NEWT/X11 Visibility: Listening to more events for updated s…

    …tate; Adding QUIRK_BIT_VISIBILITY
    
    1) More visibility detection on post ConfigureNotify events,
    since the latter may not yet contain the updated visibility state
    as it whould (WM bug!):
      - EnterNotify
      - LeaveNotify
      - Disabled
        - Expose
        - VisibilityNotify
    
    2) Introducing quirks.
       Setting QUIRK_BIT_VISIBILITY to handle the issue where
       visibility -> false could not even be set.
    sgothel committed Oct 9, 2015
  2. Bug 1247 - TestGearsNewtAWTWrapper fails AWT recreation case removeNo…

    …tify -> addNotify, e.g. by moving to other monitor
    
    AWTCanvas removeNotify didn't cause 'local' destruction of the NEWT window,
    allowing a 'recreate' w/ subsequent addNotify.
    
    This case has been hacked-into NEWT.AWT.WindowDriver + AWTCanvas:
      - suppression of window destroy events
      - keeping fields/states intact in NEWT.AWT.WindowDriver
      - propagating signals appropriately
    
    Note: This is barely a working hack and not a fine piece of software :)
    
    This AWT backend driver exists only due to historical reasons.
    
    This hack simply proves that JAWTWindow works properly.
    sgothel committed Oct 9, 2015
  3. Bug 1247: JAWTWindow fail early w/ useful info: setAWTGraphicsConfigu…

    …ration(..) if awtConfig is null, getGraphicsConfiguration() if awtConfig is null
    sgothel committed Oct 9, 2015
  4. Bug 1249 - NEWT X11: setVisible(false) IconicState/_NET_WM_STATE_HIDD…

    …EN: Handle case where KDE unmaps the window
    
    Update our internal JavaWindow.isMapped according to MapNotify and UnmapNotify.
    This takes care of a situation (KDE) where a window is unmapped
    during IconicState.
    
    For unmapped windows we cannot interprete _NET_WM_STATE_HIDDEN
    and we have to issue XMapWindow for restoring the window.
    sgothel committed Oct 9, 2015
Commits on Oct 8, 2015
  1. Bug 1249 - NEWT X11: setVisible(*) _NET_WM_STATE_HIDDEN update not re…

    …ceived at ConfigureNotify event (2)
    
    On gnome shell WM, sometimes KDE WM,
    it has been observed that the _NET_WM_STATE_HIDDEN update (visible or invisible)
    is not received at ConfigureNotify event.
    
    Turns out the state is finally updated at FocusOut!
    
    This change tests _NET_WM_STATE_HIDDEN visibility hint
    for mapped window also for FocusIn and FocusOut events,
    besides the ConfigureNotify event.
    
    Further more, NormalState to restore a hidden but mapped
    window did not work, so it is no more being sent.
    We limit us here to _NET_ACTIVE_WINDOW.
    
    2 unit tests are prepared to test this issue:
      - TestGLWindows00NEWT
      - TestParenting01NEWT
    sgothel committed Oct 8, 2015
  2. Bug 1249 - NEWT X11: setVisible(false) IconicState not listening to _…

    …NET_WM_STATE_HIDDEN; setVisible(true) not restoring from _NET_WM_STATE_HIDDEN
    
    Using Gnome Shell 3.14.4-1~deb8u1 disclosed an issue w/ our newly utilized IconicState/_NET_WM_STATE_HIDDEN,
    i.e. visibleChanged(false) was never received.
    
    This is a regression of commit 2d837a7,
    which utilizes WM_CHANGE_STATE_IDX + IconicState for visibility
    on top-level windows.
    
    This bug consist out of _two_ isssue:
    
    1) setVisible(false) IconicState not listening to _NET_WM_STATE_HIDDEN
      Here, we 'listen' to _NET_WM_STATE_HIDDEN when receiving ConfigureNotify
      if supported _and_ XMapWindow has been issued.
      In such case existence/non-existence of _NET_WM_STATE_HIDDEN determines visibility.
      Otherwise, we have wait for MapNotify/UnmapNotify.
    
      The 'XMapWindow has been issued' criteria is tracked by new field 'JavaWindow.isMapped'
      and set/cleared when we actually issue XMapWindow/XUnmapWindow!
    
    2) setVisible(true) not restoring from _NET_WM_STATE_HIDDEN
      It has been observed that restoring IconicState/_NET_WM_STATE_HIDDEN
      via XMapWindow or even NormalState may not work reliably on WMs.
      See <https://stackoverflow.com/questions/30192347/how-to-restore-a-window-with-xlib>
    
      Hence we restore from this WM state via NormalState _and_ _NET_ACTIVE_WINDOW.
    
    Both strategies seem to work well on KDE as well as on Gnome.
    sgothel committed Oct 8, 2015
Commits on Oct 7, 2015
  1. Bug 1189: Fix gcc redefinition error, even thought typedef equals - o…

    …n OpenIndiana w/ old'ish gcc
    sgothel committed Oct 7, 2015
  2. Bug 1189 - Add OpenGL ES 3.2 and new GL 4.5 Extensions support - Part…

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

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

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

    …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
    sgothel committed Oct 7, 2015
  6. Bug 1189 - Add OpenGL ES 3.2 and new GL 4.5 Extensions support - Part…

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

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

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

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

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

    …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.
    sgothel committed Oct 5, 2015
Commits on Oct 4, 2015
  1. Fix: junit/jogl/awt/TestBug1225EventQueueInterruptedAWT and junit/jog…

    …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
    committed Oct 4, 2015
Commits on Oct 3, 2015
  1. Bug 1245: Adding Unit Test, similar to TestBug816JTabbedPanelVisibili…

    …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
    sgothel committed Oct 3, 2015