I hope this is not under NDA:
You may want to try your application with the latest developer
release of
J2SE 5 for Mac OS X. You can set a system property which allows
choosing
between the Quartz rendering engine and a software rendering engine
implemented
by Sun.
The performance characteristics are quite different between the two
engines.
I might not be remembering correctly but I seem to recall when this
came up before that setting the quartz rendering property at 1.4 got
me the same numbers as I seemed to get at 1.5. 1.5 numbers didn't
seem to change regardless of the property setting. So I figured it
was mainly a 1.4 optional thing that was always on at 1.5? Maybe I'm
thinking of a different property or my numbers were not the norm.
In case the above shouldn't work out for you, I have started
experimenting
with doing all the painting in a software rendering engine
implement by myself.
The performance is surprisingly good when compared with the Java2D
renderer
which comes with the JVM.
It beats the Java2D line drawing code on the Mac and is only
slightly slower
than the area filling code.
On the PC, depending on the graphics card in use, it is slower than
the Java2D
code or at par for non-antialiased and opaque rendering. For
translucent
and antialiased rendering it performs very good.
It shouldn't be too hard, to change your application, so that it
alternatively
creates a BufferedImage which uses Java2D, or one which uses the
software
renderer.
I'm a little curious. A new Java2D benchmark to be bundled with Java
1.6, Mustang, J2DBench, looks to have come up in the forum
discussions you mentioned. It appeared you may of done a build of
that. Would that be here?
or do you have a OS/X build available? I'm not sure of redistribution
concerns there.
Or any quick instructions on how that might be installed / configured
on OS/X?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden