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

Unified Diff: content/browser/gpu/gpu_data_manager_impl_private.cc

Issue 1860823004: Entries from kGpuDriverBugListJson are not selected on OS_WIN when relying on gl_renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove the ifdef altogether and rebase Created 4 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
« no previous file with comments | « no previous file | content/gpu/gpu_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_data_manager_impl_private.cc
diff --git a/content/browser/gpu/gpu_data_manager_impl_private.cc b/content/browser/gpu/gpu_data_manager_impl_private.cc
index 9db52c08d1db5aaf19f999a34275cdd6031f7b0f..e324279ca04e7a3e4aff8c9b9b177899dd36a3dd 100644
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
@@ -546,6 +546,11 @@ void GpuDataManagerImplPrivate::Initialize() {
}
gpu::ParseSecondaryGpuDevicesFromCommandLine(*command_line, &gpu_info);
+
+ if (command_line->HasSwitch(switches::kGpuTestingDriverDate)) {
+ gpu_info.driver_date =
+ command_line->GetSwitchValueASCII(switches::kGpuTestingDriverDate);
+ }
}
#if defined(ARCH_CPU_X86_FAMILY)
if (!gpu_info.gpu.vendor_id || !gpu_info.gpu.device_id) {
@@ -744,6 +749,8 @@ void GpuDataManagerImplPrivate::AppendGpuCommandLine(
gpu_info_.driver_vendor);
command_line->AppendSwitchASCII(switches::kGpuDriverVersion,
gpu_info_.driver_version);
+ command_line->AppendSwitchASCII(switches::kGpuDriverDate,
+ gpu_info_.driver_date);
gpu::GPUInfo::GPUDevice maybe_active_gpu_device;
if (gpu_info_.gpu.active)
« no previous file with comments | « no previous file | content/gpu/gpu_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698