Re: GL_ARB_vertex_buffer_object not available on Mac?
Posted by
Wade Walker on
Jan 05, 2019; 5:14pm
URL: https://forum.jogamp.org/GL-ARB-vertex-buffer-object-not-available-on-Mac-tp4039309p4039369.html
After removing the illegal reflective accesses to sun.awt.SunToolkit.awtLock/Unlock in JAWTUtil, my SWT Eclipse RCP apps finally run without any warnings on Windows 10/Java 11/Eclipse 2018 :)
Next, there are a couple of illegal accesses that occur only on Mac in JAWTUtil, to sun.awt.CGraphicsDevice.getScaleFactor() and sun.awt.CGraphicsDevice.getCGDisplayID(). There seems to be a legitimate solution to obtaining scale factor on Mac now (see
https://bugs.openjdk.java.net/browse/JDK-8172962), so I'll put this in and see what happens. Hopefully this will complete my goal of:
- Getting glugen/jogl/jocl/joal to compile and run under Java 11
- Getting rid of all runtime warnings, at least for my particular use-cases