commit c0c722b9f479412f27973ba0c4cd4a166dcb00be Author: Sven Gothel Date: Mon Sep 8 08:27:03 2014 +0200 Bug 1065: Handle NULL result of TISGetInputSourceProperty(keyboard, kTISPropertyUnicodeKeyLayoutData), avoiding crash commit ef7ecf76e28a89b1cdef6c3c7b4ccca123921ae1 Author: Sven Gothel Date: Mon Sep 8 05:59:05 2014 +0200 LICENSE.txt: Emphasice incompatible A.7) module is OPTIONAL commit f358c49418e95c622d50eb29f53c60dc4dbdee5b Author: Sven Gothel Date: Mon Sep 8 05:58:35 2014 +0200 Bug 1047 - jogamp.opengl.glu.mipmap.Mipmap now uses already parsed GL version number and GL profile selection Since Bug 1047 didn't provide a unit tests, this must be fine for now. commit 101e229fa2f15b3492889205884ca98b1e9b3fbd Author: Sven Gothel Date: Wed Sep 3 23:32:52 2014 +0200 Bug 1060 - Add GLProfile.isInitialized(): Returns true if JOGL has been initialized commit 71b8203572bc1bd63540818a9de4f927b0abebb1 Author: Sven Gothel Date: Wed Sep 3 23:25:52 2014 +0200 Adding missing '@since 2.2.1' tags to ShaderCode and GLContext commit ffde09410fb78c43bd45d6c5e62606789dced6eb Author: Sven Gothel Date: Wed Sep 3 15:42:37 2014 +0200 Bug 1059 _and_ version-compat breackage of commit c78ceb642d0ef5bb5bf27ff8ff1495175ee2e983 Commit c78ceb642d0ef5bb5bf27ff8ff1495175ee2e983 changed: - public static final String GL4 = "GL4"; + public static final String GL4 = "GL4".intern(); which is identified by semver as incompatible, due to Bug 1059 (no more inlining of interned string references). commit 9b7ab72d9b098942ee599a106b142cac8c16fd9b Author: Sven Gothel Date: Wed Sep 3 06:25:40 2014 +0200 HowToBuild: Debian i386 on x64: Add symbolic links for shared libs commit fbbc153150faecdaa7f37c15eb03fc484276bb40 Author: Sven Gothel Date: Tue Sep 2 07:16:58 2014 +0200 Bug 1058 - Fix GLContext.getGLSLVersionString(): Add 'profile' after version for GLSL >= 150 allowing GLSL compatibility profile commit dfae07ed4b0f164768c35b6e7ad008d81a3e68bb Author: Sven Gothel Date: Tue Sep 2 07:11:18 2014 +0200 Bug 1043 - Add Tessellation Control and Evaluation Shader Support - Add GL4.GL_TESS_CONTROL_SHADER and GL4.GL_TESS_EVALUATION_SHADER support for GLSL util class ShaderCode - Add unit test TestTessellationShader01GL4NEWT, testing TessellationShader01aGL4 and TessellationShader01bGL4 commit 70641322fc8e52417f934b452b573c9b39a734e9 Author: Sven Gothel Date: Tue Sep 2 05:38:39 2014 +0200 Bug1044: Offscreen drawable AWT/ImageIO results in black image on OSX/[Java7-Java8] - Using our PNGJ writer results in proper images (RGB and RGBA) on all platforms - Seems to be a bug w/ AWT/ImageIO commit 9850c3a91a23983f1261cb38e4734524c67200f2 Author: Sven Gothel Date: Tue Sep 2 04:53:30 2014 +0200 Bug 1048: Add unit tests demonstrating multiple NewtCanvasAWT instances are working Enhance following performance test cases, adding NewtCanvasAWT, beside GLCanvas and GLJPanel, 25 instances: com.jogamp.opengl.test.junit.jogl.perf.TestPerf001GLJPanelInit01AWT com.jogamp.opengl.test.junit.jogl.perf.TestPerf001GLJPanelInit02AWT Adding simple com.jogamp.opengl.test.junit.newt.TestMultipleNewtCanvasAWT w/ two instances. Manually tested on GNU/Linux and OSX (java7 and java8). commit c78ceb642d0ef5bb5bf27ff8ff1495175ee2e983 Author: Sven Gothel Date: Tue Sep 2 02:38:14 2014 +0200 GLProfile: Use String.intern() on static final profile strings ('GL4bc', 'GL4', ..) consequently using reference comparison. GLProfile already compared profile strings by reference, hence interning those strings to become canonical references was missing! Consequently using reference comparison for all profile strings in GLProfile. commit 278a884e459b1180a947ff24edecdef1a7fc6cb7 Author: Sven Gothel Date: Tue Sep 2 02:20:52 2014 +0200 Bug 1052 - OpenGL ES 3.0 Mesa 10.1.3 Caught GLException: Not a GL4ES3 implementation - Part 2/2 - TestGLProfile01NEWT: Allow ctx.isGLES3Compatible() and hence GL4ES3 on GL3bc and GL3 - GLProfile: Remove GL4ES3 mapping using GL3bc and GL3, only GL4bc, GL4 and GLES3 are allowed in static mapping. commit 79ac86efa3f0b114ce456e7f2a8ef341932fd17c Author: Sven Gothel Date: Tue Sep 2 02:04:22 2014 +0200 Bug 1052 - OpenGL ES 3.0 Mesa 10.1.3 Caught GLException: Not a GL4ES3 implementation - Part 1/2 Test enhancements triggering issue 'Bug 1052 - OpenGL ES 3.0 Mesa 10.1.3 Caught GLException: Not a GL4ES3 implementation' - TestGLProfile01NEWT: Complete GLProfile and GL-object and GLContext validation - On OpenGL ES 3.0 Mesa 10.1.4 it produces: 1) test06GLProfileGL4ES3(com.jogamp.opengl.test.junit.jogl.acore.TestGLProfile01NEWT) javax.media.opengl.GLException: GL4ES3 is neither GL4bc, GL4 nor GLES3 at com.jogamp.opengl.test.junit.jogl.acore.TestGLProfile01NEWT.validateGLProfileGL4ES3(TestGLProfile01NEWT.java:531) at com.jogamp.opengl.test.junit.jogl.acore.TestGLProfile01NEWT.validateOffline(TestGLProfile01NEWT.java:708) at com.jogamp.opengl.test.junit.jogl.acore.TestGLProfile01NEWT.test06GLProfileGL4ES3(TestGLProfile01NEWT.java:948) i.e. wrong mapping of request GL4ES3 -> GL3 commit 3edf24ba4fdca529b25e780c2b0996ff4237d950 Author: Sven Gothel Date: Mon Sep 1 16:14:43 2014 +0200 Bug 1017 - TextureIO.write(Texture, File) throws GLException Not a GL2 implementation on GL3 contexts _gl.getGL2() -> _gl.getGL2GL3() commit cff998436b4e09acd0c1fc20dbf606ce38b57ff3 Author: Sven Gothel Date: Sun Aug 31 21:17:43 2014 +0200 Scripts: Bump to java 1.8.0_20 commit 850cbdb9213c0c7b530f81e69b49fcc47c37b4d0 Author: Sven Gothel Date: Sun Aug 31 17:50:05 2014 +0200 TestSharedContextNewtAWTBug523: Fix junit usage .. commit ab07820e346f23aabc9d9364b7205017422cfaed Author: Sven Gothel Date: Sun Aug 31 05:53:28 2014 +0200 Bug 1020 - First MSAA FBO frame on a mac osx nvidia card not antialiased OSX/Nvidia's FBO needs to be cleared before blitting, otherwise first MSAA frame lacks antialiasing. GLFBODrawableImpl.initialize(..) can clear GL.GL_COLOR_BUFFER_BIT and GL.GL_DEPTH_BUFFER_BIT, if used. FBObject cannot clear the buffer(s) due to it's low-level API, i.e. it cannot know when the first bind occurs _after_ user completed FBO setup (attaching buffers). Hence plain FBObject usage required manual injection of glClear(..) after setup as demonstrated in GLJPanel. We may need to elaborate in this case, i.e. add an FBObject API entry like 'fbo.postInitNotify()'. commit 359ecbdd9cefaabeb1050be706ddeb020e5b6c37 Author: Sven Gothel Date: Sun Aug 31 04:25:52 2014 +0200 TestGLReadBuffer01GLJPanelAWT: Add keyFrame-wait after init commit 7dbd7fcf9c5e5d6f48ee22f0e327902eb78614d2 Author: Sven Gothel Date: Sun Aug 31 04:24:56 2014 +0200 FBObject Cleanup: Add comments about maxSamples > 0 implies fullFBOSupport; bind(): Set dedicated read/write if fullFBOSupport - Add comments about maxSamples > 0 implies fullFBOSupport - bind(): Set dedicated read/write if fullFBOSupport as done in syncSamplingSink() and unbind() commit 33072c51e7bd1270477f7d4abe817f3565e10546 Author: Sven Gothel Date: Sat Aug 30 20:32:56 2014 +0200 Refine test cases for synchronous GLAutoDrawable display, swap-buffer and read-pixels (non-MSAA and MSAA) Bugs: 841, 975 and 1020 .. add Platform and GL info ! commit 701e1e8da5e7d31ffdf166ead77250e4d007f86f Author: Sven Gothel Date: Sat Aug 30 20:05:27 2014 +0200 Refine test cases for synchronous GLAutoDrawable display, swap-buffer and read-pixels (non-MSAA and MSAA) Bugs: 841, 975 and 1020 commit da16dfd39cc17687808308c386d64f6206027c00 Author: Sven Gothel Date: Sat Aug 30 12:03:03 2014 +0200 Bug 1054: Revert dfb9ed47ac6d8e85f6ae5fe166e7a6e28ca8ff83: Cannot change protected field name w/o breaking backward compatibility commit 011e13e22fd52d2e82697ffee6b4c9ca8f3d549a Author: Sven Gothel Date: Sat Aug 30 11:59:13 2014 +0200 Bug 1055 - Access and query shared master GLContext in a deterministic fashion ; Don't use arbitrary shared context as 'master'. GLContext* passes the shared-master to GLContextShareSet, which only creates a sets of shared contexts without differentiating the master context. GLContext*'s shared-slave attempts to lock the realized shared-master's surface at creation. Currently only an arbitrary shared context is selected due to the missing 'master' identity. The arbitrary shared context's surface is locked and its shared context handle used to create the slave context. Lacking of using the user given shared-master can lead to deadlock situations - and locking a 'wrong' surface. +++ The patch: - Allows query the user given shared-master! - Use the user given shared-master for locking and it's context handle for the slave's creation. - The shared-context mapping maps each shared-master to a shared-slave within one shared-context-set, allowing deterministic and individual shared-master queries. commit 11347ad39059836f3e2a4f1fc592dc1e3fab6a09 Author: Sven Gothel Date: Sat Aug 30 00:21:00 2014 +0200 Bug 1054: GLContext: makeCurrent() needs a null-check of [mutable] drawable; Review null checks and synchronization/locking. 'drawable' field of GLContextImpl is mutable via setGLDrawable(..), which requires high-level locking as documented. The required high-level locking allows us to _not_ add special synchronization to this field (and drawableRead). A simple null-check in makeCurrent() shall be sufficient, plus ensuring mentioned high-level locking is applied. GLContextImpl 'drawable' and 'drawableRead' synchronization: - commit ad79bd072b600a3f2416cc6f0c61e2925000069d check of null drawable is sufficient - Add GLAutoDrawable upstream-lock locking to: - AWT GLCanvas setupPrint/releasePrint - AWT GLJPanel (was missing) Misc: - validate shared-context native-surface locking, throw exception if not successful - pixelDataEvaluated does not need to be synchronized, since it's being called while context is current, locking - GLDrawableHelper.recreateGLDrawable(..): Remove redundant glFinish() call commit dfb9ed47ac6d8e85f6ae5fe166e7a6e28ca8ff83 Author: Sven Gothel Date: Fri Aug 29 16:11:08 2014 +0200 Bug 1054: Cleanup GLContext: 'lock' -> 'contextLock' commit ad79bd072b600a3f2416cc6f0c61e2925000069d Author: Sven Gothel Date: Fri Aug 29 15:19:50 2014 +0200 Bug 1054: Cleanup GLContext 'lock' and 'drawable' usage, perform drawable null check in constructor. This patch merely cleans up 'lock' and 'drawable' usage, while fixing: - constructor: Add drawable null check -> IllegalArgumentException - setGLReadDrawable: Proper precondition checks - setGLDrawable: Proper precondition checks Affected methods of mutable drawable for which we have to consider locking: - setGLReadDrawable - setGLDrawable - release - destroy - makeCurrent commit 4dfa5e34b5bbfc74dd9ca6ead89b23d12e7a1b01 Author: Sven Gothel Date: Fri Aug 29 01:31:03 2014 +0200 GLSharedContextSetter: Fix API doc and all html references (fix URL and complete notes in all implementations) commit 28ad09d75c7565983fb43e83da6e1726f92677db Author: Sven Gothel Date: Thu Aug 28 19:07:36 2014 +0200 glsl.sdk.CompileShader: Use IOUtil.StreamMonitor commit 262592bc9d692fb4fa5f79eab7994998151b3ed1 Author: Sven Gothel Date: Thu Aug 28 19:00:42 2014 +0200 TestVersionSemantics: BACKWARD_COMPATIBLE_USER current vs 2.2.0 commit 8ca6a47b5cff613a40e6fb3dfef48f16b4b6995d Author: Sven Gothel Date: Thu Aug 28 07:26:33 2014 +0200 HowToBuild: Revert required git version back to 1.6.0 (from 1.7.10, commit 1882b6551326e583c311b6b169be2222125df4d9) git version 1.7.10 is not available on certail 'long life' / LTS systems, we have to reschedule the gluegen patch for a later time. commit 1882b6551326e583c311b6b169be2222125df4d9 Author: Sven Gothel Date: Thu Aug 28 06:56:16 2014 +0200 HowToBuild: Bump requirements: ant >= 1.9.0, git >= 1.7.10 - ant >= 1.9.0 - Due to java8 build support - git >= 1.7.10 - Due to gluegen's new git query of HEAD branch and sha1-tip commit 9c9d0cf211f7c2b65a3d4ee09e9529c28f673fa7 Author: Sven Gothel Date: Thu Aug 28 06:15:49 2014 +0200 Graph/Text: Prepare unit tests for font rendering validation (WIP) commit fc6df2f838388049c6aa6b2cacf9e76dacdb82b2 Author: Sven Gothel Date: Thu Aug 28 06:15:23 2014 +0200 Graph/Text: Prepare unit tests for font rendering validation (WIP) commit 93862d19f0950e4ae5ccadb2613aee173f111b3a Author: Sven Gothel Date: Thu Aug 28 06:10:37 2014 +0200 graph/font: Use 'pixelSize' var-name, remove redundancies commit c28b5eb2bb3db29dcdc51b391a4d9b236eb11885 Author: Sven Gothel Date: Thu Aug 28 06:03:17 2014 +0200 Fix commit b5910f18f0b82a8a1f6f6252dc19971d5e487f39 for toString(): Call super.hashCode(), due to InternalError("hashCode not designed") commit e3226d16fc147dcad77e172538d09b62eee7e6d9 Author: Sven Gothel Date: Thu Aug 28 05:57:29 2014 +0200 Scripts: Bump to java 1.7.0_67 and apache-ant 1.9.4 commit 215cbe50aaf22b3914fbfa4f3869dde4b7e0622c Author: Sven Gothel Date: Thu Aug 28 05:55:56 2014 +0200 GLStateTracker: Avoid private access wrapper, reuse fetched pixelStateMap commit 00cb1f67423fa2c23f55cc616806f0779f70ac89 Author: Sven Gothel Date: Mon Aug 11 03:54:29 2014 +0200 Fix javadoc package property, use comma as separator (dropped newt and oculusvr apidoc)