Enable support for all vsync strategies dynamically during display rendering. Command line and ini file options added to select vsync strategy to use at startup. Vsync strategy options are:
none disable waiting for vsync.
get check asynchronously using glGetSynciv to determine if it is time to display the next frame.
wait block using glClientWait until it is time to display the next frame.
A menu settings option was also added to change the vsync strategy during runtime. This may need reconsideration. On systems where a driver issue is preventing get/wait from working since switching to them makes all rendered components (including the menu) freeze and become unusable. However on system with no such issues, it might be nice to allow users to change this setting through the menu.
Fix for #34
Enable support for all vsync strategies dynamically during display rendering. Command line and ini file options added to select vsync strategy to use at startup. Vsync strategy options are:
glGetSynciv
to determine if it is time to display the next frame.glClientWait
until it is time to display the next frame.A menu settings option was also added to change the vsync strategy during runtime. This may need reconsideration. On systems where a driver issue is preventing get/wait from working since switching to them makes all rendered components (including the menu) freeze and become unusable. However on system with no such issues, it might be nice to allow users to change this setting through the menu.