BGE code cleanup: Removing OpenGL and bf_gpu code from KX_LightObject
authorMitchell Stokes <mogurijin@gmail.com>
Fri, 28 Mar 2014 05:32:06 +0000 (22:32 -0700)
committerMitchell Stokes <mogurijin@gmail.com>
Fri, 28 Mar 2014 05:32:06 +0000 (22:32 -0700)
commitdf9d6737b912b71fb91579b43ea6c7786d88f803
tree0466230d0ce29d297888826f623426728243a995
parent3ec0c73211d6786664a303a7413cae4e67ef6cf5
BGE code cleanup: Removing OpenGL and bf_gpu code from KX_LightObject

The ultimate goal is to only allow the rasterizer to handle OpenGL and bf_gpu
calls. This commit creates a RAS_ILightObject interface and a RAS_OpenGLLight
implementation.
16 files changed:
source/gameengine/Converter/BL_BlenderDataConversion.cpp
source/gameengine/Ketsji/KX_KetsjiEngine.cpp
source/gameengine/Ketsji/KX_Light.cpp
source/gameengine/Ketsji/KX_Light.h
source/gameengine/Ketsji/KX_LightIpoSGController.cpp
source/gameengine/Ketsji/KX_LightIpoSGController.h
source/gameengine/Ketsji/KX_Scene.cpp
source/gameengine/Rasterizer/CMakeLists.txt
source/gameengine/Rasterizer/RAS_ILightObject.h [moved from source/gameengine/Rasterizer/RAS_LightObject.h with 71% similarity]
source/gameengine/Rasterizer/RAS_IRasterizer.h
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/CMakeLists.txt
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLLight.cpp [new file with mode: 0644]
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLLight.h [new file with mode: 0644]
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h
source/gameengine/VideoTexture/Texture.cpp