diff options
author | Antonioya <blendergit@gmail.com> | 2018-11-22 12:43:44 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-11-22 12:44:06 +0300 |
commit | a0d7d3187bc511a3e55f2403a08d37c8ccb34cbe (patch) | |
tree | 0876f9d4ae764b52486f0213c80be1174e698916 /source/blender/editors | |
parent | d9215b064cfea10267396dda8381fee537d67364 (diff) |
GP: Cleanup old TODO comments
These ToDo were ported when 2.7x code was ported to 2.8, but now they are not needed.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/gpencil/annotate_draw.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/editors/gpencil/annotate_draw.c b/source/blender/editors/gpencil/annotate_draw.c index 1a51875af9e..c83015675a0 100644 --- a/source/blender/editors/gpencil/annotate_draw.c +++ b/source/blender/editors/gpencil/annotate_draw.c @@ -134,7 +134,6 @@ static void gp_draw_stroke_buffer( immBindBuiltinProgram(GPU_SHADER_2D_UNIFORM_COLOR); immUniformColor3fvAlpha(ink, ink[3]); - /* TODO: implement this with a geometry shader to draw one continuous tapered stroke */ immBeginAtMost(GPU_PRIM_LINE_STRIP, totpoints); for (int i = 0; i < totpoints; i++, pt++) { @@ -263,8 +262,6 @@ static void gp_draw_stroke_3d( immBindBuiltinProgram(GPU_SHADER_3D_UNIFORM_COLOR); immUniformColor3fvAlpha(ink, ink[3]); - /* TODO: implement this with a geometry shader to draw one continuous tapered stroke */ - /* draw stroke curve */ GPU_line_width(max_ff(curpressure * thickness, 1.0f)); immBeginAtMost(GPU_PRIM_LINE_STRIP, totpoints + cyclic_add); @@ -337,8 +334,6 @@ static void gp_draw_stroke_2d( scalefac = 0.001f; } - /* TODO: fancy++ with the magic of shaders */ - /* tessellation code - draw stroke as series of connected quads (triangle strips in fact) with connection * edges rotated to minimize shrinking artifacts, and rounded endcaps */ |