llvmpipe: Fix MSVC build.
[mesa.git] / src / gallium / drivers / llvmpipe / lp_screen.h
index af25e043cc97d386cbcc949ca5d69bc88a351545..731526dfabebc72e28d8ddb5a0a0a30a08d29e4f 100644 (file)
@@ -37,6 +37,7 @@
 #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"
 
@@ -58,10 +59,14 @@ struct llvmpipe_screen
 
    LLVMTypeRef context_ptr_type;
 
-   /* Increments whenever textures are modified.  Contexts can track
-    * this.
+   unsigned num_threads;
+
+   /* Increments whenever textures are modified.  Contexts can track this.
     */
-   unsigned timestamp;          
+   unsigned timestamp;
+
+   struct lp_rasterizer *rast;
+   pipe_mutex rast_mutex;
 };