Just something to be aware of if you are not using JOGL or LWGL and hope to run well on a Mac. This is why it is critical on the Mac platform to use an image format that is supported by the native APIs (e.g. a 'compatible' image).
From: gziemski at apple.com
Subject: Re: Java 1.4.1's lack of hardware acceleration MUST be defined
Date: December 19, 2003 2:54:58 PM EST
To: java-dev at lists.apple.com
There are currently no hardware accelerated parts of graphics code in 1.4.x at all, NONE, not even in VolatileImages.
We are working with CoreGraphics team to address graphics performance issue in 1.4.x. If you went to the last WWDC, you might have caught their presentation on QuartzExtreme2D. It is a set of CoreGraphics API and the underlaying mechanism that can write to OpenGL based (hardware accelerated) contexts. We are hoping we can leverage it in 1.4.x at some point.
Also, do not forget that 1.5.x has, as one of its features, hardware accelerated (OpenGL) graphics pipelines, exact same thing we had in 1.3.x. So, even if QuartzExtreme2D gets delayed, once 1.5.x is out on Mac OS X we can have hardware acceleration one way or another.
If your application runs well on other platform, but runs unreasonably slow on Mac OS X, then it is a bug. And please file it, so that we can get a better idea of how to prioritize our tasks. If graphics performance issue is on top of your list then please let us known.
The good news I see in the above is that it looks like the OpenGL pipeline planned for unix will be implemented on the Mac. Hopefully Apple won't lag too far behind with their 1.5 release.