summaryrefslogtreecommitdiffstats
path: root/cc/trees/layer_tree_host_common.h
diff options
context:
space:
mode:
authorjaydasika <jaydasika@chromium.org>2015-12-09 15:52:46 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-09 23:54:22 +0000
commitcb93d1c0ff96e8d2610c95f6a1a2986293960774 (patch)
tree5408806b98364fe647127e0b3a975ebc971d51d3 /cc/trees/layer_tree_host_common.h
parent01749fbb1216c45883397ef4f8ae3b8e90500a24 (diff)
downloadchromium_src-cb93d1c0ff96e8d2610c95f6a1a2986293960774.zip
chromium_src-cb93d1c0ff96e8d2610c95f6a1a2986293960774.tar.gz
chromium_src-cb93d1c0ff96e8d2610c95f6a1a2986293960774.tar.bz2
Jitter Measurement
Adds code to measure jitter in web pages. The jitter measure used is proportional to displacement from the fixed point and the size of layer that jitters. BUG=542813 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1181263003 Cr-Commit-Position: refs/heads/master@{#364222}
Diffstat (limited to 'cc/trees/layer_tree_host_common.h')
-rw-r--r--cc/trees/layer_tree_host_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/trees/layer_tree_host_common.h b/cc/trees/layer_tree_host_common.h
index 9265932..6ebd86a 100644
--- a/cc/trees/layer_tree_host_common.h
+++ b/cc/trees/layer_tree_host_common.h
@@ -115,6 +115,7 @@ class CC_EXPORT LayerTreeHostCommon {
int current_render_surface_layer_list_id);
};
+ static int CalculateFrameJitter(LayerImpl* scrolling_layer);
static void CalculateDrawProperties(CalcDrawPropsMainInputs* inputs);
static void PreCalculateMetaInformation(Layer* root_layer);
static void PreCalculateMetaInformationForTesting(LayerImpl* root_layer);