chromium/third_party/angle/src/tests/perf_tests/MultisampledRenderToTexturePerf.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.
//
// MultisampledRenderToTextureBenchmark:
//   Performance test for rendering to multisampled-render-to-texture attachments.
//

#include "ANGLEPerfTest.h"

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

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

usingnamespaceangle;

namespace
{
constexpr uint32_t kMultipassPassCount =;

struct MultisampledRenderToTextureParams final : public RenderTestParams
{};

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

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

class MultisampledRenderToTextureBenchmark
    : public ANGLERenderTest,
      public ::testing::WithParamInterface<MultisampledRenderToTextureParams>
{};

MultisampledRenderToTextureBenchmark::MultisampledRenderToTextureBenchmark()
    :{}

void MultisampledRenderToTextureBenchmark::initializeBenchmark()
{}

void MultisampledRenderToTextureBenchmark::initShaders()
{}

void MultisampledRenderToTextureBenchmark::destroyBenchmark()
{}

void MultisampledRenderToTextureBenchmark::drawBenchmark()
{}

MultisampledRenderToTextureParams D3D11Params(bool multiplePasses, bool withDepthStencil)
{}

MultisampledRenderToTextureParams MetalParams(bool multiplePasses, bool withDepthStencil)
{}

MultisampledRenderToTextureParams OpenGLOrGLESParams(bool multiplePasses, bool withDepthStencil)
{}

MultisampledRenderToTextureParams VulkanParams(bool multiplePasses, bool withDepthStencil)
{}

}  // anonymous namespace

TEST_P(MultisampledRenderToTextureBenchmark, Run)
{}

usingnamespaceparams;

ANGLE_INSTANTIATE_TEST();