#include "cc/metrics/frame_sequence_tracker.h"
#include <utility>
#include "base/feature_list.h"
#include "cc/base/features.h"
#include "components/viz/common/frame_sinks/begin_frame_args.h"
#include "components/viz/common/quads/compositor_frame_metadata.h"
#include "ui/gfx/presentation_feedback.h"
namespace cc {
const char* FrameSequenceTracker::GetFrameSequenceTrackerTypeName(
FrameSequenceTrackerType type) { … }
FrameSequenceTracker::FrameSequenceTracker(FrameSequenceTrackerType type)
: … { … }
FrameSequenceTracker::FrameSequenceTracker(
int custom_sequence_id,
FrameSequenceMetrics::CustomReporter custom_reporter)
: … { … }
FrameSequenceTracker::~FrameSequenceTracker() { … }
void FrameSequenceTracker::ScheduleTerminate() { … }
void FrameSequenceTracker::ReportBeginImplFrame(
const viz::BeginFrameArgs& args) { … }
void FrameSequenceTracker::ReportFrameEnd(
const viz::BeginFrameArgs& args,
const viz::BeginFrameArgs& main_args) { … }
void FrameSequenceTracker::PauseFrameProduction() { … }
bool FrameSequenceTracker::ShouldIgnoreBeginFrameSource(
uint64_t source_id) const { … }
void FrameSequenceTracker::ResetAllStateIfPaused() { … }
bool FrameSequenceTracker::ShouldReportMetricsNow(
const viz::BeginFrameArgs& args) const { … }
std::unique_ptr<FrameSequenceMetrics> FrameSequenceTracker::TakeMetrics() { … }
void FrameSequenceTracker::CleanUp() { … }
void FrameSequenceTracker::AddSortedFrame(const viz::BeginFrameArgs& args,
const FrameInfo& frame_info) { … }
}