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

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

Issue 2354423002: Enable ANGLE ES3 by default in Chromium (Windows) (Closed)
Patch Set: order Created 4 years, 3 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_workaround_type.h » ('j') | ui/gl/gl_context_egl.cc » ('J')
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 96beb775df9b3160d7e407bce87e51bc90d2cc36..3031b82843b4903f31efa0f3b0b68f2edc5c3b95 100644
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
@@ -697,6 +697,8 @@ void GpuDataManagerImplPrivate::AppendGpuCommandLine(
std::string use_gl =
base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
switches::kUseGL);
+ if (gpu_driver_bugs_.find(gpu::DISABLE_ES3_ANGLE) != gpu_driver_bugs_.end())
+ command_line->AppendSwitch(switches::kDisableES3ANGLE);
if (gpu_driver_bugs_.find(gpu::DISABLE_D3D11) != gpu_driver_bugs_.end())
command_line->AppendSwitch(switches::kDisableD3D11);
if (gpu_driver_bugs_.find(gpu::DISABLE_DIRECT_COMPOSITION) !=
« no previous file with comments | « no previous file | gpu/config/gpu_driver_bug_workaround_type.h » ('j') | ui/gl/gl_context_egl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698