#ifndef LP_SCREEN_H
#define LP_SCREEN_H
-#include <llvm-c/Core.h>
-#include <llvm-c/Analysis.h>
-#include <llvm-c/Target.h>
+#include "gallivm/lp_bld.h"
#include <llvm-c/ExecutionEngine.h>
#include "pipe/p_screen.h"
#include "pipe/p_defines.h"
+struct sw_winsys;
+
+
struct llvmpipe_screen
{
struct pipe_screen base;
+ struct sw_winsys *winsys;
+
LLVMModuleRef module;
LLVMExecutionEngineRef engine;
LLVMModuleProviderRef provider;
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;
};
}
+
#endif /* LP_SCREEN_H */