#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 ¶ms)
{ … }
class MultisampleResolvePerf : public ANGLERenderTest,
public ::testing::WithParamInterface<MultisampleResolveParams>
{ … };
void MultisampleResolvePerf::initializeBenchmark()
{ … }
void MultisampleResolvePerf::destroyBenchmark()
{ … }
void MultisampleResolvePerf::drawBenchmark()
{ … }
TEST_P(MultisampleResolvePerf, Run)
{ … }
MultisampleResolveParams Vulkan(Multisample multisample, WithDepthStencil depthStencil)
{ … }
}
ANGLE_INSTANTIATE_TEST(…);
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…);