Chromium Code Reviews| 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) { |