Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Don't import conditional platform specific 'static' code but fully qualify ↵ | Sven Gothel | 2023-01-20 | 2 | -43/+23 | |
| | | | | names when in use, make Android d8 (Dex'ing) happy | |||||
* | check-java-major-version.sh: Use unique output to validate one class version ↵ | Sven Gothel | 2023-01-20 | 1 | -3/+4 | |
| | | | | used (52 for Java8) | |||||
* | Test: Linux: Disable automatic tests (TBD, WIP) | Sven Gothel | 2023-01-18 | 1 | -17/+31 | |
| | ||||||
* | Test: MacOS: Disable automatic tests (TBD, WIP) | Sven Gothel | 2023-01-18 | 3 | -0/+47 | |
| | ||||||
* | MacOSXCGLDrawableFactory.canCreateGLPbuffer(): Disabled for MacOS >= 12, ↵ | Sven Gothel | 2023-01-18 | 1 | -2/+5 | |
| | | | | here > 10.14.0 (Mojave) | |||||
* | MacOSXCGLContext: Avoid data race on lastSetNSViewCmd, use local copy like ↵ | Sven Gothel | 2023-01-18 | 1 | -3/+4 | |
| | | | | in madeCurrent | |||||
* | Disable oculusvr-sdk for MacOS aarch64, fails to build | Sven Gothel | 2023-01-18 | 1 | -2/+2 | |
| | ||||||
* | JAWTWindow: Constrain AppContextInfo creation where offscreen layer is ↵ | Sven Gothel | 2023-01-18 | 2 | -2/+13 | |
| | | | | supported (MacOS only) | |||||
* | JAWTWindow: Remove java.applet.Applet detection .. it's gone :-( | Sven Gothel | 2023-01-18 | 1 | -8/+12 | |
| | ||||||
* | NewtCanvasSWT: Drop all newtChild.getDelegatedWindow() debug output due to: ↵ | Sven Gothel | 2023-01-17 | 1 | -10/+10 | |
| | | | | null com.jogamp.newt.swt.NewtCanvasSWT.access$200(com.jogamp.newt.swt.NewtCanvasSWT) | |||||
* | Test*NewtEventModifiers*: Ensure SWT is initialized before AWT | Sven Gothel | 2023-01-17 | 5 | -25/+66 | |
| | ||||||
* | build-test: Add jvmarg.modules for jvm [11..17) and jvm>=17 | Sven Gothel | 2023-01-17 | 1 | -0/+30 | |
| | | | | | jvm11: --illegal-access=warn jvm17: --add-opens java.desktop/sun.awt=ALL-UNNAMED --add-opens java.desktop/sun.java2d=ALL-UNNAMED | |||||
* | MacOS build-oculusvr: Add arm64 | Sven Gothel | 2023-01-17 | 1 | -0/+2 | |
| | ||||||
* | Realign HowToBuild w/ GlueGen (Debian 11, Windows) | Sven Gothel | 2023-01-17 | 1 | -51/+15 | |
| | ||||||
* | Bump oculusvs-sdk, fixed warning | Sven Gothel | 2023-01-17 | 1 | -0/+0 | |
| | ||||||
* | JAR: Add Jar module parameter 'Add-Opens: java.desktop/sun.awt ↵ | Sven Gothel | 2023-01-17 | 9 | -0/+9 | |
| | | | | java.desktop/sun.java2d', preparation for potential future Java17+ Jar Module | |||||
* | Update test scripts: Use Java17 module jvm args: --add-opens ↵ | Sven Gothel | 2023-01-17 | 15 | -176/+37 | |
| | | | | java.desktop/sun.awt=ALL-UNNAMED --add-opens java.desktop/sun.java2d=ALL-UNNAMED | |||||
* | Build: Add swt.jar definition for MacOS aarch64 | Sven Gothel | 2023-01-17 | 1 | -8/+3 | |
| | ||||||
* | SWTTestUtil: Add WaitAction2, using the EDTUtil to dispatch the ↵ | Sven Gothel | 2023-01-16 | 2 | -6/+43 | |
| | | | | display.readAndDispatch() wait action (experimental) | |||||
* | SWT+AWT: Ensure SWTAccessor gets called before AWT initialization on GTK/X11 ↵ | Sven Gothel | 2023-01-16 | 2 | -8/+63 | |
| | | | | to avoid "cannot register existing type 'GdkDisplayManager'" and subsequent SIGSEGV | |||||
* | SWT tests on MacOS (w/o AWT) require '-XstartOnFirstThread' JVM argument, ↵ | Sven Gothel | 2023-01-16 | 2 | -1/+9 | |
| | | | | else they crash. | |||||
* | TestNewtCanvasSWTGLn: Only dispose canvas1 at end of test, if not yet ↵ | Sven Gothel | 2023-01-16 | 1 | -16/+29 | |
| | | | | disposed (manual test case) | |||||
* | NewtCanvasSWT: Remove certain DEBUG output causing an exception | Sven Gothel | 2023-01-16 | 1 | -2/+4 | |
| | | | | Cannot invoke "com.jogamp.newt.Window.getDelegatedWindow()" because the return value of "com.jogamp.newt.swt.NewtCanvasSWT.access$200(com.jogamp.newt.swt.NewtCanvasSWT)" is null | |||||
* | SWTAccessor: Adopt to SWT 4.26 | Sven Gothel | 2023-01-16 | 1 | -32/+27 | |
| | ||||||
* | Bump gitignore | Sven Gothel | 2023-01-16 | 1 | -0/+3 | |
| | ||||||
* | SWT 4.26: Add cocoa-maxosx-aarch64 blob w/o src; Add ↵ | Sven Gothel | 2023-01-16 | 8 | -6/+1442 | |
| | | | | scripts/tests-osx-aarch64.sh | |||||
* | Merge pull request #108 from PeterC-DLS/swt-420-fix | Sven Gothel | 2023-01-16 | 1 | -1/+9 | |
|\ | | | | | Add new class location of SWT's gtk_widget_get_window | |||||
| * | Add new class location of SWT's gtk_widget_get_window | Peter Chang | 2022-04-14 | 1 | -1/+9 | |
| | | | | | | | | | | | | | | In SWT version 4.20, some gtk methods moved to a new gtk3 subpackage so add check and find it in there. Note, this new package was not exported until SWT 4.23 (aka 3.119.0 or v4950) so intervening versions will not work when using OSGi class loading. | |||||
* | | X11GLXContext.getPlatformExtensionsStringImpl(): Add comment from pull ↵ | Sven Gothel | 2023-01-16 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | request regarding GLX extensions https://github.com/sgothel/jogl/pull/107 Return either glXQueryClientString or glXQueryExtensionsString when getting the GLX extensions ndjojo: glXQueryExtensionsString will make a request for glXQueryServerString if needed and will append the necessary client-side extensions. This doc, under the section "Using GLS Extensions", also suggests checking the glXQueryExtensionsString before using GLX extensions. +++ aschleck: For some more context this came up with the release of Mesa 20.3.0, which has client support for GLX_EXT_swap_control but no server support. The current JOGL behavior of appending the client extensions to the server extensions is incorrect. They should instead be intersected (with client-only extensions then appended) as the doc Nicole linked above says, which is precisely what glXQueryExtensionsString does. With the current extension querying behavior JOGL thinks glXSwapIntervalEXT is available under Mesa/llvmpipe even though it is not, causing a segfault at JOGL initialization time. I originally filed this as a Mesa bug (https://gitlab.freedesktop.org/mesa/mesa/-/issues/4128) along with some code that repro'd JOGL's checking behavior but it became apparent that Mesa is fine and the checking behavior is incorrect. | |||||
* | | Bump make/lib/swt to SWT 4.26 | Sven Gothel | 2023-01-16 | 14 | -381/+832 | |
| | | ||||||
* | | Merge pull request #107 from ndjojo/platform-extensions | Sven Gothel | 2023-01-16 | 1 | -10/+2 | |
|\ \ | | | | | | | Return either glXQueryClientString or glXQueryExtensionsString when getting the GLX extensions | |||||
| * | | Update X11GLXContext.java | ndjojo | 2021-01-20 | 1 | -10/+2 | |
| |/ | ||||||
* | | Fix GLProfile GL2 Mapping: Only use GL3bc is available, add additional ↵ | Sven Gothel | 2023-01-15 | 1 | -1/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | GLContext.isGL3bcAvailable() check Julien Gouesse resolved this odd issue, where a requested GL2 profile was mapped to GL3bc but is not implemented, see <https://forum.jogamp.org/InternalError-XXX0-profile-2-GL2-gt-profileImpl-GL3bc-not-mapped-td4041754i20.html#a4042018>. I exploded his patch a little to reuse the GLContext.getAvailableGLProfileName() result and simplify the conditional statement. This might need more testing perhaps, plus analyis why GLContext.getAvailableGLProfileName() offers GL3bc but is not available via GLContext.isGL3bcAvailable() check. | |||||
* | | HowToBuild: adoptopenjdk -> adoptium, openjdk-11 -> openjdk-17; MacOS: min ↵ | Sven Gothel | 2023-01-15 | 1 | -14/+29 | |
| | | | | | | | | SDK version >= 11.0, description to produce fat OpenJDK libraries for x86_64 and aarch64 | |||||
* | | Build scripts: MacOS + Windows: Use JDK-17 to build our Java-1.8 API | Sven Gothel | 2023-01-15 | 6 | -12/+8 | |
| | | ||||||
* | | build script: Add comment setting JDK-11, since default build is JDK-17 for ↵ | Sven Gothel | 2023-01-15 | 1 | -0/+3 | |
| | | | | | | | | Java-1.8 API. | |||||
* | | JAWTUtil: Cleanup MacOS JVM and OS version flags: Private and store ↵ | Sven Gothel | 2023-01-15 | 1 | -14/+16 | |
| | | | | | | | | comparison result | |||||
* | | Moved GlueGen's PlatformPropsImpl's static OSXVersion to ↵ | Sven Gothel | 2023-01-15 | 2 | -6/+29 | |
| | | | | | | | | GLContextImpl.MacOSVersion | |||||
* | | Replace AccessController.doPrivileged() w/ SecurityUtil.doPrivileged() - via ↵ | Sven Gothel | 2023-01-14 | 1 | -2/+2 | |
| | | | | | | | | GLEmitter | |||||
* | | Replace AccessController.doPrivileged() w/ SecurityUtil.doPrivileged() | Sven Gothel | 2023-01-14 | 42 | -83/+89 | |
| | | ||||||
* | | Eclipse: Update settings | Sven Gothel | 2023-01-14 | 2 | -2/+8 | |
| | | ||||||
* | | MacOS: NEWT: Remove keySymbol mapping using 'HIToolbox' ↵ | Sven Gothel | 2023-01-14 | 1 | -8/+53 | |
| | | | | | | | | | | | | | | TSMGetInputSourceProperty(), crashing on MacOS >= 13 Perhaps we want a replacement? Fallback code uses keyCode, i.e. dropping the current keyboard layout (-> US). | |||||
* | | MacOS: MacOSXCGLContext.drawableUpdatedNotify(): Issue updateContext() on ↵ | Sven Gothel | 2023-01-14 | 3 | -32/+29 | |
| | | | | | | | | | | | | main thread, deferred w/o wait (MacOS >= 13) updateContextRegister() stays in current thread. | |||||
* | | MacOS: MacOSXCGLContext.NSOpenGLImpl.release(): Don't wait for releasing ↵ | Sven Gothel | 2023-01-14 | 1 | -1/+2 | |
| | | | | | | | | context view on MacOS >= 10.14 (deadlock) | |||||
* | | MacOS: MacOSXCGLContext: Simplify version flags, remove Tiger, add Mojave. | Sven Gothel | 2023-01-14 | 1 | -6/+20 | |
| | | ||||||
* | | MacOS: Prepare build + test on aarch64 w/o ffmpeg and SWT | Sven Gothel | 2023-01-14 | 3 | -8/+11 | |
|/ | ||||||
* | Fix TestBug1398Deadlock02AWT: Missed adaption of unit test to AWTRobotUtil & ↵ | Sven Gothel | 2020-06-15 | 1 | -2/+3 | |
| | | | | | | GLTestUtil changes when 'front porting' Thanks to Julien Gouesse reminding me of this issue. | |||||
* | Fix 'typo' in branching, valid config index is >= 0 (not < 0) | Sven Gothel | 2020-06-15 | 1 | -1/+1 | |
| | | | | | | | This issue was introduced in commit 0a6a592c04a85d8124aa9d38b67f0caa1d739b75 and the '2nd choice branch' obviously never tested. Thanks to Lathanda finding this issue on 6/14/20. | |||||
* | Bug 1398: MacOSXCGLContext: Ensure AWT is available before using it when ↵ | Sven Gothel | 2020-04-06 | 1 | -5/+12 | |
| | | | | | | | query java.awt.EventQueue.isDispatchThread() If AWT is not available, isAWTEventDispatchThread() returns false, otherwise returns java.awt.EventQueue.isDispatchThread(). | |||||
* | Bug 1398: Adding TestBug1398Deadlock02AWT to manual testing tests.sh | Sven Gothel | 2020-04-06 | 1 | -2/+5 | |
| | | | | | See commits 9e8a24933e9f396406f895ec137d18aefb1c2fe8 and 348d2ab9a20a3b339e2cb1ff4250c3de76c79c2a |