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

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

Issue 9969135: Disable image transport surface on AMD GPUs (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1025/src/
Patch Set: Created 8 years, 9 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_info_collector_win.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.cc
===================================================================
--- content/browser/gpu/gpu_data_manager.cc (revision 130483)
+++ content/browser/gpu/gpu_data_manager.cc (working copy)
@@ -503,6 +503,12 @@
if (gpu_info().optimus)
command_line->AppendSwitch(switches::kReduceGpuSandbox);
+ if (gpu_info().amd_switchable) {
+ // The image transport surface currently doesn't work with AMD Dynamic
+ // Switchable graphics.
+ command_line->AppendSwitch(switches::kReduceGpuSandbox);
+ command_line->AppendSwitch(switches::kDisableImageTransportSurface);
+ }
}
void GpuDataManager::SetGpuBlacklist(GpuBlacklist* gpu_blacklist) {
@@ -736,6 +742,7 @@
object->finalized = other.finalized;
object->initialization_time = other.initialization_time;
object->optimus |= other.optimus;
+ object->amd_switchable |= other.amd_switchable;
if (object->driver_vendor.empty()) {
changed |= object->driver_vendor != other.driver_vendor;
« no previous file with comments | « no previous file | content/gpu/gpu_info_collector_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698