blob: 680318a5ada054e55aac4be0b1bf7a7696e0ed0f [file] [log] [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_VIZ_COMMON_FRAME_TIMING_DETAILS_H_
#define COMPONENTS_VIZ_COMMON_FRAME_TIMING_DETAILS_H_
#include "base/time/time.h"
#include "ui/gfx/presentation_feedback.h"
#include "ui/gfx/swap_result.h"
namespace viz {
struct FrameTimingDetails {
base::TimeTicks received_compositor_frame_timestamp;
base::TimeTicks draw_start_timestamp;
gfx::SwapTimings swap_timings;
gfx::PresentationFeedback presentation_feedback;
};
} // namespace viz
#endif // COMPONENTS_VIZ_COMMON_FRAME_TIMING_DETAILS_H_