Summary: | Atomics seem to be somewhat broken with NEWT | ||
---|---|---|---|
Product: | [JogAmp] Newt | Reporter: | Mark Raynsford <org.jogamp> |
Component: | core | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | --- | ||
Version: | 1 | ||
Hardware: | All | ||
OS: | all | ||
Type: | --- | SCM Refs: |
bd76d3fe74c518b509f86c38f8871bec7f5213a2
|
Workaround: | --- | ||
Attachments: |
Script to run the test program (edit BASE to point to the directory containing jogl and gluegen)
Simple test program |
Created attachment 618 [details]
Simple test program
bd76d3fe74c518b509f86c38f8871bec7f5213a2 Issue was that 'com.jogamp.opengl.util.PNGPixelRect' was included in jogl-core.jar and that NEWT assumes PNG conversion is possible having this class available. However, PNGPixelRect requires 'jogamp.opengl.util.pngj' which is only included within jogl-util.jar. Moved PNGPixelRect from jogl-core.jar to jogl-util.jar. +++ Added manual test launch 'testnoawtatomics' in make/scripts/tests.sh to test atomic usage. Works now w/ com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NEWT, showing that the window/application icon is _not_ set due to not having PNG* available. |
Created attachment 617 [details] Script to run the test program (edit BASE to point to the directory containing jogl and gluegen) Attempting to run a simple test program with NEWT and the atomic jars results in the following: NEWT X11Display: can't find jogamp/newt/driver/x11/WindowDriver FATAL ERROR in native method: NEWT X11Display: can't find jogamp/newt/driver/x11/WindowDriver at jogamp.newt.driver.x11.DisplayDriver.initIDs0(Native Method) at jogamp.newt.driver.x11.DisplayDriver.<clinit>(DisplayDriver.java:56) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:190) at com.jogamp.newt.NewtFactory.getCustomClass(NewtFactory.java:110) at jogamp.newt.DisplayImpl.getDisplayClass(DisplayImpl.java:259) at jogamp.newt.DisplayImpl.create(DisplayImpl.java:269) at com.jogamp.newt.NewtFactory.createDisplay(NewtFactory.java:202) at com.jogamp.newt.NewtFactory.createWindowImpl(NewtFactory.java:308) at com.jogamp.newt.NewtFactory.createWindow(NewtFactory.java:233) at com.jogamp.newt.opengl.GLWindow.create(GLWindow.java:156) at TestGL3.main(TestGL3.java:17) Aborted (core dumped)