Blender Git Loki
Git Commits -> Revision 6798809
Revision 6798809 by Alexander Romanov (master) June 9, 2016, 19:38 (GMT) |
Flat shading for basic shader The purpose of the patch is to replace deprecated glShadeModel. To decrease glShadeModel calls I've set GL_SMOOTH by default Reviewers: merwin, brecht Reviewed By: brecht Subscribers: blueprintrandom, Evgeny_Rodygin, AlexKowel, yurikovelenov Differential Revision: https://developer.blender.org/D1958 |
Commit Details:
Full Hash: 6798809c7ec8388509f541a64359b3d107e6fd3f
Parent Commit: d733826
Committed By: Campbell Barton
Lines Changed: +56, -129
22 Modified Paths:
/source/blender/blenkernel/intern/cdderivedmesh.c (+1, -19) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+0, -8) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+1, -2) (Diff)
/source/blender/editors/gpencil/drawgpencil.c (+1, -0) (Diff)
/source/blender/editors/interface/interface_draw.c (+2, -11) (Diff)
/source/blender/editors/interface/interface_icons.c (+0, -6) (Diff)
/source/blender/editors/interface/interface_panel.c (+2, -4) (Diff)
/source/blender/editors/interface/interface_widgets.c (+1, -11) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+0, -1) (Diff)
/source/blender/editors/space_view3d/drawanimviz.c (+0, -2) (Diff)
/source/blender/editors/space_view3d/drawarmature.c (+2, -9) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+0, -2) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+5, -24) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+2, -12) (Diff)
/source/blender/editors/uvedit/uvedit_draw.c (+1, -8) (Diff)
/source/blender/gpu/GPU_basic_shader.h (+2, -1) (Diff)
/source/blender/gpu/intern/gpu_basic_shader.c (+8, -0) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+7, -3) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+3, -4) (Diff)
/source/blender/gpu/shaders/gpu_shader_basic_frag.glsl (+8, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_basic_vert.glsl (+10, -0) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+0, -8) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+1, -2) (Diff)
/source/blender/editors/gpencil/drawgpencil.c (+1, -0) (Diff)
/source/blender/editors/interface/interface_draw.c (+2, -11) (Diff)
/source/blender/editors/interface/interface_icons.c (+0, -6) (Diff)
/source/blender/editors/interface/interface_panel.c (+2, -4) (Diff)
/source/blender/editors/interface/interface_widgets.c (+1, -11) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+0, -1) (Diff)
/source/blender/editors/space_view3d/drawanimviz.c (+0, -2) (Diff)
/source/blender/editors/space_view3d/drawarmature.c (+2, -9) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+0, -2) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+5, -24) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+2, -12) (Diff)
/source/blender/editors/uvedit/uvedit_draw.c (+1, -8) (Diff)
/source/blender/gpu/GPU_basic_shader.h (+2, -1) (Diff)
/source/blender/gpu/intern/gpu_basic_shader.c (+8, -0) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+7, -3) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+3, -4) (Diff)
/source/blender/gpu/shaders/gpu_shader_basic_frag.glsl (+8, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_basic_vert.glsl (+10, -0) (Diff)