Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2014-01-05 06:58:27 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-01-05 06:58:27 +0400
commitd9697bc1455dc556fd233aae9d45b523af62669b (patch)
treebd3bdcf47862f45362c7aef105efa193c586966c /source/blender/blenkernel/intern/font.c
parent0074eac1ed6a876a951f04b6a017fd7058041558 (diff)
Fix T38024 crash when rebuilding sculpt mode buffers.
Main issue here is that glBuf* calls were invoked from threads different than main thread. This caused a crash (since those do not have a GL context active). Fix here is twofold: * add an ID buffer in buffer pool that handles pbvh buffers and is freed from main thread when gpu_buffer_pool_free_unused is called. * do not create glbuffers in derivedmesh creation routine, rather tag nodes for update and create those in the draw function (guaranteed to be called from main thread) Reviewed By: brecht Differential Revision: https://developer.blender.org/D169
Diffstat (limited to 'source/blender/blenkernel/intern/font.c')
0 files changed, 0 insertions, 0 deletions