projects
/
profile
/
ivi
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
llvmpipe: move rasterizer to screen instead of setup context
[profile/ivi/mesa.git]
/
src
/
gallium
/
drivers
/
llvmpipe
/
lp_screen.h
diff --git
a/src/gallium/drivers/llvmpipe/lp_screen.h
b/src/gallium/drivers/llvmpipe/lp_screen.h
index
eb40f68
..
731526d
100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_screen.h
+++ b/
src/gallium/drivers/llvmpipe/lp_screen.h
@@
-37,6
+37,7
@@
#include "gallivm/lp_bld.h"
#include <llvm-c/ExecutionEngine.h>
#include "gallivm/lp_bld.h"
#include <llvm-c/ExecutionEngine.h>
+#include "os/os_thread.h"
#include "pipe/p_screen.h"
#include "pipe/p_defines.h"
#include "pipe/p_screen.h"
#include "pipe/p_defines.h"
@@
-63,6
+64,9
@@
struct llvmpipe_screen
/* Increments whenever textures are modified. Contexts can track this.
*/
unsigned timestamp;
/* Increments whenever textures are modified. Contexts can track this.
*/
unsigned timestamp;
+
+ struct lp_rasterizer *rast;
+ pipe_mutex rast_mutex;
};
};