1/*------------------------------------------------------------------------- 2 * OpenGL Conformance Test Suite 3 * ----------------------------- 4 * 5 * Copyright (c) 2015-2016 The Khronos Group Inc. 6 * 7 * Licensed under the Apache License, Version 2.0 (the "License"); 8 * you may not use this file except in compliance with the License. 9 * You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, software 14 * distributed under the License is distributed on an "AS IS" BASIS, 15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 * See the License for the specific language governing permissions and 17 * limitations under the License. 18 * 19 */ /*! 20 * \file 21 * \brief 22 */ /*-------------------------------------------------------------------*/ 23 24/*! 25 * \file esextcDrawBuffersIndexedTests.cpp 26 * \brief Test group for Draw Buffers Indexed tests 27 */ /*-------------------------------------------------------------------*/ 28 29#include "esextcDrawBuffersIndexedTests.hpp" 30#include "esextcDrawBuffersIndexedBlending.hpp" 31#include "esextcDrawBuffersIndexedColorMasks.hpp" 32#include "esextcDrawBuffersIndexedCoverage.hpp" 33#include "esextcDrawBuffersIndexedDefaultState.hpp" 34#include "esextcDrawBuffersIndexedNegative.hpp" 35#include "esextcDrawBuffersIndexedSetGet.hpp" 36#include "glwEnums.hpp" 37 38namespace glcts 39{ 40/** Constructor 41 * 42 * @param context Test context 43 * @param glslVersion GLSL version 44 **/ 45DrawBuffersIndexedTests::DrawBuffersIndexedTests(glcts::Context& context, const ExtParameters& extParams) 46 : TestCaseGroupBase(context, extParams, "draw_buffers_indexed", "Draw Buffers Indexed Tests") 47{ 48 /* No implementation needed */ 49} 50 51/** Initializes test cases for Draw Buffers Indexed tests 52 **/ 53void DrawBuffersIndexedTests::init(void) 54{ 55 /* Initialize base class */ 56 TestCaseGroupBase::init(); 57 58 /* Draw Buffers Indexed - 1. Coverage */ 59 addChild(new DrawBuffersIndexedCoverage(m_context, m_extParams, "coverage", "Basic coverage test")); 60 61 /* Draw Buffers Indexed - 2. Default state */ 62 addChild( 63 new DrawBuffersIndexedDefaultState(m_context, m_extParams, "default_state", "Default state verification test")); 64 65 /* Draw Buffers Indexed - 3. Set and get */ 66 addChild(new DrawBuffersIndexedSetGet(m_context, m_extParams, "set_get", "Setting and getting state test")); 67 68 /* Draw Buffers Indexed - 4. Color masks */ 69 addChild(new DrawBuffersIndexedColorMasks(m_context, m_extParams, "color_masks", "Masking color test")); 70 71 /* Draw Buffers Indexed - 5. Blending */ 72 addChild(new DrawBuffersIndexedBlending(m_context, m_extParams, "blending", "Blending test")); 73 74 /* Draw Buffers Indexed - 6. Negative */ 75 addChild(new DrawBuffersIndexedNegative(m_context, m_extParams, "negative", "Negative test")); 76} 77 78} // namespace glcts 79