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 CONFORMANCE_TESTS_CONFORMANCE_TEST_H_ 8#define CONFORMANCE_TESTS_CONFORMANCE_TEST_H_ 9 10#include "gtest/gtest.h" 11#include <EGL/egl.h> 12#include <string> 13 14struct ConformanceConfig 15{ 16 size_t width; 17 size_t height; 18 EGLNativeDisplayType displayType; 19}; 20 21void SetCurrentConfig(const ConformanceConfig& config); 22const ConformanceConfig& GetCurrentConfig(); 23 24void RunConformanceTest(const std::string &testPath, const ConformanceConfig& config); 25 26#endif // CONFORMANCE_TESTS_CONFORMANCE_TEST_H_ 27