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

Unified Diff: chrome/browser/about_flags.cc

Issue 8771056: Add a command-line switch --enable-per-tile-painting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years 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 | « chrome/app/generated_resources.grd ('k') | chrome/browser/tab_contents/render_view_host_delegate_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index c983e2d0047e35dc102e79dba389a8d65da5cb56..7386c5cd3f16caf36348f07003d02b9d0c33d09b 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -154,15 +154,15 @@ const Experiment kExperiments[] = {
SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders)
},
{
- "accelerated-drawing",
- IDS_FLAGS_ACCELERATED_DRAWING_NAME,
- IDS_FLAGS_ACCELERATED_DRAWING_DESCRIPTION,
+ "accelerated-painting",
+ IDS_FLAGS_ACCELERATED_PAINTING_NAME,
+ IDS_FLAGS_ACCELERATED_PAINTING_DESCRIPTION,
#if defined(USE_SKIA)
kOsAll,
#else
0,
#endif
- SINGLE_VALUE_TYPE(switches::kEnableAcceleratedDrawing)
+ SINGLE_VALUE_TYPE(switches::kEnableAcceleratedPainting)
},
{
"show-fps-counter",
@@ -457,6 +457,17 @@ const Experiment kExperiments[] = {
SINGLE_VALUE_TYPE(switches::kAuraLaptopMode)
},
#endif
+ {
+ "per-tile-painting",
+ IDS_FLAGS_PER_TILE_PAINTING_NAME,
+ IDS_FLAGS_PER_TILE_PAINTING_DESCRIPTION,
+#if defined(USE_SKIA)
+ kOsAll,
+#else
+ 0,
+#endif
+ SINGLE_VALUE_TYPE(switches::kEnablePerTilePainting)
+ },
};
const Experiment* experiments = kExperiments;
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/tab_contents/render_view_host_delegate_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698