Home | History | Annotate | Download | only in performance
      1 /*-------------------------------------------------------------------------
      2  * drawElements Quality Program OpenGL ES 2.0 Module
      3  * -------------------------------------------------
      4  *
      5  * Copyright 2014 The Android Open Source Project
      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 Shader compiler-related performance tests.
     22  *//*--------------------------------------------------------------------*/
     23 
     24 #include "es2pShaderCompilerTests.hpp"
     25 #include "es2pShaderCompilationCases.hpp"
     26 #include "es2pShaderOptimizationTests.hpp"
     27 
     28 namespace deqp
     29 {
     30 namespace gles2
     31 {
     32 namespace Performance
     33 {
     34 
     35 ShaderCompilerTests::ShaderCompilerTests (Context& context)
     36 	: TestCaseGroup(context, "compiler", "Shader Compiler Performance Tests")
     37 {
     38 }
     39 
     40 ShaderCompilerTests::~ShaderCompilerTests (void)
     41 {
     42 }
     43 
     44 void ShaderCompilerTests::init (void)
     45 {
     46 	addShaderCompilationPerformanceCases(*this);
     47 
     48 	addChild(new ShaderOptimizationTests(m_context));
     49 }
     50 
     51 } // Performance
     52 } // gles2
     53 } // deqp
     54