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

//
// Copyright 2020 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.
//
// PreRotationBenchmark:
//   Performance test for pre-rotation code generation.
//

#include "ANGLEPerfTest.h"

#include <iostream>
#include <random>
#include <sstream>

#include "test_utils/gl_raii.h"
#include "util/shader_utils.h"

usingnamespaceangle;

namespace
{
constexpr unsigned int kIterationsPerStep =;

enum class PreRotation
{};

struct PreRotationParams final : public RenderTestParams
{};

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

std::string PreRotationParams::story() const
{}

class PreRotationBenchmark : public ANGLERenderTest,
                             public ::testing::WithParamInterface<PreRotationParams>
{};

PreRotationBenchmark::PreRotationBenchmark() :{}

void PreRotationBenchmark::initializeBenchmark()
{}

void PreRotationBenchmark::destroyBenchmark()
{}

void PreRotationBenchmark::drawBenchmark()
{}

PreRotationParams VulkanParams(PreRotation preRotation)
{}

}  // anonymous namespace

TEST_P(PreRotationBenchmark, Run)
{}

usingnamespaceparams;

GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST();
ANGLE_INSTANTIATE_TEST();