1 /*
2  * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #include <climits>
17 #include <gtest/gtest.h>
18 #include "../Deqpgles3BaseFunc.h"
19 #include "../ActsDeqpgles30024TestSuite.h"
20 #include "shrinkdefine.h"
21 
22 using namespace std;
23 using namespace testing::ext;
24 using namespace OHOS;
25 
26 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023965,
27         "dEQP-GLES3.functional.texture.",
28         "filtering.2d.sizes.4x8_nearest");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023966,
31         "dEQP-GLES3.functional.texture",
32         ".filtering.2d.sizes.4x8_linear");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023967,
35         "dEQP-GLES3.functional.texture.filteri",
36         "ng.2d.sizes.4x8_nearest_mipmap_nearest");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023968,
39         "dEQP-GLES3.functional.texture.filteri",
40         "ng.2d.sizes.4x8_linear_mipmap_nearest");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023969,
43         "dEQP-GLES3.functional.texture.filteri",
44         "ng.2d.sizes.4x8_nearest_mipmap_linear");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023970,
47         "dEQP-GLES3.functional.texture.filter",
48         "ing.2d.sizes.4x8_linear_mipmap_linear");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023971,
51         "dEQP-GLES3.functional.texture.f",
52         "iltering.2d.sizes.32x64_nearest");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023972,
55         "dEQP-GLES3.functional.texture.",
56         "filtering.2d.sizes.32x64_linear");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023973,
59         "dEQP-GLES3.functional.texture.filterin",
60         "g.2d.sizes.32x64_nearest_mipmap_nearest");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023974,
63         "dEQP-GLES3.functional.texture.filterin",
64         "g.2d.sizes.32x64_linear_mipmap_nearest");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023975,
67         "dEQP-GLES3.functional.texture.filterin",
68         "g.2d.sizes.32x64_nearest_mipmap_linear");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023976,
71         "dEQP-GLES3.functional.texture.filteri",
72         "ng.2d.sizes.32x64_linear_mipmap_linear");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023977,
75         "dEQP-GLES3.functional.texture.fi",
76         "ltering.2d.sizes.128x128_nearest");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023978,
79         "dEQP-GLES3.functional.texture.f",
80         "iltering.2d.sizes.128x128_linear");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023979,
83         "dEQP-GLES3.functional.texture.filtering",
84         ".2d.sizes.128x128_nearest_mipmap_nearest");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023980,
87         "dEQP-GLES3.functional.texture.filtering",
88         ".2d.sizes.128x128_linear_mipmap_nearest");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023981,
91         "dEQP-GLES3.functional.texture.filtering",
92         ".2d.sizes.128x128_nearest_mipmap_linear");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023982,
95         "dEQP-GLES3.functional.texture.filterin",
96         "g.2d.sizes.128x128_linear_mipmap_linear");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023983,
99         "dEQP-GLES3.functional.texture.",
100         "filtering.2d.sizes.3x7_nearest");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023984,
103         "dEQP-GLES3.functional.texture",
104         ".filtering.2d.sizes.3x7_linear");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023985,
107         "dEQP-GLES3.functional.texture.filteri",
108         "ng.2d.sizes.3x7_nearest_mipmap_nearest");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023986,
111         "dEQP-GLES3.functional.texture.filteri",
112         "ng.2d.sizes.3x7_linear_mipmap_nearest");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023987,
115         "dEQP-GLES3.functional.texture.filteri",
116         "ng.2d.sizes.3x7_nearest_mipmap_linear");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023988,
119         "dEQP-GLES3.functional.texture.filter",
120         "ing.2d.sizes.3x7_linear_mipmap_linear");
121 
122 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023989,
123         "dEQP-GLES3.functional.texture.f",
124         "iltering.2d.sizes.31x55_nearest");
125 
126 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023990,
127         "dEQP-GLES3.functional.texture.",
128         "filtering.2d.sizes.31x55_linear");
129 
130 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023991,
131         "dEQP-GLES3.functional.texture.filterin",
132         "g.2d.sizes.31x55_nearest_mipmap_nearest");
133 
134 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023992,
135         "dEQP-GLES3.functional.texture.filterin",
136         "g.2d.sizes.31x55_linear_mipmap_nearest");
137 
138 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023993,
139         "dEQP-GLES3.functional.texture.filterin",
140         "g.2d.sizes.31x55_nearest_mipmap_linear");
141 
142 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023994,
143         "dEQP-GLES3.functional.texture.filteri",
144         "ng.2d.sizes.31x55_linear_mipmap_linear");
145 
146 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023995,
147         "dEQP-GLES3.functional.texture.f",
148         "iltering.2d.sizes.127x99_nearest");
149 
150 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023996,
151         "dEQP-GLES3.functional.texture.f",
152         "iltering.2d.sizes.127x99_linear");
153 
154 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023997,
155         "dEQP-GLES3.functional.texture.filtering",
156         ".2d.sizes.127x99_nearest_mipmap_nearest");
157 
158 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023998,
159         "dEQP-GLES3.functional.texture.filterin",
160         "g.2d.sizes.127x99_linear_mipmap_nearest");
161 
162 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_023999,
163         "dEQP-GLES3.functional.texture.filterin",
164         "g.2d.sizes.127x99_nearest_mipmap_linear");
165 
166 static SHRINK_HWTEST_F(ActsDeqpgles30024TestSuite, TestCase_024000,
167         "dEQP-GLES3.functional.texture.filterin",
168         "g.2d.sizes.127x99_linear_mipmap_linear");
169