blob: 5d1f4462d24273d20a28852bce345e042107244b [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/gfx/transform.h"
namespace cc {
// Container for properties used to measure performance
template <typename LayerType>
struct CC_EXPORT PerformanceProperties {
: num_fixed_point_hits(0), translation_from_last_frame(0.f) {}
// This value stores the numer of times a layer has hit a fixed point
// during commit. It is used to detect jitter in layers.
int num_fixed_point_hits;
float translation_from_last_frame;
gfx::Transform last_commit_screen_space_transform;
} // namespace cc