Blender Git Loki

Git Commits -> Revision c7653fa

Revision c7653fa by Julian Eisel (temp-vr-draw-thread)
August 2, 2019, 16:05 (GMT)
Manage GPU_matrix stacks per GPUContext

Previous global GPU_matrix stacks weren't safe for access from multiple
threads. With this, GPU_matrix stacks are concurrent in combination
with GPUContext.
Needed for VR session drawing on a separate thread.

Reviewers: fclem, brecht

Differential Revision: https://developer.blender.org/D5405

Commit Details:

Full Hash: c7653fad678a32663bc4b153ada343f52ca76fe5
Parent Commit: 38ff506
Lines Changed: +106, -33

1 Added Path:

/source/blender/gpu/intern/gpu_matrix_private.h (+35, -0) (View)

4 Modified Paths:

/source/blender/gpu/CMakeLists.txt (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_context.cpp (+10, -0) (Diff)
/source/blender/gpu/intern/gpu_context_private.h (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_matrix.c (+58, -33) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021