1 #ifndef _GL4CTESTPACKAGES_HPP 2 #define _GL4CTESTPACKAGES_HPP 3 /*------------------------------------------------------------------------- 4 * OpenGL Conformance Test Suite 5 * ----------------------------- 6 * 7 * Copyright (c) 2016 Google Inc. 8 * Copyright (c) 2016 The Khronos Group Inc. 9 * 10 * Licensed under the Apache License, Version 2.0 (the "License"); 11 * you may not use this file except in compliance with the License. 12 * You may obtain a copy of the License at 13 * 14 * http://www.apache.org/licenses/LICENSE-2.0 15 * 16 * Unless required by applicable law or agreed to in writing, software 17 * distributed under the License is distributed on an "AS IS" BASIS, 18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 19 * See the License for the specific language governing permissions and 20 * limitations under the License. 21 * 22 */ /*! 23 * \file 24 * \brief OpenGL 4.x Test Packages. 25 */ /*-------------------------------------------------------------------*/ 26 27 #include "gl3cTestPackages.hpp" 28 #include "tcuDefs.hpp" 29 30 namespace gl4cts 31 { 32 33 class GL40TestPackage : public gl3cts::GL33TestPackage 34 { 35 public: 36 GL40TestPackage(tcu::TestContext &testCtx, const char *packageName, 37 const char *description = "OpenGL 4.0 Conformance Tests", 38 glu::ContextType renderContextType = glu::ContextType(4, 0, glu::PROFILE_CORE)); 39 40 ~GL40TestPackage(void); 41 42 void init(void); 43 }; 44 45 class GL41TestPackage : public GL40TestPackage 46 { 47 public: 48 GL41TestPackage(tcu::TestContext &testCtx, const char *packageName, 49 const char *description = "OpenGL 4.1 Conformance Tests", 50 glu::ContextType renderContextType = glu::ContextType(4, 1, glu::PROFILE_CORE)); 51 52 ~GL41TestPackage(void); 53 54 void init(void); 55 }; 56 57 class GL42TestPackage : public GL41TestPackage 58 { 59 public: 60 GL42TestPackage(tcu::TestContext &testCtx, const char *packageName, 61 const char *description = "OpenGL 4.2 Conformance Tests", 62 glu::ContextType renderContextType = glu::ContextType(4, 2, glu::PROFILE_CORE)); 63 64 ~GL42TestPackage(void); 65 66 void init(void); 67 }; 68 69 class GL42CompatTestPackage : public deqp::TestPackage 70 { 71 public: 72 GL42CompatTestPackage(tcu::TestContext &testCtx, const char *packageName, 73 const char *description = "OpenGL 4.2 Compatibility Conformance Tests", 74 glu::ContextType renderContextType = glu::ContextType(4, 2, glu::PROFILE_COMPATIBILITY)); 75 76 ~GL42CompatTestPackage(void); 77 78 tcu::TestCaseExecutor *createExecutor(void) const; 79 80 void init(void); 81 82 using deqp::TestPackage::getContext; 83 }; 84 85 class GL43TestPackage : public GL42TestPackage 86 { 87 public: 88 GL43TestPackage(tcu::TestContext &testCtx, const char *packageName, 89 const char *description = "OpenGL 4.3 Conformance Tests", 90 glu::ContextType renderContextType = glu::ContextType(4, 3, glu::PROFILE_CORE)); 91 92 ~GL43TestPackage(void); 93 94 void init(void); 95 }; 96 97 class GL44TestPackage : public GL43TestPackage 98 { 99 public: 100 GL44TestPackage(tcu::TestContext &testCtx, const char *packageName, 101 const char *description = "OpenGL 4.4 Conformance Tests", 102 glu::ContextType renderContextType = glu::ContextType(4, 4, glu::PROFILE_CORE)); 103 104 ~GL44TestPackage(void); 105 106 void init(void); 107 }; 108 109 class GL45TestPackage : public GL44TestPackage 110 { 111 public: 112 GL45TestPackage(tcu::TestContext &testCtx, const char *packageName, 113 const char *description = "OpenGL 4.5 Conformance Tests", 114 glu::ContextType renderContextType = glu::ContextType(4, 5, glu::PROFILE_CORE)); 115 116 ~GL45TestPackage(void); 117 118 void init(void); 119 }; 120 121 class GL46TestPackage : public GL45TestPackage 122 { 123 public: 124 GL46TestPackage(tcu::TestContext &testCtx, const char *packageName, 125 const char *description = "OpenGL 4.6 Conformance Tests", 126 glu::ContextType renderContextType = glu::ContextType(4, 6, glu::PROFILE_CORE)); 127 128 ~GL46TestPackage(void); 129 130 void init(void); 131 }; 132 133 } // namespace gl4cts 134 135 #endif // _GL4CTESTPACKAGES_HPP 136