This PR proposes to add an environment variable for forcing vsync to be on or off. My primary use case was to disable vsync for forcing viewport rendering performance tests not to be capped at the display refresh rate when #142984 is used for removing animation frame rate limits. I initially added the environment variable "GHOST_VSYNC_OFF", but found "GHOST_VSYNC=0/1" to be more easily understandable. Usage: - GHOST_VSYNC=0 => Vsync is forced off - GHOST_VSYNC=1 => Vsync is forced on Pull Request: https://projects.blender.org/blender/blender/pulls/143049