#include "ANGLEPerfTest.h"
#include "platform/PlatformMethods.h"
#include "test_utils/angle_test_configs.h"
#include "test_utils/angle_test_instantiate.h"
#include "util/Timer.h"
usingnamespacetesting;
namespace
{
struct Captures final : private angle::NonCopyable
{ … };
double CapturePlatform_currentTime(angle::PlatformMethods *platformMethods)
{ … }
void CapturePlatform_histogramCustomCounts(angle::PlatformMethods *platformMethods,
const char *name,
int sample,
int ,
int ,
int )
{ … }
class EGLInitializePerfTest : public ANGLEPerfTest,
public WithParamInterface<angle::PlatformParameters>
{ … };
EGLInitializePerfTest::EGLInitializePerfTest()
: … { … }
void EGLInitializePerfTest::SetUp()
{ … }
EGLInitializePerfTest::~EGLInitializePerfTest()
{ … }
void EGLInitializePerfTest::step()
{ … }
void EGLInitializePerfTest::TearDown()
{ … }
TEST_P(EGLInitializePerfTest, Run)
{ … }
ANGLE_INSTANTIATE_TEST(…);
}