Blender Git Commit Log

Git Commits -> Revision d049379

Revision d049379 by Dalai Felinto (master)
September 23, 2021, 15:41 (GMT)
Cleanup: Remove hardcoded values and rename keyframe shape shaders

No functional change.

The shader is complicated by itself, having hardcoded values makes it
even more cryptic.

I also renamed the shader because the shader is not for the keyfarme diamond only,
but for all the keyframe shapes.

Differential Revision: https://developer.blender.org/D12615

Commit Details:

Full Hash: d0493796a6f40db8dcdd4a9058b98a69282d4759
Parent Commit: f11bcb5
Lines Changed: +243, -210

2 Added Paths:

/source/blender/gpu/shaders/gpu_shader_keyframe_shape_frag.glsl (+102, -0) (View)
/source/blender/gpu/shaders/gpu_shader_keyframe_shape_vert.glsl (+99, -0) (View)

2 Deleted Paths:

/source/blender/gpu/shaders/gpu_shader_keyframe_diamond_frag.glsl (+0, -89)
/source/blender/gpu/shaders/gpu_shader_keyframe_diamond_vert.glsl (+0, -86)

10 Modified Paths:

/source/blender/editors/animation/keyframes_draw.c (+9, -9) (Diff)
/source/blender/editors/include/ED_keyframes_draw.h (+1, -1) (Diff)
/source/blender/editors/interface/interface_icons.c (+1, -1) (Diff)
/source/blender/editors/space_clip/clip_dopesheet_draw.c (+1, -1) (Diff)
/source/blender/editors/space_nla/nla_draw.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_draw.cc (+6, -12) (Diff)
/source/blender/gpu/CMakeLists.txt (+2, -2) (Diff)
/source/blender/gpu/GPU_shader.h (+14, -1) (Diff)
/source/blender/gpu/intern/gpu_shader_builtin.c (+6, -6) (Diff)
/source/blender/gpu/tests/gpu_shader_builtin_test.cc (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021