Blender Git Commit Log
Git Commits -> Revision 2d71d13
Revision 2d71d13 by Mike Erwin (master) January 16, 2016, 04:51 (GMT) |
OpenGL: fixes related to GL_POINTS I put all usage of GL_POINTS under the microscope. Fixed problems & optimized a couple of spots. - reduce calls to glPointSize by about 50% - draw selected & unselected vertices together for UV editor & EditMesh - draw initial gpencil stroke point the proper size - a few other smaller fixes New policy: each GL_POINTS draw call needs to set its desired point size. This eliminates half our calls to glPointSize (setting it back to its 1.0 default after every draw). |
Commit Details:
Full Hash: 2d71d13ea2cb7a7640e5139dc24341bd58416d57
Parent Commit: 31375a1
Lines Changed: +36, -75
15 Modified Paths:
/source/blender/editors/armature/reeb.c (+0, -1) (Diff)
/source/blender/editors/gpencil/drawgpencil.c (+2, -3) (Diff)
/source/blender/editors/interface/interface_draw.c (+3, -1) (Diff)
/source/blender/editors/mask/mask_draw.c (+0, -2) (Diff)
/source/blender/editors/mesh/editmesh_loopcut.c (+0, -2) (Diff)
/source/blender/editors/space_clip/clip_draw.c (+2, -12) (Diff)
/source/blender/editors/space_graph/graph_draw.c (+2, -8) (Diff)
/source/blender/editors/space_view3d/drawanimviz.c (+0, -3) (Diff)
/source/blender/editors/space_view3d/drawarmature.c (+8, -2) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+9, -28) (Diff)
/source/blender/editors/space_view3d/drawsimdebug.c (+0, -2) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+3, -0) (Diff)
/source/blender/editors/uvedit/uvedit_draw.c (+4, -6) (Diff)
/source/blender/editors/uvedit/uvedit_smart_stitch.c (+2, -5) (Diff)
/source/blender/gpu/intern/gpu_compositing.c (+1, -0) (Diff)
/source/blender/editors/gpencil/drawgpencil.c (+2, -3) (Diff)
/source/blender/editors/interface/interface_draw.c (+3, -1) (Diff)
/source/blender/editors/mask/mask_draw.c (+0, -2) (Diff)
/source/blender/editors/mesh/editmesh_loopcut.c (+0, -2) (Diff)
/source/blender/editors/space_clip/clip_draw.c (+2, -12) (Diff)
/source/blender/editors/space_graph/graph_draw.c (+2, -8) (Diff)
/source/blender/editors/space_view3d/drawanimviz.c (+0, -3) (Diff)
/source/blender/editors/space_view3d/drawarmature.c (+8, -2) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+9, -28) (Diff)
/source/blender/editors/space_view3d/drawsimdebug.c (+0, -2) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+3, -0) (Diff)
/source/blender/editors/uvedit/uvedit_draw.c (+4, -6) (Diff)
/source/blender/editors/uvedit/uvedit_smart_stitch.c (+2, -5) (Diff)
/source/blender/gpu/intern/gpu_compositing.c (+1, -0) (Diff)