Blender Git Loki
Git Commits -> Revision d278ac6
Revision d278ac6 by Daniel Stokes (soc-2011-cucumber) June 29, 2011, 05:24 (GMT) |
This commit rearranges the rasterizer to use a strategy design pattern. The concrete strategies are various storage methods. Currently these are immediate mode, and vertex arrays. This will make it cleaner to add in the VBO support (rather than having it mixed in with the vertex array rasterizer). In the process of changing the ListRasterizer to accommodate the changes to OpenGLRasterizer, a check for ATI cards no longer gets acted upon. This check may not have been necessary and would cause slow downs on ATI cards. Some testing will reveal if something needs to be added back in. |
Commit Details:
Full Hash: d278ac611ea2c071f581df1a9aaf7617889c8781
SVN Revision: 37938
Parent Commit: c2c33fc
Lines Changed: +868, -687
7 Added Paths:
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_IStorage.h (+62, -0) (View)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageIM.cpp (+317, -0) (View)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageIM.h (+70, -0) (View)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageVA.cpp (+281, -0) (View)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageVA.h (+79, -0) (View)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageVBO.cpp (+0, -0) (View)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageVBO.h (+0, -0) (View)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageIM.cpp (+317, -0) (View)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageIM.h (+70, -0) (View)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageVA.cpp (+281, -0) (View)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageVA.h (+79, -0) (View)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageVBO.cpp (+0, -0) (View)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageVBO.h (+0, -0) (View)
2 Deleted Paths:
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.cpp (+0, -385)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.h (+0, -75)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.h (+0, -75)
7 Modified Paths:
/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp (+2, -3) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_Application.cpp (+2, -3) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/CMakeLists.txt (+7, -2) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_ListRasterizer.cpp (+7, -29) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_ListRasterizer.h (+2, -2) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp (+32, -184) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h (+7, -4) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_Application.cpp (+2, -3) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/CMakeLists.txt (+7, -2) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_ListRasterizer.cpp (+7, -29) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_ListRasterizer.h (+2, -2) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp (+32, -184) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h (+7, -4) (Diff)