Odd Draw Behavior - Slow Ellipse2D Draw

Summary:

A game I have written uses bitmaps and lots of Ellipse2Ds. The Ellipses are in the background and occasionally need to all be redrawn (there could be many - let's say 100 at a time). This works fine on a Windows box, and Macs from G3 - current Intels. When I attempt to run the application full screen under X11 drawing the Ellipses takes too long, making the animation appear choppy. Running Java 5.0 under Debian.

Question

I am looking for suggestions on how to tweak this and/or a work around.

Details

I have tried -Xmx256M -Xsx256M switches (makes no diff). I am using a descent video card on the system. The Ellipse2Ds are drawn on top of a buffered image (as are the bitmaps). Garbage collection does not seem to be the issue. The processor is a little slower - its a VIA mini ITX - details here ...

http://www.hardwareinreview.com/cms/content/view/44/1/

I understand that it could be the hardware ... but just in case ... feedback appreciated.

[1031 byte] By [botissuesa] at [2007-11-27 7:02:31]
# 1

I don't think it's very odd at all. On some of my computers windows runs fine, but anyn version of Linux is slow at drawing in comparison. I think this has to do with the state of the ATI drivers Linux has. Check out Phoronix for more information on the state of various graphics drivers in Linux.

Hopefully some nice Linux developer somewhere will drastically improve the performance of all video drivers. :)

patrickmallettea at 2007-7-12 18:53:34 > top of Java-index,Other Topics,Java Game Development...
# 2
I've had a similar experience myself...It will probably go faster if you draw the ellipses IN the buffered Image then draw the buffered image on the screen.
RAIN_MANa at 2007-7-12 18:53:34 > top of Java-index,Other Topics,Java Game Development...