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

Unified Diff: content/public/browser/gpu_utils.cc

Issue 2473933002: Enable WebGL 2 by default! (on desktop) (Closed)
Patch Set: undo rename of GpuPreferences::enable_unsafe_es3_apis 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
Index: content/public/browser/gpu_utils.cc
diff --git a/content/public/browser/gpu_utils.cc b/content/public/browser/gpu_utils.cc
index 113545daceb9942ac5b3824465764c4ae09382d8..2741e46a582fbb15697574e2a44c92160844f7d5 100644
--- a/content/public/browser/gpu_utils.cc
+++ b/content/public/browser/gpu_utils.cc
@@ -105,11 +105,10 @@ const gpu::GpuPreferences GetGpuPreferencesFromCommandLine() {
command_line->HasSwitch(switches::kEnableGPUServiceLogging);
gpu_preferences.enable_gpu_service_tracing =
command_line->HasSwitch(switches::kEnableGPUServiceTracing);
- gpu_preferences.enable_unsafe_es3_apis =
- command_line->HasSwitch(switches::kEnableUnsafeES3APIs) &&
- !command_line->HasSwitch(switches::kDisableES3APIs);
gpu_preferences.use_passthrough_cmd_decoder =
command_line->HasSwitch(switches::kUsePassthroughCmdDecoder);
+ // Some of these preferences are set or adjusted in
+ // GpuDataManagerImplPrivate::AppendGpuCommandLine.
return gpu_preferences;
}
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl_private.cc ('k') | content/test/gpu/gpu_tests/pixel_expectations.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698