chromium/components/viz/service/display/overdraw_tracker_unittest.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/viz/service/display/overdraw_tracker.h"

#include <memory>
#include <vector>

#include "base/time/time.h"
#include "components/viz/common/quads/aggregated_render_pass.h"
#include "components/viz/common/quads/solid_color_draw_quad.h"
#include "components/viz/service/display/aggregated_frame.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/transform.h"

namespace viz {
namespace {

OverdrawTrackerTest;

AggregatedFrame MakeAggregatedFrame(const gfx::Rect& output_rect) {}

void AppendDrawQuad(AggregatedFrame* frame,
                    const gfx::Rect& visible_rect,
                    const gfx::Transform& transform = gfx::Transform()) {}

TEST_F(OverdrawTrackerTest, OverdrawCalculations) {}

TEST_F(OverdrawTrackerTest, OverdrawCalculationsOfQuadsWithTransform) {}

TEST_F(OverdrawTrackerTest, OverdrawRecording) {}

TEST_F(OverdrawTrackerTest, RequestDataWithoutRecordingAnyFrame) {}

}  // namespace
}  // namespace viz