#include <sstream>
#include "ANGLEPerfTest.h"
#include "util/shader_utils.h"
usingnamespaceangle;
namespace
{
struct InterleavedAttributeDataParams final : public RenderTestParams
{ … };
std::ostream &operator<<(std::ostream &os, const InterleavedAttributeDataParams ¶ms)
{ … }
class InterleavedAttributeDataBenchmark
: public ANGLERenderTest,
public ::testing::WithParamInterface<InterleavedAttributeDataParams>
{ … };
InterleavedAttributeDataBenchmark::InterleavedAttributeDataBenchmark()
: … { … }
void InterleavedAttributeDataBenchmark::initializeBenchmark()
{ … }
void InterleavedAttributeDataBenchmark::destroyBenchmark()
{ … }
void InterleavedAttributeDataBenchmark::drawBenchmark()
{ … }
TEST_P(InterleavedAttributeDataBenchmark, Run)
{ … }
InterleavedAttributeDataParams D3D11Params()
{ … }
InterleavedAttributeDataParams MetalParams()
{ … }
InterleavedAttributeDataParams OpenGLOrGLESParams()
{ … }
InterleavedAttributeDataParams VulkanParams()
{ … }
ANGLE_INSTANTIATE_TEST(…);
}