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 "../ActsDeqpgles30026TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025027,
27        "dEQP-GLES3.functional.texture",
28        ".mipmap.2d.generate.a8_fastest");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025028,
31        "dEQP-GLES3.functional.texture",
32        ".mipmap.2d.generate.a8_nicest");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025029,
35        "dEQP-GLES3.functional.texture.mi",
36        "pmap.2d.generate.a8_npot_fastest");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025030,
39        "dEQP-GLES3.functional.texture.m",
40        "ipmap.2d.generate.a8_npot_nicest");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025031,
43        "dEQP-GLES3.functional.texture.mipma",
44        "p.2d.generate.a8_non_square_fastest");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025032,
47        "dEQP-GLES3.functional.texture.mipm",
48        "ap.2d.generate.a8_non_square_nicest");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025033,
51        "dEQP-GLES3.functional.texture",
52        ".mipmap.2d.generate.l8_fastest");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025034,
55        "dEQP-GLES3.functional.texture",
56        ".mipmap.2d.generate.l8_nicest");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025035,
59        "dEQP-GLES3.functional.texture.mi",
60        "pmap.2d.generate.l8_npot_fastest");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025036,
63        "dEQP-GLES3.functional.texture.m",
64        "ipmap.2d.generate.l8_npot_nicest");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025037,
67        "dEQP-GLES3.functional.texture.mipma",
68        "p.2d.generate.l8_non_square_fastest");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025038,
71        "dEQP-GLES3.functional.texture.mipm",
72        "ap.2d.generate.l8_non_square_nicest");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025039,
75        "dEQP-GLES3.functional.texture.",
76        "mipmap.2d.generate.la88_fastest");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025040,
79        "dEQP-GLES3.functional.texture.",
80        "mipmap.2d.generate.la88_nicest");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025041,
83        "dEQP-GLES3.functional.texture.mip",
84        "map.2d.generate.la88_npot_fastest");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025042,
87        "dEQP-GLES3.functional.texture.mi",
88        "pmap.2d.generate.la88_npot_nicest");
89
90static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025043,
91        "dEQP-GLES3.functional.texture.mipmap",
92        ".2d.generate.la88_non_square_fastest");
93
94static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025044,
95        "dEQP-GLES3.functional.texture.mipma",
96        "p.2d.generate.la88_non_square_nicest");
97
98static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025045,
99        "dEQP-GLES3.functional.texture.m",
100        "ipmap.2d.generate.rgb565_fastest");
101
102static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025046,
103        "dEQP-GLES3.functional.texture.m",
104        "ipmap.2d.generate.rgb565_nicest");
105
106static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025047,
107        "dEQP-GLES3.functional.texture.mipm",
108        "ap.2d.generate.rgb565_npot_fastest");
109
110static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025048,
111        "dEQP-GLES3.functional.texture.mip",
112        "map.2d.generate.rgb565_npot_nicest");
113
114static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025049,
115        "dEQP-GLES3.functional.texture.mipmap.",
116        "2d.generate.rgb565_non_square_fastest");
117
118static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025050,
119        "dEQP-GLES3.functional.texture.mipmap",
120        ".2d.generate.rgb565_non_square_nicest");
121
122static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025051,
123        "dEQP-GLES3.functional.texture.m",
124        "ipmap.2d.generate.rgb888_fastest");
125
126static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025052,
127        "dEQP-GLES3.functional.texture.m",
128        "ipmap.2d.generate.rgb888_nicest");
129
130static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025053,
131        "dEQP-GLES3.functional.texture.mipm",
132        "ap.2d.generate.rgb888_npot_fastest");
133
134static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025054,
135        "dEQP-GLES3.functional.texture.mip",
136        "map.2d.generate.rgb888_npot_nicest");
137
138static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025055,
139        "dEQP-GLES3.functional.texture.mipmap.",
140        "2d.generate.rgb888_non_square_fastest");
141
142static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025056,
143        "dEQP-GLES3.functional.texture.mipmap",
144        ".2d.generate.rgb888_non_square_nicest");
145
146static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025057,
147        "dEQP-GLES3.functional.texture.mi",
148        "pmap.2d.generate.rgba4444_fastest");
149
150static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025058,
151        "dEQP-GLES3.functional.texture.mi",
152        "pmap.2d.generate.rgba4444_nicest");
153
154static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025059,
155        "dEQP-GLES3.functional.texture.mipma",
156        "p.2d.generate.rgba4444_npot_fastest");
157
158static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025060,
159        "dEQP-GLES3.functional.texture.mipm",
160        "ap.2d.generate.rgba4444_npot_nicest");
161
162static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025061,
163        "dEQP-GLES3.functional.texture.mipmap.2",
164        "d.generate.rgba4444_non_square_fastest");
165
166static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025062,
167        "dEQP-GLES3.functional.texture.mipmap.",
168        "2d.generate.rgba4444_non_square_nicest");
169
170static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025063,
171        "dEQP-GLES3.functional.texture.mi",
172        "pmap.2d.generate.rgba5551_fastest");
173
174static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025064,
175        "dEQP-GLES3.functional.texture.mi",
176        "pmap.2d.generate.rgba5551_nicest");
177
178static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025065,
179        "dEQP-GLES3.functional.texture.mipma",
180        "p.2d.generate.rgba5551_npot_fastest");
181
182static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025066,
183        "dEQP-GLES3.functional.texture.mipm",
184        "ap.2d.generate.rgba5551_npot_nicest");
185
186static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025067,
187        "dEQP-GLES3.functional.texture.mipmap.2",
188        "d.generate.rgba5551_non_square_fastest");
189
190static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025068,
191        "dEQP-GLES3.functional.texture.mipmap.",
192        "2d.generate.rgba5551_non_square_nicest");
193
194static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025069,
195        "dEQP-GLES3.functional.texture.mi",
196        "pmap.2d.generate.rgba8888_fastest");
197
198static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025070,
199        "dEQP-GLES3.functional.texture.mi",
200        "pmap.2d.generate.rgba8888_nicest");
201
202static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025071,
203        "dEQP-GLES3.functional.texture.mipma",
204        "p.2d.generate.rgba8888_npot_fastest");
205
206static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025072,
207        "dEQP-GLES3.functional.texture.mipm",
208        "ap.2d.generate.rgba8888_npot_nicest");
209
210static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025073,
211        "dEQP-GLES3.functional.texture.mipmap.2",
212        "d.generate.rgba8888_non_square_fastest");
213
214static SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025074,
215        "dEQP-GLES3.functional.texture.mipmap.",
216        "2d.generate.rgba8888_non_square_nicest");
217