Blender Git Commit Log

Git Commits -> Revision a8c8e3e

Revision a8c8e3e by Jason Wilkins (soc-2012-swiss_cheese)
August 9, 2012, 09:14 (GMT)
Some matrix fixes to fix a GPU_SAFETY assertion in blf.c

Changed gpuGetMatrix and removed gpuGetSpecificMatrix, we only really need one.
Added casts to gpuProject and gpuUnproject to quiet a lot of warnings. Hopefully this kind of macro will go away.
Made sure that default mode GL_MODELVIEW is reset after changing other matrixes
gpuGetMatrix returns a const pointer. It does not seem like a good idea to expose the internals of the matrix module.
Some white space formatting for gpuCommitMatrix, and other matrix functions.
note: gluPerspective is present in KX_Dome.cpp, but it is commented out
Some code in the RAS_OpenGLRasteriser.cpp used OpenGL as a scratch space to make a new matrix, I removed that and just did the calculation using Blender's matrix functions.

Commit Details:

Full Hash: a8c8e3e12f6dcef135398e70a3eb1137466d3b9e
SVN Revision: 49728
Parent Commit: ee9a77a
Lines Changed: +90, -135

15 Modified Paths:

/source/blender/editors/screen/glutil.c (+8, -9) (Diff)
/source/blender/editors/sculpt_paint/paint_utils.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+7, -24) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+2, -4) (Diff)
/source/blender/gpu/GPU_matrix.h (+9, -6) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+2, -2) (Diff)
/source/blender/gpu/intern/gpu_matrix.c (+10, -32) (Diff)
/source/blender/windowmanager/intern/wm_subwindow.c (+2, -3) (Diff)
/source/gameengine/GamePlayer/common/GPC_Canvas.cpp (+11, -7) (Diff)
/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp (+7, -4) (Diff)
/source/gameengine/Ketsji/KX_Camera.cpp (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_Dome.cpp (+7, -3) (Diff)
/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp (+10, -6) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp (+8, -26) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageVA.cpp (+3, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021