Created attachment 620 [details] Stand-alone test to create an image using off-screen buffer Overview A short code to generate a small PNG image using an off-screen buffer created with GLOffscreenAutoDrawable works perfectly on Windows, Linux, Mac OSX 10.6.8. In OSX 10.9.4 (Mevaricks) produces an empty image, not even background color. Steps to Reproduce Compile the code attached and run on a Mac with OSX 10.9.4 Mavericks Actual Results A file named test.png 100x100 pixel fully transparent, empty. Expected Results PNG file contains solid light pink background. Build Date & Platform August 8, 2014 JOGL 2.2.0 OpenJDK 1.7 update 65, Linux Fedora 20 32 bit Java 1.6 update 31, Windows 7 Java 1.6 update 65, Mac OSX 10.9.4 64 bit
Tested against JVM 1.7u67 from Oracle on Mac OSX 10.9.4. Issue still persist.
70641322fc8e52417f934b452b573c9b39a734e9 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 See added unit test in named commit. Hence -> Invalid.
(In reply to comment #2) > 70641322fc8e52417f934b452b573c9b39a734e9 > > 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 > > See added unit test in named commit. > > Hence -> Invalid. Thank you, Sven. Seem I "barking up the wrong tree" (cit.) :D
Mario found a workaround: http://forum.jogamp.org/GLOffscreenAutoDrawable-problem-with-OSX-Mavericks-tp4032763p4033204.html