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

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

Issue 18402006: Disable texture sharing on AMD switchable via the blacklist. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update version # Created 7 years, 5 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 | gpu/config/software_rendering_list_json.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 b235fa8766391f8b7ffd3efaee93b45a7b0d893d..b769491f926120e3437b8213f3d5133590003966 100644
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
@@ -719,13 +719,6 @@ void GpuDataManagerImplPrivate::AppendGpuCommandLine(
if (gpu_info_.optimus)
reduce_sandbox = true;
- if (gpu_info_.amd_switchable) {
- // The image transport surface currently doesn't work with AMD Dynamic
- // Switchable graphics.
- reduce_sandbox = true;
- command_line->AppendSwitch(switches::kDisableImageTransportSurface);
- }
-
if (reduce_sandbox)
command_line->AppendSwitch(switches::kReduceGpuSandbox);
@@ -890,8 +883,6 @@ bool GpuDataManagerImplPrivate::IsUsingAcceleratedSurface() const {
if (base::win::GetVersion() < base::win::VERSION_VISTA)
return false;
- if (gpu_info_.amd_switchable)
- return false;
if (use_swiftshader_)
return false;
CommandLine* command_line = CommandLine::ForCurrentProcess();
« no previous file with comments | « no previous file | gpu/config/software_rendering_list_json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698