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

Unified Diff: content/gpu/gpu_info_collector_win.cc

Issue 9960035: Revert 130496 - Disable image transport surface on AMD GPUs (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1025/src/
Patch Set: Created 8 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.cc ('k') | content/public/common/gpu_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_info_collector_win.cc
===================================================================
--- content/gpu/gpu_info_collector_win.cc (revision 131375)
+++ content/gpu/gpu_info_collector_win.cc (working copy)
@@ -336,22 +336,6 @@
if (result == ERROR_SUCCESS)
driver_date = WideToASCII(std::wstring(value));
- std::string driver_vendor;
- dwcb_data = sizeof(value);
- result = RegQueryValueExW(
- key, L"ProviderName", NULL, NULL,
- reinterpret_cast<LPBYTE>(value), &dwcb_data);
- if (result == ERROR_SUCCESS) {
- driver_vendor = WideToASCII(std::wstring(value));
- // If it's an Intel GPU with a driver provided by AMD then it's
- // probably AMD's Dynamic Switchable Graphics.
- // TODO: detect only AMD switchable
- gpu_info->amd_switchable =
- driver_vendor == "Advanced Micro Devices, Inc." ||
- driver_vendor == "ATI Technologies Inc.";
- }
-
- gpu_info->driver_vendor = driver_vendor;
gpu_info->driver_version = driver_version;
gpu_info->driver_date = driver_date;
found = true;
« no previous file with comments | « content/browser/gpu/gpu_data_manager.cc ('k') | content/public/common/gpu_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698