BGE: Setting up the RAS_ICanvas interface as the primary way to alter the OpenGL
authorMitchell Stokes <mogurijin@gmail.com>
Mon, 8 Oct 2012 03:28:11 +0000 (03:28 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Mon, 8 Oct 2012 03:28:11 +0000 (03:28 +0000)
commit244ce92dbd1f32960e0f909933d99cd0e6027dcc
treeee71a9619fb257d9d7deffce53051fa1a6214cdf
parentaa1e50be946dfeb17f9bb98b242bdbf6775f1ab6
BGE: Setting up the RAS_ICanvas interface as the primary way to alter the OpenGL
viewport. This helps to eliminate OpenGL calls in weird places like the physics
code and to reduce glGet calls, which are expensive.

There should be no functional changes (except maybe a very slight speed improvement).
15 files changed:
source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp
source/gameengine/BlenderRoutines/KX_BlenderCanvas.h
source/gameengine/GamePlayer/common/GPC_Canvas.cpp
source/gameengine/GamePlayer/common/GPC_Canvas.h
source/gameengine/Ketsji/KX_Camera.cpp
source/gameengine/Ketsji/KX_Dome.cpp
source/gameengine/Ketsji/KX_Dome.h
source/gameengine/Ketsji/KX_KetsjiEngine.cpp
source/gameengine/Ketsji/KX_Scene.cpp
source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp
source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h
source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h
source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h
source/gameengine/Rasterizer/RAS_2DFilterManager.cpp
source/gameengine/Rasterizer/RAS_ICanvas.h