.comment-link {margin-left:.6em;}

Blog site moved to new location...




The Pile

Subscribe

Using a feed:
Subscribe
Using e-mail:
Your e-mail

Thursday, September 30, 2004

new OpenGL-based pipeline for Java 2D

According to the rhw Java Buzz Forum there is a binding to OpenGL in Java 1.5 enabled by adding the VM argument

-Dsun.java2d.opengl=true

I must try this to see if it improves the performance of our Java app that does a lot of image movement on the screen.

posted by Eamonn | 9:18 AM

1 Comments:

Blogger Eamonn said...

Update: Yes it does significantly inprove performance. Our app went from using 100% CPU to using about 40%, and image animations are smoother. However it reduces the colour depth to what looks like 8 bits, which is not acceptable for displaying photographs in our application. Also it seems a bit buggy, crashing the JVM on exit for example.

2:15 PM  

Post a Comment

<< Home

Irish Blogs

Creative Commons License
This work is licensed under a Creative Commons License.