Blender Git Loki
Git Commits -> Revision e6425aa
Revision e6425aa by Julian Eisel (master) August 14, 2019, 13:27 (GMT) |
Manage GPU_matrix stacks per GPUContext Previously, we had one global `GPU_matrix` stack, so the API was not thread safe. This patch makes the stack be per `GPUContext`, effectively making it local per thread (`GPUContext` is located in thread local storage). Reviewed By: brecht Differential Revision: https://developer.blender.org/D5405 |
Commit Details:
Full Hash: e6425aa2bf3e6a9bba2f10066dc3f09cea11086f
Parent Commit: 4074ab3
Lines Changed: +106, -33
1 Added Path:
/source/blender/gpu/intern/gpu_matrix_private.h (+35, -0) (View)