Hello,
I want to write a small program to test how fast Java2D runs on an old computer with no real GPU installed. I think a good benchmark would be to render a certain number of sprites and see what the frame rate is. But herefor, I would need an efficient rendering pipeline which calls the repaint as much as possible.
I can of coarse write my own little program with an infinitive while loop in a Thread, but I presume that there might be a better way, or some sort of framework already available for this. Something like a GLDrawable which I need to implement in JOGL/LWJGL. I am completely new to Java2D, so any help is more than welcome. Tips, anyone?
I am also wondering what the best/most optimal way is to render sprites. I can export them as PNG with alpha later, but this might slow down a lot. Perhaps by defining a color which should be transparant might be faster … does anyone has some experience with this? Again, any help welcome …
hope someone can give me some good info so I can start on programming Java2D
Links to sites with interesting information is also more than welcome.
Thanx in advance,
Kenzo