BGE: Adding vsync control. Users can enable vsync, disable vsync, or use adaptive...
authorMitchell Stokes <mogurijin@gmail.com>
Mon, 29 Jul 2013 22:31:32 +0000 (22:31 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Mon, 29 Jul 2013 22:31:32 +0000 (22:31 +0000)
commit29f8dfd37a2fbf4190e551bef0b04ff1ae1fd7b6
treeaf50623534adee419cecbbf6e0d8dd789409d266
parent2840edba840382f0957c4963c3613c7836ac5979
BGE: Adding vsync control. Users can enable vsync, disable vsync, or use adaptive vsync via UI options in the render properties, or by using the new Python method bge.render.setVsync(). Win32 and X11 support are done via EXT_swap_control. Support for using EXT_swap_control on OS X still needs to be added to Ghost.
22 files changed:
doc/python_api/rst/bge.render.rst
intern/ghost/GHOST_C-api.h
intern/ghost/GHOST_IWindow.h
intern/ghost/intern/GHOST_C-api.cpp
intern/ghost/intern/GHOST_Window.h
intern/ghost/intern/GHOST_WindowWin32.cpp
intern/ghost/intern/GHOST_WindowWin32.h
intern/ghost/intern/GHOST_WindowX11.cpp
intern/ghost/intern/GHOST_WindowX11.h
release/scripts/startup/bl_ui/properties_game.py
source/blender/windowmanager/intern/wm_window.c
source/blender/windowmanager/wm_window.h
source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp
source/gameengine/BlenderRoutines/KX_BlenderCanvas.h
source/gameengine/BlenderRoutines/KX_BlenderGL.cpp
source/gameengine/BlenderRoutines/KX_BlenderGL.h
source/gameengine/GamePlayer/ghost/GPG_Application.cpp
source/gameengine/GamePlayer/ghost/GPG_Canvas.cpp
source/gameengine/GamePlayer/ghost/GPG_Canvas.h
source/gameengine/Ketsji/KX_PythonInit.cpp
source/gameengine/Rasterizer/RAS_ICanvas.h