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

Unified Diff: content/gpu/gpu_main.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 | « content/browser/gpu/gpu_data_manager_impl_private.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_main.cc
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index 227a9268a6b52c8f3a347d64f16b99aa075f00d2..87f78fe9ec880d0ae28111f567ee1da3ebeb6283 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -306,7 +306,6 @@ int GpuMain(const MainFunctionParams& parameters) {
if (!CollectGraphicsInfo(gpu_info))
dead_on_arrival = true;
-#if defined(OS_CHROMEOS) || defined(OS_ANDROID) || defined(OS_LINUX)
// Recompute gpu driver bug workarounds.
// This is necessary on systems where vendor_id/device_id aren't available
// (Chrome OS, Android) or where workarounds may be dependent on GL_VENDOR
@@ -319,7 +318,6 @@ int GpuMain(const MainFunctionParams& parameters) {
gpu::ApplyGpuDriverBugWorkarounds(
gpu_info, const_cast<base::CommandLine*>(&command_line));
}
-#endif
#if defined(OS_LINUX)
initialized_gl_context = true;
@@ -438,6 +436,8 @@ void GetGpuInfoFromCommandLine(gpu::GPUInfo& gpu_info,
command_line.GetSwitchValueASCII(switches::kGpuDriverVendor);
gpu_info.driver_version =
command_line.GetSwitchValueASCII(switches::kGpuDriverVersion);
+ gpu_info.driver_date =
+ command_line.GetSwitchValueASCII(switches::kGpuDriverDate);
gpu::ParseSecondaryGpuDevicesFromCommandLine(command_line, &gpu_info);
// Set active gpu device.
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl_private.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698