|
My GPU is currently just software java based... it is plenty fast enough to run several games concurrently. Once I open source, I'm hoping someone will add a full JOGL one.
Note the biggest bottleneck with the software GPU is blitting from the PSX VRAM to the display. This should not be the case (even though I do a stretch blit, so that aspect ratio is always the same despite PSX video mode).
If this is 1-2ms (as it should be if hardware accelerated), then you're only wasting about 60ms per second which is fine. My XP box took basically no time, Vista takes about 2ms with the pre-release JDK6.0_10 (which is the first one to be hardware accelerated again under vista))
Right now on OS X if I include the stretch blit on JDK5.0, even if I use quartz I can't seem to beat about 20ms, which of course just craters everything (wasting 60% of your time a 30fps). Also this time appears to be CPU intensive, so I have no idea what their Java2d implementation thinks it is doing.
This copy-up piece can be easily replaced in the configuration, and so either a JOGL based copy-up (we're basically talking one texture mapped polygon here), or a JNI native copy-up could be added.
All the more reason for me to get it out there ASAP, and let people add to it.
For those who have sent me emails, you should be getting the code on the weekend.
|