Posted by kamre
on November 24, 2008 at 8:19 PM PST
I am going to create application with some vector graphics. I like both Java and Qt. So in order to choose a particular one I decided to compare the performance of vector graphics rendering. There is a benchmark for Qt from Zack Rusin (http://zrusin.blogspot.com/2008/08/fast-graphics.html ), so I have just rewritten it with Java2D with almost one-to-one correspondence. Here are my results of comparison: http://trac-hg.assembla.com/jgears/wiki
My question is the following: am I doing something wrong in Java2D and there is a way to improve performance in this simple benchmark?
I wonder if Java2D d3d pipeline is slower then Qt pure software rendering for this simple testcase. And what about Java2D OpenGL pipeline, is it enough to pass -Dsun.java2d.opengl=True to enable it?