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

Unified Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 11414308: Add vsync notification command line switch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move setting to content. Created 7 years, 9 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/public/common/content_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index 0ed61a8545d1d0e199ee4b7c36cc9d8811a52000..4e662fdf4b321afbd9ac15fdc2c7c7f713adf8c7 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -89,6 +89,8 @@ scoped_ptr<RenderWidgetCompositor> RenderWidgetCompositor::Create(
settings.accelerate_painting =
cmd->HasSwitch(switches::kEnableAcceleratedPainting);
settings.render_vsync_enabled = !cmd->HasSwitch(switches::kDisableGpuVsync);
+ settings.render_vsync_notification_enabled =
+ cmd->HasSwitch(switches::kEnableVsyncNotification);
settings.per_tile_painting_enabled =
cmd->HasSwitch(cc::switches::kEnablePerTilePainting);
settings.accelerated_animation_enabled =
« no previous file with comments | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698