• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 Accuracy tests.
22  *//*--------------------------------------------------------------------*/
23 
24 #include "es2aAccuracyTests.hpp"
25 #include "es2aTextureFilteringTests.hpp"
26 #include "es2aTextureMipmapTests.hpp"
27 #include "es2aVaryingInterpolationTests.hpp"
28 
29 namespace deqp
30 {
31 namespace gles2
32 {
33 namespace Accuracy
34 {
35 
36 class TextureTests : public TestCaseGroup
37 {
38 public:
TextureTests(Context & context)39 	TextureTests (Context& context)
40 		: TestCaseGroup(context, "texture", "Texturing Accuracy Tests")
41 	{
42 	}
43 
init(void)44 	void init (void)
45 	{
46 		addChild(new TextureFilteringTests	(m_context));
47 		addChild(new TextureMipmapTests		(m_context));
48 	}
49 };
50 
AccuracyTests(Context & context)51 AccuracyTests::AccuracyTests (Context& context)
52 	: TestCaseGroup(context, "accuracy", "Accuracy Tests")
53 {
54 }
55 
~AccuracyTests(void)56 AccuracyTests::~AccuracyTests (void)
57 {
58 }
59 
init(void)60 void AccuracyTests::init (void)
61 {
62 	addChild(new VaryingInterpolationTests	(m_context));
63 	addChild(new TextureTests				(m_context));
64 }
65 
66 } // Accuracy
67 } // gles2
68 } // deqp
69