1 // 2 // Copyright 2019 The ANGLE Project Authors. All rights reserved. 3 // Use of this source code is governed by a BSD-style license that can be 4 // found in the LICENSE file. 5 // 6 // ANGLEPerfTestArgs.h: 7 // Command line arguments for angle_perftests. 8 // 9 10 #ifndef TESTS_PERF_TESTS_ANGLE_PERF_TEST_ARGS_H_ 11 #define TESTS_PERF_TESTS_ANGLE_PERF_TEST_ARGS_H_ 12 13 #include "common/Optional.h" 14 15 namespace angle 16 { 17 extern bool gCalibration; 18 extern int gStepsToRunOverride; 19 extern bool gEnableTrace; 20 extern const char *gTraceFile; 21 OneFrame()22inline bool OneFrame() 23 { 24 return gStepsToRunOverride == 1; 25 } 26 } // namespace angle 27 28 #endif // TESTS_PERF_TESTS_ANGLE_PERF_TEST_ARGS_H_ 29