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

Unified Diff: cc/surfaces/onscreen_display_client.cc

Issue 1177383005: cc: Add command line for frame production throttle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hope to be final patch Created 5 years, 5 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 | « cc/surfaces/onscreen_display_client.h ('k') | cc/trees/layer_tree_host_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/onscreen_display_client.cc
diff --git a/cc/surfaces/onscreen_display_client.cc b/cc/surfaces/onscreen_display_client.cc
index 2bd58fe4ca148cde169195c2935066cc6e3b1f8c..29a2a7a8ab236c70fb9580e786cc353de2030a7d 100644
--- a/cc/surfaces/onscreen_display_client.cc
+++ b/cc/surfaces/onscreen_display_client.cc
@@ -29,7 +29,7 @@ OnscreenDisplayClient::OnscreenDisplayClient(
settings)),
task_runner_(task_runner),
output_surface_lost_(false),
- disable_gpu_vsync_(settings.disable_gpu_vsync) {
+ disable_display_vsync_(settings.disable_display_vsync) {
}
OnscreenDisplayClient::~OnscreenDisplayClient() {
@@ -42,7 +42,7 @@ bool OnscreenDisplayClient::Initialize() {
max_frames_pending = OutputSurface::DEFAULT_MAX_FRAMES_PENDING;
BeginFrameSource* frame_source;
- if (disable_gpu_vsync_) {
+ if (disable_display_vsync_) {
unthrottled_frame_source_ =
BackToBackBeginFrameSource::Create(task_runner_.get());
frame_source = unthrottled_frame_source_.get();
« no previous file with comments | « cc/surfaces/onscreen_display_client.h ('k') | cc/trees/layer_tree_host_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698