Cleanup/rename etc. dashed line shaders.
authorBastien Montagne <montagne29@wanadoo.fr>
Thu, 13 Jul 2017 14:44:02 +0000 (16:44 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Thu, 13 Jul 2017 14:47:58 +0000 (16:47 +0200)
commit474454be3976f51d59aff327491a5fd2ab48abc2
tree895407db5881d98958dd2b56ea4e95b042f7e3d6
parentc9aef27326d54ed053edb37d27fe5571805139b9
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.
29 files changed:
source/blender/editors/animation/anim_markers.c
source/blender/editors/gpencil/gpencil_paint.c
source/blender/editors/interface/interface_draw.c
source/blender/editors/sculpt_paint/paint_stroke.c
source/blender/editors/space_clip/clip_draw.c
source/blender/editors/space_graph/graph_draw.c
source/blender/editors/space_image/image_draw.c
source/blender/editors/space_nla/nla_draw.c
source/blender/editors/space_sequencer/sequencer_draw.c
source/blender/editors/space_text/text_draw.c
source/blender/editors/space_view3d/drawarmature.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/editors/space_view3d/view3d_ruler.c
source/blender/editors/transform/transform.c
source/blender/editors/transform/transform_constraints.c
source/blender/editors/util/ed_util.c
source/blender/editors/uvedit/uvedit_draw.c
source/blender/gpu/CMakeLists.txt
source/blender/gpu/GPU_shader.h
source/blender/gpu/intern/gpu_shader.c
source/blender/gpu/shaders/gpu_shader_2D_line_dashed_frag.glsl
source/blender/gpu/shaders/gpu_shader_2D_line_dashed_geom.glsl
source/blender/gpu/shaders/gpu_shader_2D_line_dashed_uniform_color_vert.glsl [new file with mode: 0644]
source/blender/gpu/shaders/gpu_shader_2D_line_dashed_vert.glsl [deleted file]
source/blender/gpu/shaders/gpu_shader_2D_line_dashed_width_geom.glsl [new file with mode: 0644]
source/blender/gpu/shaders/gpu_shader_3D_line_dashed_uniform_color_legacy_vert.glsl [moved from source/blender/gpu/shaders/gpu_shader_3D_line_dashed_legacy_vert.glsl with 57% similarity]
source/blender/gpu/shaders/gpu_shader_3D_line_dashed_uniform_color_vert.glsl [new file with mode: 0644]
source/blender/gpu/shaders/gpu_shader_3D_line_dashed_vert.glsl [deleted file]
source/blender/windowmanager/intern/wm_gesture.c