chromium/third_party/angle/src/tests/perf_tests/ANGLEPerfTestArgs.cpp

//
// Copyright 2019 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// ANGLEPerfTestArgs.cpp:
//   Parse command line arguments for angle_perftests.
//

#include "ANGLEPerfTestArgs.h"
#include <string.h>
#include <sstream>

#include "common/debug.h"
#include "util/test_utils.h"

namespace angle
{

constexpr int kDefaultStepsPerTrial    =;
constexpr int kDefaultTrialTimeSeconds =;
constexpr int kDefaultTestTrials       =;

int gStepsPerTrial                 =;
int gMaxStepsPerformed             =;
bool gEnableTrace                  =;
const char *gTraceFile             =;
const char *gScreenshotDir         =;
const char *gRenderTestOutputDir   =;
bool gSaveScreenshots              =;
int gScreenshotFrame               =;
bool gVerboseLogging               =;
bool gWarmup                       =;
int gTrialTimeSeconds              =;
int gTestTrials                    =;
bool gNoFinish                     =;
bool gRetraceMode                  =;
bool gMinimizeGPUWork              =;
bool gTraceTestValidation          =;
const char *gPerfCounters          =;
const char *gUseANGLE              =;
const char *gUseGL                 =;
bool gOffscreen                    =;
bool gVsync                        =;
bool gRunToKeyFrame                =;
int gFixedTestTime                 =;
int gFixedTestTimeWithWarmup       =;
const char *gTraceInterpreter      =;
const char *gPrintExtensionsToFile =;
const char *gRequestedExtensions   =;
bool gIncludeInactiveResources     =;

namespace
{
bool PerfTestArg(int *argc, char **argv, int argIndex)
{}

bool TraceTestArg(int *argc, char **argv, int argIndex)
{}
}  // namespace
}  // namespace angle

usingnamespaceangle;

void ANGLEProcessPerfTestArgs(int *argc, char **argv)
{}

void ANGLEProcessTraceTestArgs(int *argc, char **argv)
{}