Blender Git Loki
Git Commits -> Revision 3e468e5
Revision 3e468e5 by Antonio Vazquez (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) February 19, 2018, 16:54 (GMT) |
WIP: Improved use of UV along the path and speedup Now the texture is calculated using the pixelsize along the stroke. Added a precalculation of fill and Uvs caches in order to avoid recalculation on frame change. This makes first play a little more slow (few miliseconds), but the next time the frame is used, all cache data is precalculated and the overall FPS is better when use fill strokes. |
Commit Details:
Full Hash: 3e468e5556d6d245c4dfec52c0cc37693818baff
Parent Commit: d674891
Lines Changed: +57, -21
8 Modified Paths:
/source/blender/draw/engines/gpencil/gpencil_draw_cache_impl.c (+8, -5) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+3, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_geom.c (+26, -2) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_stroke_frag.glsl (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+5, -4) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+12, -6) (Diff)
/source/blender/editors/include/ED_gpencil.h (+1, -2) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+1, -1) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+3, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_geom.c (+26, -2) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_stroke_frag.glsl (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+5, -4) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+12, -6) (Diff)
/source/blender/editors/include/ED_gpencil.h (+1, -2) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+1, -1) (Diff)