1 #ifndef _GLCNOERRORTESTS_HPP
2 #define _GLCNOERRORTESTS_HPP
3 /*-------------------------------------------------------------------------
4 * OpenGL Conformance Test Suite
5 * -----------------------------
7 * Copyright (c) 2017 The Khronos Group Inc.
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
24 */ /*-------------------------------------------------------------------*/
28 * \file glcNoErrorTests.hpp
29 * \brief Conformance tests for the GL_KHR_no_error functionality.
30 */ /*--------------------------------------------------------------------*/
32 #include "glcTestCase.hpp"
33 #include "glwDefs.hpp"
34 #include "tcuDefs.hpp"
38 /** Test verifies if it is possible to create context with
39 * CONTEXT_FLAG_NO_ERROR_BIT_KHR flag set in CONTEXT_FLAGS.
41 class NoErrorContextTest : public tcu::TestCase
45 NoErrorContextTest(tcu::TestContext& testCtx, glu::ApiType apiType);
49 tcu::TestNode::IterateResult iterate(void);
53 bool verifyNoErrorContext(void);
55 glu::ApiType m_ApiType;
58 /** Test group which encapsulates all sparse buffer conformance tests */
59 class NoErrorTests : public tcu::TestCaseGroup
63 NoErrorTests(tcu::TestContext& testCtx, glu::ApiType apiType);
68 NoErrorTests(const NoErrorTests& other);
69 NoErrorTests& operator=(const NoErrorTests& other);
72 glu::ApiType m_ApiType;
74 } /* glcts namespace */
76 #endif // _GLCNOERRORTESTS_HPP