• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*-------------------------------------------------------------------------
2  * OpenGL Conformance Test Suite
3  * -----------------------------
4  *
5  * Copyright (c) 2021 The Khronos Group Inc.
6  * Copyright (c) 2021 Google LLC
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  */ /*!
21  * \file
22  * \brief
23  */ /*-------------------------------------------------------------------*/
24 
25 /*!
26  * \file  esextcDisjointTimerQueryTests.cpp
27  * \brief Base test group for disjoint timer query tests
28  */ /*-------------------------------------------------------------------*/
29 
30 #include "esextcDisjointTimerQueryTests.hpp"
31 #include "esextcDisjointTimerQueryHandleReuse.hpp"
32 
33 namespace glcts
34 {
35 
36 /** Constructor
37  *
38  * @param context       Test context
39  * @param glslVersion   GLSL version
40  **/
DisjointTimerQueryTests(glcts::Context & context,const ExtParameters & extParams)41 DisjointTimerQueryTests::DisjointTimerQueryTests (glcts::Context& context, const ExtParameters& extParams)
42 	: TestCaseGroupBase(context, extParams, "disjoint_timer_query", "Disjoint timer query tests")
43 {
44 	/* No implementation needed */
45 }
46 
47 /** Initializes test cases for texture buffer tests
48  **/
init(void)49 void DisjointTimerQueryTests::init (void)
50 {
51 	/* Initialize base class */
52 	TestCaseGroupBase::init();
53 
54 
55 	addChild(new DisjointTimerQueryHandleReuse(m_context, m_extParams,
56 											   "handle_reuse", "handle reuse"));
57 }
58 
59 } // namespace glcts
60