I would like to see some proper swapinterval access.
Right now we only have setVSyncEnabled(boolean sync) over in Display, which sets it to either 1 or 0.
While that swapinterval stuff is some extension there is no way to use it, because:
"We don't expose any WGL extensions as they are completely platform specific."
And its GLX_SGI_swap_control or WGL_EXT_swap_control.
What I want now is some method like setSwapInterval(int interval). setVSyncEnabled can be of course kept with true as parameter it would call setSwapInterval(1) and with false it would call setSwapInterval(0).
If you wonder for what its needed... well say you have some 60hz tickbased game and want to add an 120hz option. With swapinterval 2 it would simply show each buffer twice, which is *very* smooth.
edit: ati treats 2 (or 3 or whatever) like 1. So, it seems to be pretty useless in reality