X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgallium%2Fdrivers%2Fswr%2Fswr_screen.h;h=b80d8c70ec97a913cf0155644d02a396461d7f5a;hb=a29d63ecf71546c4798c609e37810f0ec81793d8;hp=dc1bb47f02d5acce13f5d93640b4ab431d012d1c;hpb=1832ef6cd9bdce4f546128c0b77d7acd6fd898a7;p=mesa.git diff --git a/src/gallium/drivers/swr/swr_screen.h b/src/gallium/drivers/swr/swr_screen.h index dc1bb47f02d..b80d8c70ec9 100644 --- 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 "util/u_dl.h" #include "util/u_format.h" #include "api.h" @@ -43,10 +44,19 @@ 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; + + /* Dynamic backend implementations */ + util_dl_library *pLibrary; + PFNSwrGetInterface pfnSwrGetInterface; + + /* Do we run on Xeon Phi? */ + bool is_knl; }; static INLINE struct swr_screen *