Blender Git Loki
Git Commits -> Revision 474454b
Revision 474454b by Bastien Montagne (master) July 13, 2017, 14:47 (GMT) |
Cleanup/rename etc. dashed line shaders. Goal is to make them more modular, to allow more variants (variable single-color, thickness, ...) to be added without having to copy-and-change-one-line of whole chain of shaders. |
Commit Details:
Full Hash: 474454be3976f51d59aff327491a5fd2ab48abc2
Parent Commit: c9aef27
Lines Changed: +218, -107
4 Added Paths:
/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_uniform_color_vert.glsl (+21, -0) (View)
/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_width_geom.glsl (+59, -0) (View)
/source/blender/gpu/shaders/gpu_shader_3D_line_dashed_uniform_color_legacy_vert.glsl (+26, -0) (View)
/source/blender/gpu/shaders/gpu_shader_3D_line_dashed_uniform_color_vert.glsl (+21, -0) (View)
/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_width_geom.glsl (+59, -0) (View)
/source/blender/gpu/shaders/gpu_shader_3D_line_dashed_uniform_color_legacy_vert.glsl (+26, -0) (View)
/source/blender/gpu/shaders/gpu_shader_3D_line_dashed_uniform_color_vert.glsl (+21, -0) (View)
3 Deleted Paths:
/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_vert.glsl (+0, -11)
/source/blender/gpu/shaders/gpu_shader_3D_line_dashed_legacy_vert.glsl (+0, -16)
/source/blender/gpu/shaders/gpu_shader_3D_line_dashed_vert.glsl (+0, -11)
/source/blender/gpu/shaders/gpu_shader_3D_line_dashed_legacy_vert.glsl (+0, -16)
/source/blender/gpu/shaders/gpu_shader_3D_line_dashed_vert.glsl (+0, -11)
23 Modified Paths:
/source/blender/editors/animation/anim_markers.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_draw.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+1, -1) (Diff)
/source/blender/editors/space_clip/clip_draw.c (+3, -3) (Diff)
/source/blender/editors/space_graph/graph_draw.c (+4, -4) (Diff)
/source/blender/editors/space_image/image_draw.c (+1, -1) (Diff)
/source/blender/editors/space_nla/nla_draw.c (+2, -2) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+1, -1) (Diff)
/source/blender/editors/space_text/text_draw.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/drawarmature.c (+3, -3) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_ruler.c (+2, -2) (Diff)
/source/blender/editors/transform/transform.c (+2, -2) (Diff)
/source/blender/editors/transform/transform_constraints.c (+1, -1) (Diff)
/source/blender/editors/util/ed_util.c (+1, -1) (Diff)
/source/blender/editors/uvedit/uvedit_draw.c (+2, -2) (Diff)
/source/blender/gpu/CMakeLists.txt (+3, -3) (Diff)
/source/blender/gpu/GPU_shader.h (+2, -2) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+12, -12) (Diff)
/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_frag.glsl (+28, -16) (Diff)
/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_geom.glsl (+12, -2) (Diff)
/source/blender/windowmanager/intern/wm_gesture.c (+5, -5) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_draw.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+1, -1) (Diff)
/source/blender/editors/space_clip/clip_draw.c (+3, -3) (Diff)
/source/blender/editors/space_graph/graph_draw.c (+4, -4) (Diff)
/source/blender/editors/space_image/image_draw.c (+1, -1) (Diff)
/source/blender/editors/space_nla/nla_draw.c (+2, -2) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+1, -1) (Diff)
/source/blender/editors/space_text/text_draw.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/drawarmature.c (+3, -3) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_ruler.c (+2, -2) (Diff)
/source/blender/editors/transform/transform.c (+2, -2) (Diff)
/source/blender/editors/transform/transform_constraints.c (+1, -1) (Diff)
/source/blender/editors/util/ed_util.c (+1, -1) (Diff)
/source/blender/editors/uvedit/uvedit_draw.c (+2, -2) (Diff)
/source/blender/gpu/CMakeLists.txt (+3, -3) (Diff)
/source/blender/gpu/GPU_shader.h (+2, -2) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+12, -12) (Diff)
/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_frag.glsl (+28, -16) (Diff)
/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_geom.glsl (+12, -2) (Diff)
/source/blender/windowmanager/intern/wm_gesture.c (+5, -5) (Diff)