#include "ANGLEPerfTest.h"
#include <array>
#include "common/vector_utils.h"
#include "util/shader_utils.h"
usingnamespaceangle;
namespace
{
enum class CompileLinkOrder
{ … };
struct ParallelLinkProgramParams final : public RenderTestParams
{ … };
std::ostream &operator<<(std::ostream &os, const ParallelLinkProgramParams ¶ms)
{ … }
class ParallelLinkProgramBenchmark : public ANGLERenderTest,
public ::testing::WithParamInterface<ParallelLinkProgramParams>
{ … };
ParallelLinkProgramBenchmark::ParallelLinkProgramBenchmark()
: … { … }
void ParallelLinkProgramBenchmark::initializeBenchmark()
{ … }
void ParallelLinkProgramBenchmark::destroyBenchmark()
{ … }
void ParallelLinkProgramBenchmark::drawBenchmark()
{ … }
usingnamespaceegl_platform;
ParallelLinkProgramParams ParallelLinkProgramD3D11Params(CompileLinkOrder compileLinkOrder)
{ … }
ParallelLinkProgramParams ParallelLinkProgramMetalParams(CompileLinkOrder compileLinkOrder)
{ … }
ParallelLinkProgramParams ParallelLinkProgramOpenGLOrGLESParams(CompileLinkOrder compileLinkOrder)
{ … }
ParallelLinkProgramParams ParallelLinkProgramVulkanParams(CompileLinkOrder compileLinkOrder)
{ … }
ParallelLinkProgramParams SerialLinkProgramVulkanParams(CompileLinkOrder compileLinkOrder)
{ … }
TEST_P(ParallelLinkProgramBenchmark, Run)
{ … }
ANGLE_INSTANTIATE_TEST(…);
}