summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_llvm.h
diff options
context:
space:
mode:
authorMathias Fröhlich <Mathias.Froehlich@gmx.net>2014-07-13 12:49:41 +0200
committerMathias Fröhlich <Mathias.Froehlich@gmx.net>2014-09-30 20:51:02 +0200
commitd90ff351f3a3598834f77b9c0723532b3abd3cd5 (patch)
tree338b6fcba4f86b70fee872efca7d9947dee31eab /src/gallium/auxiliary/draw/draw_llvm.h
parent83c62597fc8eb38bf274fa1a3ca03c6adafb4bf9 (diff)
downloadexternal_mesa3d-d90ff351f3a3598834f77b9c0723532b3abd3cd5.zip
external_mesa3d-d90ff351f3a3598834f77b9c0723532b3abd3cd5.tar.gz
external_mesa3d-d90ff351f3a3598834f77b9c0723532b3abd3cd5.tar.bz2
llvmpipe: Make a llvmpipe OpenGL context thread safe.
This fixes the remaining problem with the recently introduced global jit memory manager. This change again uses a memory manager that is local to gallivm_state. This implementation still frees the majority of the memory immediately after compilation. Only the generated code is deferred until this code is no longer used. This change and the previous one using private LLVMContext instances I can now safely run several independent OpenGL contexts driven by llvmpipe from different threads. v3: Rebase on llvm-3.6 compile fixes. Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_llvm.h')
0 files changed, 0 insertions, 0 deletions