Blender Git Loki
Git Commits -> Revision 4f9b58c
Revision 4f9b58c by Antonis Ryakiotakis (temp_display_optimization) July 14, 2015, 20:36 (GMT) |
VBO offscreen selection drawing, cdderivedmesh Get rid of legacy drawing, it's only used for selection, in which case we can prepare a temporary color buffer and draw at once. Code is not complete here because we still redundantly set the draw color in the draw function and don't ommit hidden faces automatically. Still it works 100% without immediate mode now. |
Commit Details:
Full Hash: 4f9b58cb71393c6390c31af0d85f045fdfce48df
Parent Commit: 94a6399
Lines Changed: +137, -172
8 Modified Paths:
/source/blender/blenkernel/BKE_DerivedMesh.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+109, -171) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+1, -1) (Diff)
/source/blender/gpu/GPU_buffers.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+15, -0) (Diff)
/source/blender/windowmanager/intern/wm_subwindow.c (+7, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -0) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+109, -171) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+1, -1) (Diff)
/source/blender/gpu/GPU_buffers.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+15, -0) (Diff)
/source/blender/windowmanager/intern/wm_subwindow.c (+7, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -0) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+2, -0) (Diff)