chromium/third_party/angle/src/tests/perf_tests/InstancingPerf.cpp

//
// Copyright 2015 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// InstancingPerf:
//   Performance tests for ANGLE instanced draw calls.
//

#include "ANGLEPerfTest.h"

#include <cmath>
#include <sstream>

#include "util/Matrix.h"
#include "util/random_utils.h"
#include "util/shader_utils.h"

usingnamespaceangle;
usingnamespaceegl_platform;

namespace
{

float AnimationSignal(float t)
{}

template <typename T>
size_t VectorSizeBytes(const std::vector<T> &vec)
{}

Vector3 RandomVector3(RNG *rng)
{}

struct InstancingPerfParams final : public RenderTestParams
{};

std::ostream &operator<<(std::ostream &os, const InstancingPerfParams &params)
{}

class InstancingPerfBenchmark : public ANGLERenderTest,
                                public ::testing::WithParamInterface<InstancingPerfParams>
{};

InstancingPerfBenchmark::InstancingPerfBenchmark()
    :{}

void InstancingPerfBenchmark::initializeBenchmark()
{}

void InstancingPerfBenchmark::destroyBenchmark()
{}

void InstancingPerfBenchmark::drawBenchmark()
{}

InstancingPerfParams InstancingPerfD3D11Params()
{}

InstancingPerfParams InstancingPerfMetalParams()
{}

InstancingPerfParams InstancingPerfOpenGLOrGLESParams()
{}

TEST_P(InstancingPerfBenchmark, Run)
{}

ANGLE_INSTANTIATE_TEST();

}  // anonymous namespace