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

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

Issue 2281663002: Disable unified media pipeline (Spitzer) for Webview for PowerVR (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased, updated bug list version Created 4 years, 4 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/gpu_driver_bug_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 4ad247838e4d18a0a156161140888b67915cba18..6ba93d5bf6b9e5c15a30a5c6b1ed79f7eefd8eda 100644
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
@@ -48,6 +48,9 @@
#if defined(OS_WIN)
#include "base/win/windows_version.h"
#endif // OS_WIN
+#if defined(OS_ANDROID)
+#include "media/base/media_switches.h"
+#endif
namespace content {
@@ -744,6 +747,13 @@ void GpuDataManagerImplPrivate::AppendGpuCommandLine(
}
}
+#if defined(OS_ANDROID)
+ if (command_line->HasSwitch(switches::kEnableThreadedTextureMailboxes) &&
Ken Russell (switch to Gerrit) 2016/08/26 00:22:15 Question: is this the key flag which distinguishes
+ IsDriverBugWorkaroundActive(gpu::AVDA_NO_EGLIMAGE_FOR_LUMINANCE_TEX)) {
+ command_line->AppendSwitch(switches::kDisableUnifiedMediaPipeline);
+ }
+#endif
+
#if defined(OS_WIN)
if (IsFeatureBlacklisted(gpu::GPU_FEATURE_TYPE_ACCELERATED_VPX_DECODE) &&
gpu_preferences) {
« no previous file with comments | « no previous file | gpu/config/gpu_driver_bug_list_json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698