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

//
// Copyright 2016 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.
//
// BindingPerf:
//   Performance test for binding objects
//

#include "ANGLEPerfTest.h"

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

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

namespace angle
{
namespace
{
constexpr unsigned int kIterationsPerStep =;

enum TestMode
{};

enum AllocationStyle
{};

struct BindingsParams final : public RenderTestParams
{};

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

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

class BindingsBenchmark : public ANGLERenderTest,
                          public ::testing::WithParamInterface<BindingsParams>
{};

BindingsBenchmark::BindingsBenchmark() :{}

void BindingsBenchmark::initializeBenchmark()
{}

void BindingsBenchmark::destroyBenchmark()
{}

void BindingsBenchmark::drawBenchmark()
{}

BindingsParams D3D11Params(AllocationStyle allocationStyle)
{}

BindingsParams OpenGLOrGLESParams(AllocationStyle allocationStyle)
{}

BindingsParams VulkanParams(AllocationStyle allocationStyle, TestMode testMode)
{}

TEST_P(BindingsBenchmark, Run)
{}
}  // namespace

ANGLE_INSTANTIATE_TEST();

}  // namespace angle