Julien Gouesse (8): Detection of the image format, first version (work in progress), see the bug report 1042 Documents ImageIOUtil, see the bug report 1042 Calls ImageIOUtil in TextureIO to detect the image format of a stream, see the bug report 1042 Deprecates SGIImage.isSGIImage() and DDSImage.isDDSImage(), see the bug report 1042 Adds the compute shaders into the list of supported shaders for ShaderCode Updates the documentation of the class ShaderCode concerning the compute shaders Improves a bit the documentation of ImageType and adds .ico and .cur into it Improves a bit the documentation of ImageType Mark Raynsford (1): Fix JSpatial link Sven Gothel (173): Bug 1153 - Adopt to ArrayHashSet change, don't use deprecated ctor (gluegen commit c156343fec33ceea7f238b9766a9f4985fb92687) Bug 1153 - GLEmitter: Only dump extra comment if w/o enum-name or w/o extension TestVersionSemanticsNOUI: Fix expected compat result (inactive tests) Use CompatibilityType.BACKWARD_COMPATIBLE_BINARY for 2.3.1 / Add EGL.KHRONOS_BOOLEAN_ENUM_FORCE_SIZE manually to avoid binary incompatibility add osx-java6 script: using separate rootrel.build Bump OculusVR RIFT SDK to 0.5.0.1 Oculusvr SDK: Bump oculusvr-sdk mingw64 fixes ; Drop unused files from library. Bump oculusvr-sdk: Fix build for Windows/MingW64 (32bit target) openmax: fix compile errors (clang) PointShader: Use same precision for shared uniform in vertex- and fragment shader Bug 1176: Clamp window position and size to 0/0 and screen-size, avoiding out-of screen window positions on BCM VC IV hardware Bug 1176: BCM VC IV: Add window-position to window-relative mouse position in DisplayDriver.moveActivePointerIcon(..) call Bug 1176: BCM VC IV: Refine clamping of window position and size at native creation Bug 1151 - Working OculusVR SDK 0.5.0.1 on GNU/Linux w/ Positional Tracker (DK2) Fix javadoc typo: -> ShaderCode: Add 'create' variations w/ custom shader file suffixes as well as w/ Uri usage Refine Frustum definition: Adding Frustum.FovDesc; Clarify makeFrustum argument constraints -> Exceptions Clarify code in stereo/ovr: Comments, states, names, formatting. StereoDevice (Generic/OVR): Add knowledge about LocationSensorParameter and allow reset origin of location-sensor Bug 1151 - Fix using DK1 on OVR 0.5*; Minor changes Bug 1146, Bug 1158: Add unit test for GLContext creation after showing tool-tip within JDialog Bug 1146, Bug 1158: Add missing GLClearColor class Bug 1160: Fix unit test name and some minor details .. (convention) GLContextImpl: Update uncommented code (method name changed) Bug 1160: Fix test case (Avoid blocking/concurrent master context usage on AWT) Bug 1160: Fix/Refine test case: Stable master thread; Disable 'masterLock' in slave-creation (causes failure on windows) fix osx 32bit/java6 test scripts Fix TestBug1146GLContextDialogToolTipAWT / AWTRobotUtil.mouseClick(..) use BUTTON1_MASK instead of BUTTON1_DOWN_MASK Bug 1180: Refine TestMapBufferRead01NEWT, add TestMapBufferRead02NEWT: Add assertion checks and latter test uses FloatBuffer Bug 1184 - JOGL AWT Canvas Components don't update AWTGraphicsConfiguration when reconfigured. Bug 1181 - JOGL WebStart Applications using GLCanvas/AWT may Deadlock by two AWT-EDT on Java >= 1.8.0_45 Bug 1161 - Fix Canvas resize stops the rendering in Mac OS X (mostly from WebStart) JAWTWindow: Fix binary compatibility: Add old variants of deprecated method, throwing a RuntimeException Bug 1154 - Make plugin3-public.jar optional: Part 1 / 2 (Relocate Applet3 classes) Bug 1154 - Make plugin3-public.jar optional: Part 2 / 2 Bug 1145 - Fat Jar: Add default main entry test TestGearsES2SimpleNEWT Use GlueGen's Bitfield instead of IntBitfield Adapt to GlueGen's Bitfield Changes (commit 047e9adaf2a5f51f7acfa194a744c99b6bfadaea) NEWT.WindowImpl: Adopt synchronized Bitfield for state flags (replacing 11 booleans) Fix commit 24b646d387b3d85467bb22763b016a556d665707: Add missing semicolon Bug 1183: Handle NULL return values for native RandR13 calls, which suppose to return 'int[]' Remove unused jogamp.opengl.SystemUtil Bug 1062: Utilize 'GLProfile.disableOpenGLDesktop' for EGLDrawableFactory desktop mapping as well. Bug 1188, Bug 1186: NEWT Window: Support non-resizable, minimize, maximize, alwaysOnBottom and sticky/all-desktop (Part 1) Bug 1188: Fix regression on X11 setVisible: in-visibility never reached on child windows WindowImpl appendStateBits(..): Fix POINTER* representation Bug 1188: Fix regression on OSX setVisible: in-visibility never reached on child windows / Fix [Un}Resizable style NEWT WindowDriver's reconfig DEBUG: Add end-of-method dump of current states, dump current and new states upfront. Bug 1188: OSX: Add maximize horz/vert, implemented manually NEWY WindowImpl appendStateBits(..): Refine maximized; Refine WindowDriver's reconfig DEBUG NEWT OSX WindowDriver: Must wait for resize on main-thread (Related to Bug 1188) NEWT WindowImpl + WindowDriver: Remove updateInsetsImpl(Insets insets) and rely solely on insetsChanged(..) (event driven) Bug 1188: Refine Maximized on X11 / Impl. Maximized and Iconify on Windows Bug 1188: Windows: Implement unresizable using appropriate windows styles Bug 1193: ShaderCode: Add SUFFIX_COMPUTE_SOURCE/SUFFIX_COMPUTE_BINARY; Add @since 2.3.2 tag Bug 1188: Add @since 2.3.2 tag Bug 1042: ImageIOUtil: Left-Align branches for readability Bug 1042: ImageIOUtil: Use unique public static final const String identifiers Bug 1042: ImageIOUtil -> ImageType + ImageType.Util ; Fix implementation and test. PNGPixelRect: Avoid redundant wrapping of InputStream into BufferedInputStream Bug 1188: Cleanup public/private[reconfig, non-reconfig] state bits HowtoBuild: Update Debian 8.1.0 package recipe .. Bug 1196: Fix Unresolved strncpy_s (MSVCRT) on WinXP Bump oculusvr-sdk Bug 1188: Refine reconfig state bits Bug 1188: Introduce getSupportedStateMask() implemented via WindowDriver's getSupportedReconfigMaskImpl() NEWT WindowsWindow.c: Fix return value; Add tracking of inOn[Bottom|Top] Bug 1188: Fix API doc of getSupportedStateMask(); Misc Changes (see below) Bug 1188: NEWT WindowsWindow.c: Better support for 'isOnBottom' on Windows (Fullscreen on Bottom not working though) GLContextImpl.setRendererQuirks(..): Reduce duplicated code of adding quirks Bug 1202 - Add support of Adaptive Vsync via [GLX|WGL]_EXT_swap_control_tear Bug 1202 - Move GLContextImpl.*SwapInterval* into its own section Bug 1203 (Related): Only attempt to retrieve getGLIntVersion(..) if required Bug 1203: Properly format DEBUG output related to mapGLVersions: Use '-MapGLVersions' suffix. Bug 1200: Fix crash on GNU/Linux x86_64 'NVidia beta driver 355.06' @ probeSurfacelessCtx Bug 1203: SharedResourceRunner.Implementation impl. shall use AbstractGraphicsDevice's uniqueID instead of connection Bug 1203: Use platform native default display connection Bug 1203: GLDrawable-Stateless operations in GLContextImpl, using ctxVersion and ctxOptions Bug 1203: Fix GLES3Impl.getGLES3(): Test _isES3 and throw GLException if not. Bug 1203: EGLGraphicsDevice.nativeDisplayID: Differentiate upstream device's native handle via own ctor, reducing redundancy Bug 1203: Refine DEBUG output Bug 1203: Cleanup and Prepare for regular EGL Profile probing Bug 1200: Refine fix for crash on GNU/Linux x86_64 'NVidia beta driver 355.06' @ probeSurfacelessCtx Bug 1203: Implement regular EGL OpenGL Profile probing (ES* + GL*) FloatUtil: Remove '@deprecated' for 'matrixToString' 'FloatBuffer' variant Bug 1203: EGLDrawableFactory.mapAvailableEGLESConfig(..): Add missing close on device (surfaceless); Remove one try-finally block *AnimatorImpl: Catch concurrent pulling of GLAutoDrawable instances Bug 1202 (related): Fix SEMVER regressions mostly due to Bug 1202 commits (adding dummy methods) Bug 1203: Adding factory-offscreen unit test, validating ES/GL usage with EGL and Desktop GLDrawableFactory Bug 1203: Fix regression of ES3 minMajor constraint lack (commit b8ba30a0bc7cbd36abba37d72b45f78eb989e994) Bug 1203: Fix TestGLAutoDrawableFactoryGLProfileDeviceNEWT: Do not assume EGL/Desktop factories are available! Bug 1203: Fix regression: Handle GLRendererQuirks.GLES3ViaEGLES2Config Bug 1203: Optimize OpenGL Profile probing/mapping (Skip redundant queries) Bug 1207 - GLDebugMessageHandler: Support GL_KHR_debug for Desktop and ES profile Bug 1203: OpenGL ES 3.1 NVIDIA 355.06's EGL impl. is unstable requires GLRendererQuirk.SingletonEGLDisplayOnly Bug 1203: Add missing constraints in desktop *GLContext.create* methods: Bail out if GL ES is requested ; Fix test case Bug 1188: Refine getSupportedStateMask() semantics and minimum requirements (adding STATE_MASK_FULLSCREEN) Fix Bug 1209 - Regression of Bug 1188 Patches: Parented Fullscreen Issues (X11, Windows) Bug 1208 - NEWT: Window: Consider avoiding operations if not supported, see getSupportedStateMask() Bug 1210 - Use manual impl. XRenderFindVisualFormat instead of buggy generated version Bug 1205 - NEWT Security: Clear framebuffer after creation and before visibility (X11 Onscreen) Bug 1202: Fix vsync regression on OSX when using CALayer Bug 1212 - OSX: Crash using CALayer at UnsetJAWTRootSurfaceLayer0(..) w/ Java 1.8.0_60 Windows Scripts: Bump JVM to 1.8.0_60 NativeWindowFactory.createDevice(..): Support creating EGLGraphicsDevice using reflection for 'jogamp.opengl.egl.EGLDisplayUtil' Bug 1211: Adding unit test to identify Thread.interrupt() caller for DefaultEDTUtil.invokeImpl(..) wait interruption Bug 1211: Show Platform-Info for unit test TestBug1211IRQ00NEWT (commit 5f5553f1c0b6731970db6df24d79654661238247) Bug 1211: Custom size for TestBug1211IRQ00NEWT Bug 1211 TestBug1211IRQ00NEWT: Fix using durationTest01; Make createWindow(..) analog to GLWindow.main(..) Bug 1211 TestBug1211IRQ00NEWT: Add assertions incl. testing Thread.interrupted() assuring no silence interruption occured Bug 1211 TestBug1211IRQ00NEWT: Cover whole JOGL initialization by MyThread, intercepting all interrupt() calls used. Bug 1211: Hardening Condition-Wait from Spurious-Wakeups and unintended InterruptedException(s) Bug 1211: Adopt changes to unit test from commit 68c8e39fa8d6e700f0a99241c1a01a435b7f6284 Bug 1211: Refine NEWTDemoListener, JOGLNewtAppletBase Fix NEWT DisplayImpl.createPointerIcon: Pass through Exceptions, as required by API doc. NEWT Window Maximize: re-gain focus after maximize action (maybe lost on platforms, i.e. OSX) Unit Tests: Add listening to NEWTDemoListener* (Missed in prev. patch) Bug 1211: Fix regression of GLMediaPlayerImpl caused by commit 68c8e39fa8d6e700f0a99241c1a01a435b7f6284 FFMPEGDynamicLibraryBundleInfo.initSymbols(): Just return null instead of throwing an exception, it is OK not to have ffmpeg/libav Unit Tests: NEWTDemoListener: Less verbose; GraphUI-Demos: Show DPI and Pixel-Scale in GLEventListener.init(...) TestGearsES2*AWT / NewtDemoListener: Show pixel-scale in title bar. NEWTDemoListener: Double-Mouse-Click Fullscreen only w/ 3 pointers involved Bug 1214 - NEWT MacOSX: Detect auto-resize of Window when it is larger than screen Bug 1214: Fix Deadlock in screenPositionChanged(..); Use screenPositionChanged(..) in size[Screen]PosInsetsChanged(..) on OSX; Cleanup OSX Code Bug 1188: Fix setMaximized(..) isReconfigureMaskSupported(..) query Bug 1223 OSX: GLWindow loses focus after maximizing - Analysis Adapt Test NApplet HTML Pages to NEWTDemoListener (all key-actions) NEWTDemoListener: Fix 'v' modifier collision of ctrl, use shift. Bug 1222 - NEWT OSX: setAlwaysOnTop() and setAlwaysOnBottom() not working Bug 1226 - GLPixelBuffer.GLPixelAttributes.getPixelFormat() doesn't handle glDataType GL_UNSIGNED_INT_8_8_8_8_REV TestGearsES2NEWT: Print bounds @ window resized/moved instead of just x/y Bug 1232 - NEWT Translucent Decorated Windows Not Working On Windows >= 8 (Lack of Aero / Blur ) Bug 1125: Unit test to validate that Thread.interrupt() does not disturb continued rendering of AWT and GLCanvas Bug 1233 - Add missing range- and pbo-bound checks on glTexture[Sub]Image[123]D* Bug 1234 - GLReadBufferUtil.readPixelsImpl(..) not using [xy] offset in readTexture.updateSubImage(..) Bug 1225: Make unit test more robuts, notify if JRE 1.7.0 issue w/ interrupted AWT-EDT NEWT WindowImpl.createNative(): Post creation: Only perform mod-actions if non default (performance) Bug 1205 - NEWT Security: Clear framebuffer after creation and before visibility (Windows Onscreen) Bug 1225: Unit test shall not fail if AWT is not alive, ignore it via assume Bug 1225: Unit test timeout := 3minutes Bug 1225: Unit test shall not fail if AWT is not alive, simply report and return - assume failure is recorded Bug 1232 - NEWT Translucent Decorated Windows Not Working On Windows >= 8 (Lack of Aero / Blur ) Bug 1205: Revert clear background to support fix for Bug 1232: NEWT Translucency Windows >= 8 Bug 1241 - Util's Texture.coords (image coordinates) not updated properly Bug 1237: Adopt GlueGen's clarification of IOUtil.getResource(..), commit d78bb1be0a6290cb94918b21865a023c01825048 Bug 1238 - Fix NPE for Window-Icon's PNGPixelRect for unresolved location; Bug 1199 - Add setting to disable default window icons Bug 1206: Test TestGearsES2NEWT: Versatile 'demoType' allows also no GLEventListener at all Bug 1245: Adding Unit Test, similar to TestBug816JTabbedPanelVisibilityB849B878AWT GLContextImpl: clarify surfacelessOK -> isSurfaceless Bug 1206 - Security: Clear exposed framebuffer after creation and before visibility Bug 1223: Add '-traceMouse' commandline argument to check whether mouse events are still received after manual maximize Bug 1239: Fix GLMediaPlayer.CameraInputScheme API doc; GLMediaPlayerImpl.updateAttributes avoid div-by-zero (fps inf) Bug 1239: Add support for UYVY422 (swizzled YUYV422) Bug 1239: Update FFMPEGMediaPlayer API doc (versions and OSX resources) Bug 1239: Support OSX input via 'avfoundation' ; Use remaining camera ID (index) as filename for OSX Bug 1239: Fix comment in c-code 'how to set preferred pixel_format' Bug 1189 - Add OpenGL ES 3.2 and new GL 4.5 Extensions support - Part1: Update Khronos Headers Bug 1189 - Add OpenGL ES 3.2 and new GL 4.5 Extensions support - Part1b: Update Khronos Headers eglext.h (missed) Bug 1189 - Add OpenGL ES 3.2 and new GL 4.5 Extensions support - Part2: Update gluegen configs Bug 1189 - Add OpenGL ES 3.2 and new GL 4.5 Extensions support - Part3: GLEmitter: Don't RenameExtensionIntoCore for IgnoredExtensions Bug 1189 - Add OpenGL ES 3.2 and new GL 4.5 Extensions support - Part4: Fix GLNameResolver: Add all known vendor extensions Bug 1189 - Add OpenGL ES 3.2 and new GL 4.5 Extensions support - Part5: GL_ARB_ES3_2_compatibility -> [GL|GLContext].isGLES32Compatible() Bug 1189: Fix gcc redefinition error, even thought typedef equals - on OpenIndiana w/ old'ish gcc Bug 1249 - NEWT X11: setVisible(false) IconicState not listening to _NET_WM_STATE_HIDDEN; setVisible(true) not restoring from _NET_WM_STATE_HIDDEN Bug 1249 - NEWT X11: setVisible(*) _NET_WM_STATE_HIDDEN update not received at ConfigureNotify event (2) Bug 1249: Revert TestParenting01NEWT durationPerTest back to 600 (otherwise breaks test) Bug 1249 - NEWT X11: setVisible(false) IconicState/_NET_WM_STATE_HIDDEN: Handle case where KDE unmaps the window Bug 1247: Align NEWT AWT driver w/ GLCanvas (not fixing any issues) Bug 1247: Enhance JAWTWindow DEBUG output (not fixing any issues) Bug 1247: JAWTWindow fail early w/ useful info: setAWTGraphicsConfiguration(..) if awtConfig is null, getGraphicsConfiguration() if awtConfig is null Bug 1247 - TestGearsNewtAWTWrapper fails AWT recreation case removeNotify -> addNotify, e.g. by moving to other monitor Bug 1249: NEWT/X11 Visibility: Listening to more events for updated state; Adding QUIRK_BIT_VISIBILITY WindowImpl.quirks: Access default -> protected, also fix API doc comment. Tom Nuydens (1): Unit test for bug 1160; context sharing between an offscreen drawable and an external GL context Xerxes RĂ„nby (18): bcm/vc/iv/DisplayDriver depend on libEGL, pre-load it using GLProfile Bug 1178: Implement X11UnderlayTracker Bug 1178: Fix cc0 WindowImpl: Swallow CLICK event Bug 1178: X11UnderlayTracker Fix cc4. Attempted fix for cc6. Bug 1178: Fix cc8 bcm.vc.iv WindowDriver: Update pointer during DRAGGED events. Bug 1178: Fix cc7 X11UnderlayTracker can now track multiple windows. Bug 1178: Mouse events shall be passed on to unfocused overlays. Bug 1178: if overlay is undecorated then make under-lay the same Bug 1178: Workaround cc9 X11UnderlayTracker: Pressing Maximize locks-up the NEWT EDT Bug 1183: Cleanup x11/RandR javadoc and native/X11RandR13 signature comments Bug 1178: Fix cc10 regression caused by the fix for cc7. Bug 1192: NEWT native/X11Display.c Cleanup JNI signatures in comments Bug 1183: X11RandR13 XRRGetScreenResourcesCurrent _occasionally_ reports empty data Bug 1178: Fix cc3: Set position using LocationOnScreen coordinates. Bug 1178: X11UnderlayTracker: Resend identical KeyCode, KeySymbol and KeyChar Bug 1244: MovieSimple: String format %d implicit conversion from boolean to int fails using OpenJDK 1.8 Replace %d with %b Fix: com.jogamp.opengl.test.junit.jogl.acore.TestGLProfile04NEWTOffscreenNoARBCtx 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) Fix: junit/jogl/awt/TestBug1225EventQueueInterruptedAWT and junit/jogl/util/texture/TestTextureIONEWT replacing import junit.framework.* with import org.junit.* fixed the "Stub!" Exception seen when runing the junit tests from inside Eclipse rhatcher (1): Expand bitmasks in SWTAccessor GTK_VERSION method