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

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

Issue 2467103003: gl_context_glx: add workaround to create default context (Closed)
Patch Set: WIP Created 4 years, 1 month 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/browser/gpu/gpu_process_host.cc » ('j') | gpu/config/gpu_driver_bug_list_json.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 89da2e6a8873e0e0884ff240d37ce356b3607228..50a767e4c2112542bb17db44023d25c8e0430d31 100644
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
@@ -746,6 +746,11 @@ void GpuDataManagerImplPrivate::AppendGpuCommandLine(
}
}
+ if (gpu_driver_bugs_.find(gpu::CREATE_DEFAULT_CONTEXT) !=
Ken Russell (switch to Gerrit) 2016/11/03 21:30:02 See below -- please rename to something like CREAT
Corentin Wallez 2016/11/03 21:41:45 Done
+ gpu_driver_bugs_.end()) {
+ command_line->AppendSwitch(switches::kCreateDefaultContext);
+ }
+
#if defined(OS_WIN)
if (IsFeatureBlacklisted(gpu::GPU_FEATURE_TYPE_ACCELERATED_VPX_DECODE) &&
gpu_preferences) {
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host.cc » ('j') | gpu/config/gpu_driver_bug_list_json.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698