Blender Git Loki

Git Commits -> Revision 375c51d

Revision 375c51d by Jason Wilkins (soc-2012-swiss_cheese)
June 25, 2012, 17:26 (GMT)
Big Commit - Ported Blender/BGE to use GPU_compatibility for most drawing.

Replaces glBegin/glEnd with gpuBegin/gpuEnd
Replaces client side arrays with gpuDrawArrays/gpuDrawElements/gpuDrawElements
Replaces GLUquadric and other simple geometric primitives with a new primitive library
Replaces display lists with the ability to save geometry buffers and invoke them with glDraw/glRepeat

Not complete, there are still some places where old functions remain. Especially in test programs and external libraries.
Not tested thoroughly yet! I've tested a lot, but there are still lots of regressions.


Commit Details:

Full Hash: 375c51d27ca29b63af3b863f520dc67f183a9a02
SVN Revision: 48280
Parent Commit: 7851749
Lines Changed: +8229, -5526

109 Modified Paths:

/source/blender/blenfont/intern/blf.c (+7, -6) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+202, -102) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+10, -9) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+199, -175) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+272, -176) (Diff)
/source/blender/editors/animation/anim_channels_defines.c (+19, -23) (Diff)
/source/blender/editors/animation/anim_draw.c (+23, -16) (Diff)
/source/blender/editors/animation/anim_markers.c (+17, -16) (Diff)
/source/blender/editors/animation/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/animation/keyframes_draw.c (+22, -21) (Diff)
/source/blender/editors/armature/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/armature/editarmature_sketch.c (+49, -43) (Diff)
/source/blender/editors/armature/reeb.c (+43, -37) (Diff)
/source/blender/editors/gpencil/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/gpencil/drawgpencil.c (+81, -79) (Diff)
/source/blender/editors/include/BIF_gl.h (+0, -11) (Diff)
/source/blender/editors/include/BIF_glutil.h (+1, -39) (Diff)
/source/blender/editors/include/ED_view3d.h (+0, -2) (Diff)
/source/blender/editors/include/UI_resources.h (+3, -0) (Diff)
/source/blender/editors/interface/interface.c (+4, -5) (Diff)
/source/blender/editors/interface/interface_draw.c (+478, -420) (Diff)
/source/blender/editors/interface/interface_icons.c (+103, -97) (Diff)
/source/blender/editors/interface/interface_panel.c (+61, -34) (Diff)
/source/blender/editors/interface/interface_regions.c (+6, -1) (Diff)
/source/blender/editors/interface/interface_widgets.c (+239, -212) (Diff)
/source/blender/editors/interface/resources.c (+60, -10) (Diff)
/source/blender/editors/interface/view2d.c (+65, -64) (Diff)
/source/blender/editors/mesh/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/mesh/editmesh_knife.c (+42, -41) (Diff)
/source/blender/editors/mesh/editmesh_loopcut.c (+7, -5) (Diff)
/source/blender/editors/mesh/editmesh_select.c (+11, -9) (Diff)
/source/blender/editors/mesh/editmesh_slide.c (+18, -14) (Diff)
/source/blender/editors/physics/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/physics/particle_edit.c (+4, -8) (Diff)
/source/blender/editors/screen/area.c (+92, -74) (Diff)
/source/blender/editors/screen/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/screen/glutil.c (+80, -275) (Diff)
/source/blender/editors/screen/screen_edit.c (+56, -42) (Diff)
/source/blender/editors/sculpt_paint/paint_cursor.c (+15, -15) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+4, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+22, -11) (Diff)
/source/blender/editors/space_action/action_draw.c (+24, -22) (Diff)
/source/blender/editors/space_action/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_clip/clip_dopesheet_draw.c (+23, -21) (Diff)
/source/blender/editors/space_clip/clip_draw.c (+156, -154) (Diff)
/source/blender/editors/space_clip/clip_graph_draw.c (+13, -28) (Diff)
/source/blender/editors/space_clip/clip_utils.c (+15, -10) (Diff)
/source/blender/editors/space_console/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_console/console_draw.c (+4, -3) (Diff)
/source/blender/editors/space_file/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_file/file_draw.c (+18, -12) (Diff)
/source/blender/editors/space_graph/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_graph/graph_draw.c (+64, -82) (Diff)
/source/blender/editors/space_graph/space_graph.c (+11, -14) (Diff)
/source/blender/editors/space_image/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_image/image_draw.c (+33, -29) (Diff)
/source/blender/editors/space_info/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_info/textview.c (+14, -15) (Diff)
/source/blender/editors/space_logic/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_logic/logic_window.c (+61, -59) (Diff)
/source/blender/editors/space_nla/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_nla/nla_draw.c (+97, -83) (Diff)
/source/blender/editors/space_node/drawnode.c (+65, -64) (Diff)
/source/blender/editors/space_node/node_draw.c (+36, -29) (Diff)
/source/blender/editors/space_outliner/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+55, -31) (Diff)
/source/blender/editors/space_sequencer/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+145, -138) (Diff)
/source/blender/editors/space_text/text_draw.c (+15, -15) (Diff)
/source/blender/editors/space_time/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_time/space_time.c (+40, -30) (Diff)
/source/blender/editors/space_view3d/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_view3d/drawanimviz.c (+18, -16) (Diff)
/source/blender/editors/space_view3d/drawarmature.c (+420, -371) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+30, -29) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+1284, -1232) (Diff)
/source/blender/editors/space_view3d/drawvolume.c (+14, -8) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+292, -239) (Diff)
/source/blender/editors/space_view3d/view3d_fly.c (+21, -19) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+0, -2) (Diff)
/source/blender/editors/transform/transform.c (+2, -3) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+11, -9) (Diff)
/source/blender/editors/uvedit/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/uvedit/uvedit_draw.c (+131, -120) (Diff)
/source/blender/gpu/CMakeLists.txt (+1, -0) (Diff)
/source/blender/gpu/GPU_primitives.h (+82, -19) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+35, -26) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+181, -68) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+26, -21) (Diff)
/source/blender/gpu/intern/gpu_immediate.c (+801, -48) (Diff)
/source/blender/gpu/intern/gpu_immediate.h (+224, -2) (Diff)
/source/blender/gpu/intern/gpu_immediate_gl11.c (+135, -17) (Diff)
/source/blender/gpu/intern/gpu_immediate_inline.h (+74, -18) (Diff)
/source/blender/gpu/intern/gpu_immediate_internal.h (+68, -15) (Diff)
/source/blender/gpu/intern/gpu_lighting.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_primitives.c (+746, -44) (Diff)
/source/blender/gpu/intern/gpu_primitives_inline.h (+60, -10) (Diff)
/source/blender/windowmanager/intern/wm_gesture.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+10, -4) (Diff)
/source/gameengine/BlenderRoutines/KX_BlenderGL.cpp (+8, -9) (Diff)
/source/gameengine/GamePlayer/common/GPC_Canvas.cpp (+17, -14) (Diff)
/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp (+4, -4) (Diff)
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp (+4, -7) (Diff)
/source/gameengine/Ketsji/KX_Dome.cpp (+97, -98) (Diff)
/source/gameengine/Rasterizer/CMakeLists.txt (+1, -0) (Diff)
/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp (+32, -12) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp (+22, -54) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageIM.cpp (+138, -40) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_StorageVA.cpp (+14, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021