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

//
// Copyright 2022 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.
//
// MultisampledSwapchainResolveBenchmark:
//   Performance test for resolving multisample swapchains in subpass
//

#include "ANGLEPerfTest.h"

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

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

usingnamespaceangle;

namespace
{
struct MultisampledSwapchainResolveParams final : public RenderTestParams
{};

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

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

class MultisampledSwapchainResolveBenchmark
    : public ANGLERenderTest,
      public ::testing::WithParamInterface<MultisampledSwapchainResolveParams>
{};

MultisampledSwapchainResolveBenchmark::MultisampledSwapchainResolveBenchmark()
    :{}

void MultisampledSwapchainResolveBenchmark::initializeBenchmark()
{}

void MultisampledSwapchainResolveBenchmark::initShaders()
{}

void MultisampledSwapchainResolveBenchmark::destroyBenchmark()
{}

void MultisampledSwapchainResolveBenchmark::drawBenchmark()
{}

MultisampledSwapchainResolveParams VulkanParams()
{}

}  // anonymous namespace

TEST_P(MultisampledSwapchainResolveBenchmark, Run)
{}

usingnamespaceparams;

ANGLE_INSTANTIATE_TEST();