#include "ANGLEPerfTest.h"
#include "util/gles_loader_autogen.h"
namespace
{
constexpr unsigned int kIterationsPerStep = …;
enum class BufferType
{ … };
const char *BufferTypeString(BufferType type)
{ … }
GLbitfield BufferTypeMask(BufferType type)
{ … }
GLenum BufferTypeFormat(BufferType type)
{ … }
GLenum BufferTypeAttachment(BufferType type)
{ … }
struct BlitFramebufferParams final : public RenderTestParams
{ … };
std::ostream &operator<<(std::ostream &os, const BlitFramebufferParams ¶ms)
{ … }
class BlitFramebufferPerf : public ANGLERenderTest,
public ::testing::WithParamInterface<BlitFramebufferParams>
{ … };
void BlitFramebufferPerf::initializeBenchmark()
{ … }
void BlitFramebufferPerf::destroyBenchmark()
{ … }
void BlitFramebufferPerf::drawBenchmark()
{ … }
TEST_P(BlitFramebufferPerf, Run)
{ … }
BlitFramebufferParams Vulkan(BufferType type, unsigned int samples)
{ … }
BlitFramebufferParams D3D11(BufferType type, unsigned int samples)
{ … }
}
ANGLE_INSTANTIATE_TEST(…);
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(…);