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

Unified Diff: content/gpu/gpu_main.cc

Issue 1117813002: Add GL strings to CastSysInfo interface and use to configure GPU (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: content/gpu/gpu_main.cc
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index eebb732a6ecf032403aceece74c2d337e6646900..0e77462df181e641d5a6949345b4e0ea9eb15d9d 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -387,6 +387,10 @@ void GetGpuInfoFromCommandLine(gpu::GPUInfo& gpu_info,
command_line.GetSwitchValueASCII(switches::kGpuDriverVendor);
gpu_info.driver_version =
command_line.GetSwitchValueASCII(switches::kGpuDriverVersion);
+ gpu_info.gpu.vendor_string =
+ command_line.GetSwitchValueASCII(switches::kGpuVendorString);
+ gpu_info.gpu.device_string =
+ command_line.GetSwitchValueASCII(switches::kGpuDeviceString);
GetContentClient()->SetGpuInfo(gpu_info);
}

Powered by Google App Engine
This is Rietveld 408576698