Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Unified Diff: ui/gl/BUILD.gn

Issue 2777193002: Enable SwiftShader fallback on desktop Linux. (Closed)
Patch Set: Info collected successfully. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/gl/BUILD.gn
diff --git a/ui/gl/BUILD.gn b/ui/gl/BUILD.gn
index 35cce3c71fed68d1ce99b3ec3de1e8cf7995902f..a36683eb82cfa8eb2ba59844df2ab8a6ba19c80c 100644
--- a/ui/gl/BUILD.gn
+++ b/ui/gl/BUILD.gn
@@ -10,7 +10,8 @@ import("//ui/ozone/ozone.gni")
import("//testing/test.gni")
declare_args() {
- enable_swiftshader = is_win
+ enable_swiftshader = (is_win || (is_linux && !is_chromeos && use_x11)) &&
+ (target_cpu == "x86" || target_cpu == "x64")
}
use_egl = is_win || is_android || is_linux

Powered by Google App Engine
This is Rietveld 408576698