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 "../ActsDeqpgles30025TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024963,
27        "dEQP-GLES3.functional.texture.mip",
28        "map.2d.basic.nearest_nearest_clamp");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024964,
31        "dEQP-GLES3.functional.texture.mipmap",
32        ".2d.basic.nearest_nearest_clamp_npot");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024965,
35        "dEQP-GLES3.functional.texture.mipmap.2d",
36        ".basic.nearest_nearest_clamp_non_square");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024966,
39        "dEQP-GLES3.functional.texture.mipm",
40        "ap.2d.basic.nearest_nearest_repeat");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024967,
43        "dEQP-GLES3.functional.texture.mipmap",
44        ".2d.basic.nearest_nearest_repeat_npot");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024968,
47        "dEQP-GLES3.functional.texture.mipmap.2d",
48        ".basic.nearest_nearest_repeat_non_square");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024969,
51        "dEQP-GLES3.functional.texture.mipm",
52        "ap.2d.basic.nearest_nearest_mirror");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024970,
55        "dEQP-GLES3.functional.texture.mipmap",
56        ".2d.basic.nearest_nearest_mirror_npot");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024971,
59        "dEQP-GLES3.functional.texture.mipmap.2d",
60        ".basic.nearest_nearest_mirror_non_square");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024972,
63        "dEQP-GLES3.functional.texture.mip",
64        "map.2d.basic.linear_nearest_clamp");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024973,
67        "dEQP-GLES3.functional.texture.mipma",
68        "p.2d.basic.linear_nearest_clamp_npot");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024974,
71        "dEQP-GLES3.functional.texture.mipmap.2",
72        "d.basic.linear_nearest_clamp_non_square");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024975,
75        "dEQP-GLES3.functional.texture.mip",
76        "map.2d.basic.linear_nearest_repeat");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024976,
79        "dEQP-GLES3.functional.texture.mipmap",
80        ".2d.basic.linear_nearest_repeat_npot");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024977,
83        "dEQP-GLES3.functional.texture.mipmap.2d",
84        ".basic.linear_nearest_repeat_non_square");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024978,
87        "dEQP-GLES3.functional.texture.mip",
88        "map.2d.basic.linear_nearest_mirror");
89
90static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024979,
91        "dEQP-GLES3.functional.texture.mipmap",
92        ".2d.basic.linear_nearest_mirror_npot");
93
94static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024980,
95        "dEQP-GLES3.functional.texture.mipmap.2d",
96        ".basic.linear_nearest_mirror_non_square");
97
98static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024981,
99        "dEQP-GLES3.functional.texture.mip",
100        "map.2d.basic.nearest_linear_clamp");
101
102static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024982,
103        "dEQP-GLES3.functional.texture.mipma",
104        "p.2d.basic.nearest_linear_clamp_npot");
105
106static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024983,
107        "dEQP-GLES3.functional.texture.mipmap.2",
108        "d.basic.nearest_linear_clamp_non_square");
109
110static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024984,
111        "dEQP-GLES3.functional.texture.mip",
112        "map.2d.basic.nearest_linear_repeat");
113
114static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024985,
115        "dEQP-GLES3.functional.texture.mipmap",
116        ".2d.basic.nearest_linear_repeat_npot");
117
118static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024986,
119        "dEQP-GLES3.functional.texture.mipmap.2d",
120        ".basic.nearest_linear_repeat_non_square");
121
122static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024987,
123        "dEQP-GLES3.functional.texture.mip",
124        "map.2d.basic.nearest_linear_mirror");
125
126static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024988,
127        "dEQP-GLES3.functional.texture.mipmap",
128        ".2d.basic.nearest_linear_mirror_npot");
129
130static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024989,
131        "dEQP-GLES3.functional.texture.mipmap.2d",
132        ".basic.nearest_linear_mirror_non_square");
133
134static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024990,
135        "dEQP-GLES3.functional.texture.mi",
136        "pmap.2d.basic.linear_linear_clamp");
137
138static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024991,
139        "dEQP-GLES3.functional.texture.mipma",
140        "p.2d.basic.linear_linear_clamp_npot");
141
142static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024992,
143        "dEQP-GLES3.functional.texture.mipmap.2",
144        "d.basic.linear_linear_clamp_non_square");
145
146static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024993,
147        "dEQP-GLES3.functional.texture.mip",
148        "map.2d.basic.linear_linear_repeat");
149
150static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024994,
151        "dEQP-GLES3.functional.texture.mipma",
152        "p.2d.basic.linear_linear_repeat_npot");
153
154static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024995,
155        "dEQP-GLES3.functional.texture.mipmap.2",
156        "d.basic.linear_linear_repeat_non_square");
157
158static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024996,
159        "dEQP-GLES3.functional.texture.mip",
160        "map.2d.basic.linear_linear_mirror");
161
162static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024997,
163        "dEQP-GLES3.functional.texture.mipma",
164        "p.2d.basic.linear_linear_mirror_npot");
165
166static SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024998,
167        "dEQP-GLES3.functional.texture.mipmap.2",
168        "d.basic.linear_linear_mirror_non_square");
169