Blender Git Loki

Git Commits -> Revision 8d77fe8

Revision 8d77fe8 by Lukas Toenne (strand_gpu, strand_nodes)
July 14, 2016, 10:38 (GMT)
Cleanup: Move code for strand drawing buffers into its own file.

The gpu_buffers.c file is becoming too large, and incorporates all the logic
from meshes and now strands, which should be separate from the API.

Making the strands buffer code separate also allows much more control,
e.g. for partially invalidating draw data and avoiding unnecessary buffer
uploads to the GPU.

Commit Details:

Full Hash: 8d77fe834bf8d521d9f80cabccd3a75062453e86
Parent Commit: a685642
Lines Changed: +1426, -1401

2 Added Paths:

/source/blender/gpu/intern/gpu_strands_buffer.c (+994, -0) (View)
/source/blender/gpu/intern/gpu_strands_shader.c (+337, -0) (View)

1 Deleted Path:

/source/blender/gpu/intern/gpu_strands.c (+0, -336)

4 Modified Paths:

/source/blender/gpu/CMakeLists.txt (+2, -1) (Diff)
/source/blender/gpu/GPU_buffers.h (+6, -20) (Diff)
/source/blender/gpu/GPU_strands.h (+24, -1) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+63, -1043) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021