xref: /aosp_15_r20/external/deqp/modules/gles3/accuracy/es3aAccuracyTests.cpp (revision 35238bce31c2a825756842865a792f8cf7f89930)
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 
29 namespace deqp
30 {
31 namespace gles3
32 {
33 namespace Accuracy
34 {
35 
36 class TextureTests : public TestCaseGroup
37 {
38 public:
TextureTests(Context & context)39     TextureTests(Context &context) : TestCaseGroup(context, "texture", "Texturing Accuracy Tests")
40     {
41     }
42 
init(void)43     void init(void)
44     {
45         addChild(new TextureFilteringTests(m_context));
46         addChild(new TextureMipmapTests(m_context));
47     }
48 };
49 
AccuracyTests(Context & context)50 AccuracyTests::AccuracyTests(Context &context) : TestCaseGroup(context, "accuracy", "Accuracy Tests")
51 {
52 }
53 
~AccuracyTests(void)54 AccuracyTests::~AccuracyTests(void)
55 {
56 }
57 
init(void)58 void AccuracyTests::init(void)
59 {
60     addChild(new VaryingInterpolationTests(m_context));
61     addChild(new TextureTests(m_context));
62 }
63 
64 } // namespace Accuracy
65 } // namespace gles3
66 } // namespace deqp
67