summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2014-07-13 12:49:41 +0200
committerMathias Fröhlich <[email protected]>2014-09-30 20:51:02 +0200
commitd90ff351f3a3598834f77b9c0723532b3abd3cd5 (patch)
tree338b6fcba4f86b70fee872efca7d9947dee31eab /src/glsl
parent83c62597fc8eb38bf274fa1a3ca03c6adafb4bf9 (diff)
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 <[email protected]> Signed-off-by: Mathias Froehlich <[email protected]>
Diffstat (limited to 'src/glsl')
0 files changed, 0 insertions, 0 deletions