chromium/components/viz/common/quads/draw_quad_perftest.cc

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

#include <vector>

#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/time/time.h"
#include "base/timer/lap_timer.h"
#include "components/viz/common/quads/compositor_render_pass.h"
#include "components/viz/common/quads/draw_quad.h"
#include "components/viz/common/quads/texture_draw_quad.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/perf/perf_result_reporter.h"
#include "third_party/skia/include/core/SkBlendMode.h"

namespace viz {
namespace {

static const int kTimeLimitMillis =;
static const int kWarmupRuns =;
static const int kTimeCheckInterval =;

constexpr char kMetricPrefixDrawQuad[] =;
constexpr char kMetricIterateResourcesRunsPerS[] =;

ResourceId NextId(ResourceId id) {}

perf_test::PerfResultReporter SetUpDrawQuadReporter(const std::string& story) {}

SharedQuadState* CreateSharedQuadState(CompositorRenderPass* render_pass) {}

class DrawQuadPerfTest : public testing::Test {};

TEST_F(DrawQuadPerfTest, IterateResources) {}

}  // namespace
}  // namespace viz