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

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

Issue 7064032: Turns on the gpu accelerated canvas by default (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 | « content/browser/gpu/gpu_blacklist.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_data_manager.cc
===================================================================
--- content/browser/gpu/gpu_data_manager.cc (revision 86432)
+++ content/browser/gpu/gpu_data_manager.cc (working copy)
@@ -62,8 +62,10 @@
const CommandLine& browser_command_line = *CommandLine::ForCurrentProcess();
if (gpu_blacklist_.get())
return gpu_blacklist_->GetFeatureStatus(GpuAccessAllowed(),
- browser_command_line.HasSwitch(switches::kDisableAcceleratedCompositing),
- browser_command_line.HasSwitch(switches::kEnableAccelerated2dCanvas),
+ browser_command_line.HasSwitch(
+ switches::kDisableAcceleratedCompositing),
+ browser_command_line.HasSwitch(
+ switches::kDisableAccelerated2dCanvas),
browser_command_line.HasSwitch(switches::kDisableExperimentalWebGL),
browser_command_line.HasSwitch(switches::kDisableGLMultisampling));
return NULL;
@@ -142,7 +144,8 @@
if (flags & GpuFeatureFlags::kGpuFeatureAcceleratedCompositing) {
const char* switches[] = {
switches::kDisableAcceleratedCompositing,
- switches::kDisableExperimentalWebGL
+ switches::kDisableExperimentalWebGL,
+ switches::kDisableAccelerated2dCanvas
};
const int switch_count = sizeof(switches) / sizeof(char*);
for (int i = 0; i < switch_count; ++i) {
« no previous file with comments | « content/browser/gpu/gpu_blacklist.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698