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

//
// Copyright 2019 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.
//
// ClearPerf:
//   Performance test for clearing framebuffers.
//

#include "ANGLEPerfTest.h"

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

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

usingnamespaceangle;

namespace
{
constexpr unsigned int kIterationsPerStep =;

struct ClearParams final : public RenderTestParams
{};

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

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

class ClearBenchmark : public ANGLERenderTest, public ::testing::WithParamInterface<ClearParams>
{};

ClearBenchmark::ClearBenchmark() :{}

void ClearBenchmark::initializeBenchmark()
{}

void ClearBenchmark::initShaders()
{}

void ClearBenchmark::destroyBenchmark()
{}

void ClearBenchmark::drawBenchmark()
{}

ClearParams D3D11Params()
{}

ClearParams MetalParams()
{}

ClearParams OpenGLOrGLESParams()
{}

ClearParams VulkanParams(bool emulatedFormat, bool scissoredClear)
{}

}  // anonymous namespace

TEST_P(ClearBenchmark, Run)
{}

ANGLE_INSTANTIATE_TEST();