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

//
// Copyright 2024 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.
//
// MultisampleResolvePerf:
//   Performance tests for glBlitFramebuffer and glInvalidateFramebuffer where the framebuffer is
//   multisampled.

#include "ANGLEPerfTest.h"

#include "util/shader_utils.h"

namespace
{
constexpr unsigned int kIterationsPerStep =;

enum class Multisample
{};

enum class WithDepthStencil
{};

struct MultisampleResolveParams final : public RenderTestParams
{};

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

class MultisampleResolvePerf : public ANGLERenderTest,
                               public ::testing::WithParamInterface<MultisampleResolveParams>
{};

void MultisampleResolvePerf::initializeBenchmark()
{}

void MultisampleResolvePerf::destroyBenchmark()
{}

void MultisampleResolvePerf::drawBenchmark()
{}

// Test that multisample resolve + invalidate is as efficient as single sampling on tilers.
TEST_P(MultisampleResolvePerf, Run)
{}

MultisampleResolveParams Vulkan(Multisample multisample, WithDepthStencil depthStencil)
{}
}  // anonymous namespace

ANGLE_INSTANTIATE_TEST();

// This test suite is not instantiated on some OSes.
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST();