Blender Git Commit Log

Git Commits -> Revision 3dd0817

July 27, 2012, 01:36 (GMT)
The BGE spends a lot of time on glIsEnabled(), glGet, and state changes. This gets rid of unnecessary glGet calls for viewport information. Since we're the only ones makes calls to glViewport, we can cache the values.

Commit Details:

Full Hash: 3dd081706a36961d3c09ac2f97a9e2f6fd029635
SVN Revision: 49272
Parent Commit: e0f6f0f
Lines Changed: +65, -30

15 Modified Paths:

/source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp (+12, -0) (Diff)
/source/gameengine/BlenderRoutines/KX_BlenderCanvas.h (+3, -0) (Diff)
/source/gameengine/GamePlayer/common/GPC_Canvas.cpp (+11, -0) (Diff)
/source/gameengine/GamePlayer/common/GPC_Canvas.h (+3, -0) (Diff)
/source/gameengine/Ketsji/KX_Camera.cpp (+4, -4) (Diff)
/source/gameengine/Ketsji/KX_Dome.cpp (+2, -3) (Diff)
/source/gameengine/Ketsji/KX_Dome.h (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_KetsjiEngine.cpp (+1, -2) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+9, -1) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp (+8, -14) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h (+1, -1) (Diff)
/source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h (+1, -1) (Diff)
/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h (+1, -1) (Diff)
/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp (+1, -2) (Diff)
/source/gameengine/Rasterizer/RAS_ICanvas.h (+7, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021