Home | History | Annotate | Download | only in gl
      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 GL43TestPackage : public GL42TestPackage
     70 {
     71 public:
     72 	GL43TestPackage(tcu::TestContext& testCtx, const char* packageName,
     73 					const char*		 description	   = "OpenGL 4.3 Conformance Tests",
     74 					glu::ContextType renderContextType = glu::ContextType(4, 3, glu::PROFILE_CORE));
     75 
     76 	~GL43TestPackage(void);
     77 
     78 	void init(void);
     79 };
     80 
     81 class GL44TestPackage : public GL43TestPackage
     82 {
     83 public:
     84 	GL44TestPackage(tcu::TestContext& testCtx, const char* packageName,
     85 					const char*		 description	   = "OpenGL 4.4 Conformance Tests",
     86 					glu::ContextType renderContextType = glu::ContextType(4, 4, glu::PROFILE_CORE));
     87 
     88 	~GL44TestPackage(void);
     89 
     90 	void init(void);
     91 };
     92 
     93 class GL45TestPackage : public GL44TestPackage
     94 {
     95 public:
     96 	GL45TestPackage(tcu::TestContext& testCtx, const char* packageName,
     97 					const char*		 description	   = "OpenGL 4.5 Conformance Tests",
     98 					glu::ContextType renderContextType = glu::ContextType(4, 5, glu::PROFILE_CORE));
     99 
    100 	~GL45TestPackage(void);
    101 
    102 	void init(void);
    103 };
    104 
    105 class GL46TestPackage : public GL45TestPackage
    106 {
    107 public:
    108 	GL46TestPackage(tcu::TestContext& testCtx, const char* packageName,
    109 					const char*		 description	   = "OpenGL 4.6 Conformance Tests",
    110 					glu::ContextType renderContextType = glu::ContextType(4, 6, glu::PROFILE_CORE));
    111 
    112 	~GL46TestPackage(void);
    113 
    114 	void init(void);
    115 };
    116 
    117 } // gl4cts
    118 
    119 #endif // _GL4CTESTPACKAGES_HPP
    120