1 #ifndef _GLCSHADERLIBRARY_HPP
2 #define _GLCSHADERLIBRARY_HPP
3 /*-------------------------------------------------------------------------
4 * OpenGL Conformance Test Suite
5 * -----------------------------
7 * Copyright (c) 2016 Google Inc.
8 * Copyright (c) 2016 The Khronos Group Inc.
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
14 * http://www.apache.org/licenses/LICENSE-2.0
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.
24 * \brief Shader case library.
25 */ /*-------------------------------------------------------------------*/
27 #include "glcTestCase.hpp"
28 #include "gluDefs.hpp"
29 #include "gluRenderContext.hpp"
39 ShaderLibrary(tcu::TestContext& testCtx, glu::RenderContext& renderCtx);
42 std::vector<tcu::TestNode*> loadShaderFile(const char* fileName);
45 ShaderLibrary(const ShaderLibrary&); // not allowed!
46 ShaderLibrary& operator=(const ShaderLibrary&); // not allowed!
49 tcu::TestContext& m_testCtx;
50 glu::RenderContext& m_renderCtx;
53 class ShaderLibraryGroup : public TestCaseGroup
56 ShaderLibraryGroup(Context& context, const char* name, const char* description, const char* filename);
57 ~ShaderLibraryGroup(void);
62 std::string m_filename;
67 #endif // _GLCSHADERLIBRARY_HPP