quantum icon indicating copy to clipboard operation
quantum copied to clipboard

JogAmp JOGL 2.3.1 update

Open xranby opened this issue 9 years ago • 3 comments

Rename import javax.media.opengl.* -> import com.jogamp.opengl.* across all files. Rename GLCanvas getWidth -> getSurfaceWidth and getHeight -> getSurfaceHeight. Replaced depricated com.jogamp.opengl.util.awt.Screenshot with com.jogamp.opengl.util.awt.AWTGLReadBufferUtil. Use long type for shader objects.

Signed-off-by: Xerxes Rånby [email protected]

xranby avatar May 24 '15 23:05 xranby

Thanks for this. I tested it on Mac OS X, but now some text isn't rendered anymore:

http://sht.tl/SvM1l9

Not quite sure why that would be. If you have any ideas let me know. I'll get to it this weekend otherwise.

badlogic avatar May 25 '15 09:05 badlogic

Odd specially considering that the quantum gui did manage to print Version 1.33 in the lower corner.

You may try enable the JogAmp JOGL Debug GL: -Djogl.debug.DebugGL it checks if the driver has encountered any error at runtime.

And Trace GL -Djogl.debug.TraceGL

java -Djogl.debug.TraceGL -Djogl.debug.DebugGL -jar quantum.jar

xranby avatar May 25 '15 16:05 xranby

Yeah, the GL code is pretty terrible. There's probably something wrong on my end. Will use your suggestions next weekend to fix it. Thanks! On May 25, 2015 6:33 PM, "Xerxes Rånby" [email protected] wrote:

Odd specially considering that the quantum gui did manage to print Version 1.33 in the lower corner.

You may try enable the JogAmp JOGL Debug GL: -Djogl.debug.DebugGL it checks if the driver has encountered any error at runtime.

And Trace GL -Djogl.debug.TraceGL

java -Djogl.debug.TraceGL -Djogl.debug.DebugGL -jar quantum.jar

— Reply to this email directly or view it on GitHub https://github.com/badlogic/quantum/pull/1#issuecomment-105263494.

badlogic avatar May 25 '15 16:05 badlogic