projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
llvmpipe: fix blending with half-float formats
[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 4a1b4d6f3e21ce727aec6cc35c342f635338875f..7f69a11a6e3a1ccb8c46eb35d6a48a5ddabf6097 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_screen.h
+++ b/
src/gallium/drivers/llvmpipe/lp_screen.h
@@
-34,36
+34,29
@@
#ifndef LP_SCREEN_H
#define LP_SCREEN_H
#ifndef LP_SCREEN_H
#define LP_SCREEN_H
-#include <llvm-c/Core.h>
-#include <llvm-c/Analysis.h>
-#include <llvm-c/Target.h>
-#include <llvm-c/ExecutionEngine.h>
-
#include "pipe/p_screen.h"
#include "pipe/p_defines.h"
#include "pipe/p_screen.h"
#include "pipe/p_defines.h"
+#include "os/os_thread.h"
+#include "gallivm/lp_bld.h"
-struct
llvmpipe
_winsys;
+struct
sw
_winsys;
struct llvmpipe_screen
{
struct pipe_screen base;
struct llvmpipe_screen
{
struct pipe_screen base;
- struct llvmpipe_winsys *winsys;
-
- LLVMModuleRef module;
- LLVMExecutionEngineRef engine;
- LLVMModuleProviderRef provider;
- LLVMTargetDataRef target;
- LLVMPassManagerRef pass;
+ struct sw_winsys *winsys;
-
LLVMTypeRef context_ptr_type
;
+
unsigned num_threads
;
- /* Increments whenever textures are modified. Contexts can track
- * this.
+ /* Increments whenever textures are modified. Contexts can track this.
*/
*/
- unsigned timestamp;
+ unsigned timestamp;
+
+ struct lp_rasterizer *rast;
+ pipe_mutex rast_mutex;
};
};
@@
-76,4
+69,5
@@
llvmpipe_screen( struct pipe_screen *pipe )
}
}
+
#endif /* LP_SCREEN_H */
#endif /* LP_SCREEN_H */