Skip to content

JogAmp JOGL 2.3.1 update#1

Open
xranby wants to merge 1 commit intobadlogic:masterfrom
xranby:master
Open

JogAmp JOGL 2.3.1 update#1
xranby wants to merge 1 commit intobadlogic:masterfrom
xranby:master

Conversation

@xranby
Copy link

@xranby xranby commented May 24, 2015

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 xerxes@gudinna.com

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 <xerxes@gudinna.com>
@badlogic
Copy link
Owner

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.

@xranby
Copy link
Author

xranby commented May 25, 2015

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

@badlogic
Copy link
Owner

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" notifications@github.com 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
#1 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants