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

Unified Diff: gpu/config/gpu_info_collector_win.cc

Issue 2680423002: Introducing 2 usages for SwiftShader (Closed)
Patch Set: Added missing change to GpuDataManagerImplPrivate Created 3 years, 10 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: gpu/config/gpu_info_collector_win.cc
diff --git a/gpu/config/gpu_info_collector_win.cc b/gpu/config/gpu_info_collector_win.cc
index a12cf38450cc2279840d4b5d7d7d482012c2bfc9..d13b817fb6ff6f3d7636e1d855b2befc4654fe00 100644
--- a/gpu/config/gpu_info_collector_win.cc
+++ b/gpu/config/gpu_info_collector_win.cc
@@ -252,7 +252,8 @@ CollectInfoResult CollectContextGraphicsInfo(GPUInfo* gpu_info) {
std::string requested_implementation_name =
base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
switches::kUseGL);
- if (requested_implementation_name == "swiftshader") {
+ if (requested_implementation_name ==
+ gl::kGLImplementationSwiftShaderForWebGLName) {
gpu_info->software_rendering = true;
gpu_info->context_info_state = kCollectInfoNonFatalFailure;
return kCollectInfoNonFatalFailure;

Powered by Google App Engine
This is Rietveld 408576698