#include "ANGLEPerfTest.h"
#include <array>
#include "common/vector_utils.h"
#include "util/shader_utils.h"
usingnamespaceangle;
namespace
{
constexpr unsigned int kIterationsPerStep = …;
struct ProgramPipelineObjectParams final : public RenderTestParams
{ … };
std::ostream &operator<<(std::ostream &os, const ProgramPipelineObjectParams ¶ms)
{ … }
class ProgramPipelineObjectBenchmark
: public ANGLERenderTest,
public ::testing::WithParamInterface<ProgramPipelineObjectParams>
{ … };
ProgramPipelineObjectBenchmark::ProgramPipelineObjectBenchmark()
: … { … }
void ProgramPipelineObjectBenchmark::initializeBenchmark()
{ … }
void ProgramPipelineObjectBenchmark::destroyBenchmark()
{ … }
void ProgramPipelineObjectBenchmark::drawBenchmark()
{ … }
usingnamespaceegl_platform;
ProgramPipelineObjectParams ProgramPipelineObjectVulkanParams()
{ … }
ProgramPipelineObjectParams ProgramPipelineObjectVulkanNullParams()
{ … }
TEST_P(ProgramPipelineObjectBenchmark, Run)
{ … }
ANGLE_INSTANTIATE_TEST(…);
}