Blender Git Loki
Git Commits -> Revision b847861
January 19, 2020, 01:12 (GMT) |
GPencil: Refactor: Reuse GPENCIL_MaterialPool across multiple objects This minimize the number of UBO we create and the number of UBO switching we have to do to render each objects. |
Commit Details:
Full Hash: b847861b6cb26be89a451ab87e50ccbd4629ea1d
Parent Commit: 0d0bfd3
Lines Changed: +39, -28
6 Modified Paths:
/source/blender/draw/engines/gpencil/gpencil_draw_data.c (+15, -7) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+1, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+2, -0) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl (+19, -17) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_frag.glsl (+1, -1) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+1, -3) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+1, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+2, -0) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_common_lib.glsl (+19, -17) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_frag.glsl (+1, -1) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+1, -3) (Diff)