Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

billyork23

macrumors newbie
Original poster
Oct 28, 2009
3
0
I'd like to make Java2D use the Swing OpenGL pipeline but this appears to be broken or disabled on the Mac.

Has anyone else tripped over this?

The basic idea is that I'd like to set:

-Dsun.java2d.opengl=true

And use JOGL with a GLJPanel. What happens though, when I run with JOGL debugging enabled, is I get this message vis STDERR:

Checking for Java2D/OpenGL support
Java2D support: default GraphicsConfiguration = apple.awt.CGraphicsConfig
JOGL/Java2D integration disabled
 
I believe that the sun JavaOGL provider is not available under the default JVM that Apple has. Have you tried downloading Sun's platform independent JARs?
 
JOGL and Java2D

I've tried the latest JOGL from JOGAMP.org, are you talking about that or something else?

If so, where do I find the JavaOGL platform independent jars?
 
I didn't know that jogamp.org hosted any binaries. I only saw links to source that you would have to build on your platform.

I think there should be a solid JOGL plug-in for Netbeans, that has full support for Red Book (ogl examples). You may want to just go with that.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.