浏览代码

Linux: Add Mesa 20 "Intel" to prime detection

Diff in `glxinfo` between Mesa 19.3.4 and 20.0.1:
```diff
-OpenGL vendor string: Intel Open Source Technology Center
-OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2)
-OpenGL core profile version string: 4.6 (Core Profile) Mesa 19.3.4
+OpenGL vendor string: Intel
+OpenGL renderer string: Mesa Intel(R) HD Graphics 630 (KBL GT2)
+OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.1
```

(cherry picked from commit db28e7ef69acd5a6eca11405654c5a9a987377ed)
Rémi Verschelde 5 年之前
父节点
当前提交
ec752f7c9b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      platform/x11/detect_prime.cpp

+ 1 - 0
platform/x11/detect_prime.cpp

@@ -62,6 +62,7 @@ vendor vendormap[] = {
 	{ "NVIDIA Corporation", 30 },
 	{ "X.Org", 30 },
 	{ "Intel Open Source Technology Center", 20 },
+	{ "Intel", 20 },
 	{ "nouveau", 10 },
 	{ "Mesa Project", 0 },
 	{ NULL, 0 }