I was just considering breaking out my C++ and JNI to build a small library to allow me to call “waitForVerticalRetrace()” then it occured to me that someone might have already done this…
I found this:
http://www.uni-mannheim.de/fakul/psycho/irtel/pxlab/
Now it doesn’t look very applicable til you did through the source and find VideoSync.java which is a native interface to support vsync on windows.
I’m about to contact the author about repackaging it, could someone who knows a bit more about Direct Draw take a look at the source and see if its actually makes sense?
Kev