Blender Git Loki

Git Commits -> Revision 00a3c29

Revision 00a3c29 by Clément Foucault (master)
August 13, 2020, 12:20 (GMT)
GPUVertBuf: Add handle refcount

A handle refcount is here to avoid freeing of the GPUVertBuf datablock
if it is still referenced somewhere else.

This does not prevent deleting the actual data. This is to avoid too
much zombie data usage.

This is in order to avoid most hacks inside `draw_instance_data.c`.

Commit Details:

Full Hash: 00a3c297d254ee7acb375206d7ed0cf6f0ef9ef9
Parent Commit: 93165cb
Lines Changed: +24, -1

2 Modified Paths:

/source/blender/gpu/GPU_vertex_buffer.h (+6, -0) (Diff)
/source/blender/gpu/intern/gpu_vertex_buffer.cc (+18, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021