Blender Git Commit Log

Git Commits -> Revision 33cc334

Revision 33cc334 by Clément Foucault (master)
December 10, 2018, 18:02 (GMT)
GPU: Make changes to GPUIndexBuf and GPUVertBuf to allow multithreading

This is a small change. We delay all gl calls at the first use of the
GPUIndexBuf / GPUVertBuf in order to be able to create multiple buffers
from different threads without having many gl contexts.

Commit Details:

Full Hash: 33cc3344a26d674c1283c5fd8c007a63f0d8a5fc
Parent Commit: a99eb0c
Lines Changed: +27, -16

3 Modified Paths:

/source/blender/gpu/GPU_element.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_element.c (+22, -12) (Diff)
/source/blender/gpu/intern/gpu_vertex_buffer.c (+4, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021