projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
swr: refactor swr_create_screen to allow for proper cleanup on error
[mesa.git]
/
src
/
gallium
/
drivers
/
swr
/
swr_screen.h
diff --git
a/src/gallium/drivers/swr/swr_screen.h
b/src/gallium/drivers/swr/swr_screen.h
index dc1bb47f02d5acce13f5d93640b4ab431d012d1c..b80d8c70ec97a913cf0155644d02a396461d7f5a 100644
(file)
--- a/
src/gallium/drivers/swr/swr_screen.h
+++ b/
src/gallium/drivers/swr/swr_screen.h
@@
-28,6
+28,7
@@
#include "pipe/p_screen.h"
#include "pipe/p_defines.h"
#include "pipe/p_screen.h"
#include "pipe/p_defines.h"
+#include "util/u_dl.h"
#include "util/u_format.h"
#include "api.h"
#include "util/u_format.h"
#include "api.h"
@@
-43,10
+44,19
@@
struct swr_screen {
struct sw_winsys *winsys;
struct sw_winsys *winsys;
+ /* Configurable environment settings */
boolean msaa_force_enable;
uint8_t msaa_max_count;
boolean msaa_force_enable;
uint8_t msaa_max_count;
+ uint32_t client_copy_limit;
HANDLE hJitMgr;
HANDLE hJitMgr;
+
+ /* Dynamic backend implementations */
+ util_dl_library *pLibrary;
+ PFNSwrGetInterface pfnSwrGetInterface;
+
+ /* Do we run on Xeon Phi? */
+ bool is_knl;
};
static INLINE struct swr_screen *
};
static INLINE struct swr_screen *