projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
llvmpipe: Use two LLVMContexts per OpenGL context instead of a global one.
[mesa.git]
/
src
/
gallium
/
drivers
/
llvmpipe
/
lp_context.h
diff --git
a/src/gallium/drivers/llvmpipe/lp_context.h
b/src/gallium/drivers/llvmpipe/lp_context.h
index ee0831fbb6d438ec2247d0d0e2d8a10158c9513f..0d47c0d517cede0a12bb80966f849da6f64ac0aa 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_context.h
+++ b/
src/gallium/drivers/llvmpipe/lp_context.h
@@
-153,6
+153,9
@@
struct llvmpipe_context {
struct pipe_query *render_cond_query;
uint render_cond_mode;
boolean render_cond_cond;
+
+ /** The LLVMContext to use for LLVM related work */
+ LLVMContextRef context;
};