1 // 2 // Copyright (c) 2014 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 7 #ifndef DEQP_TESTS_DEQP_TESTS_H_ 8 #define DEQP_TESTS_DEQP_TESTS_H_ 9 10 #include "gtest/gtest.h" 11 12 #include <EGL/egl.h> 13 14 #include <string> 15 16 struct DEQPConfig 17 { 18 size_t width; 19 size_t height; 20 bool hidden; 21 EGLNativeDisplayType displayType; 22 }; 23 24 void SetCurrentConfig(const DEQPConfig& config); 25 const DEQPConfig& GetCurrentConfig(); 26 27 void RunDEQPTest(const std::string &testPath, const DEQPConfig& config); 28 29 #endif // DEQP_TESTS_DEQP_TESTS_H_ 30