#ifndef SWR_SCREEN_H
#define SWR_SCREEN_H
+#include "swr_resource.h"
+
#include "pipe/p_screen.h"
#include "pipe/p_defines.h"
+#include "util/u_format.h"
#include "api.h"
+#include "memory/TilingFunctions.h"
+
struct sw_winsys;
struct swr_screen {
struct sw_winsys *winsys;
+ /* Configurable environment settings */
+ boolean msaa_force_enable;
+ uint8_t msaa_max_count;
+ uint32_t client_copy_limit;
+
HANDLE hJitMgr;
+#if USE_SIMD16_SHADERS
+ HANDLE hJitMgr16;
+#endif
+
+ PFNSwrGetInterface pfnSwrGetInterface;
+
+ /* Do we run on Xeon Phi? */
+ bool is_knl;
};
static INLINE struct swr_screen *