es3aAccuracyTests.cpp revision 3c827367444ee418f129b2c238299f49d3264554
1/*-------------------------------------------------------------------------
2 * drawElements Quality Program OpenGL ES 3.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 "es3aAccuracyTests.hpp"
25#include "es3aTextureFilteringTests.hpp"
26#include "es3aTextureMipmapTests.hpp"
27#include "es3aVaryingInterpolationTests.hpp"
28
29namespace deqp
30{
31namespace gles3
32{
33namespace Accuracy
34{
35
36class TextureTests : public TestCaseGroup
37{
38public:
39	TextureTests (Context& context)
40		: TestCaseGroup(context, "texture", "Texturing Accuracy Tests")
41	{
42	}
43
44	void init (void)
45	{
46		addChild(new TextureFilteringTests	(m_context));
47		addChild(new TextureMipmapTests		(m_context));
48	}
49};
50
51AccuracyTests::AccuracyTests (Context& context)
52	: TestCaseGroup(context, "accuracy", "Accuracy Tests")
53{
54}
55
56AccuracyTests::~AccuracyTests (void)
57{
58}
59
60void AccuracyTests::init (void)
61{
62	addChild(new VaryingInterpolationTests	(m_context));
63	addChild(new TextureTests				(m_context));
64}
65
66} // Accuracy
67} // gles3
68} // deqp
69