1f6603c60Sopenharmony_ci/*
2f6603c60Sopenharmony_ci * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
3f6603c60Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
4f6603c60Sopenharmony_ci * you may not use this file except in compliance with the License.
5f6603c60Sopenharmony_ci * You may obtain a copy of the License at
6f6603c60Sopenharmony_ci *
7f6603c60Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
8f6603c60Sopenharmony_ci *
9f6603c60Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
10f6603c60Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
11f6603c60Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12f6603c60Sopenharmony_ci * See the License for the specific language governing permissions and
13f6603c60Sopenharmony_ci * limitations under the License.
14f6603c60Sopenharmony_ci */
15f6603c60Sopenharmony_ci
16f6603c60Sopenharmony_ci#include <climits>
17f6603c60Sopenharmony_ci#include <gtest/gtest.h>
18f6603c60Sopenharmony_ci#include "../Deqpgles3BaseFunc.h"
19f6603c60Sopenharmony_ci#include "../ActsDeqpgles30025TestSuite.h"
20f6603c60Sopenharmony_ci#include "shrinkdefine.h"
21f6603c60Sopenharmony_ci
22f6603c60Sopenharmony_ciusing namespace std;
23f6603c60Sopenharmony_ciusing namespace testing::ext;
24f6603c60Sopenharmony_ciusing namespace OHOS;
25f6603c60Sopenharmony_ci
26f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024963,
27f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mip",
28f6603c60Sopenharmony_ci        "map.2d.basic.nearest_nearest_clamp");
29f6603c60Sopenharmony_ci
30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024964,
31f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap",
32f6603c60Sopenharmony_ci        ".2d.basic.nearest_nearest_clamp_npot");
33f6603c60Sopenharmony_ci
34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024965,
35f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap.2d",
36f6603c60Sopenharmony_ci        ".basic.nearest_nearest_clamp_non_square");
37f6603c60Sopenharmony_ci
38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024966,
39f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipm",
40f6603c60Sopenharmony_ci        "ap.2d.basic.nearest_nearest_repeat");
41f6603c60Sopenharmony_ci
42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024967,
43f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap",
44f6603c60Sopenharmony_ci        ".2d.basic.nearest_nearest_repeat_npot");
45f6603c60Sopenharmony_ci
46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024968,
47f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap.2d",
48f6603c60Sopenharmony_ci        ".basic.nearest_nearest_repeat_non_square");
49f6603c60Sopenharmony_ci
50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024969,
51f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipm",
52f6603c60Sopenharmony_ci        "ap.2d.basic.nearest_nearest_mirror");
53f6603c60Sopenharmony_ci
54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024970,
55f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap",
56f6603c60Sopenharmony_ci        ".2d.basic.nearest_nearest_mirror_npot");
57f6603c60Sopenharmony_ci
58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024971,
59f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap.2d",
60f6603c60Sopenharmony_ci        ".basic.nearest_nearest_mirror_non_square");
61f6603c60Sopenharmony_ci
62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024972,
63f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mip",
64f6603c60Sopenharmony_ci        "map.2d.basic.linear_nearest_clamp");
65f6603c60Sopenharmony_ci
66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024973,
67f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipma",
68f6603c60Sopenharmony_ci        "p.2d.basic.linear_nearest_clamp_npot");
69f6603c60Sopenharmony_ci
70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024974,
71f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap.2",
72f6603c60Sopenharmony_ci        "d.basic.linear_nearest_clamp_non_square");
73f6603c60Sopenharmony_ci
74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024975,
75f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mip",
76f6603c60Sopenharmony_ci        "map.2d.basic.linear_nearest_repeat");
77f6603c60Sopenharmony_ci
78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024976,
79f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap",
80f6603c60Sopenharmony_ci        ".2d.basic.linear_nearest_repeat_npot");
81f6603c60Sopenharmony_ci
82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024977,
83f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap.2d",
84f6603c60Sopenharmony_ci        ".basic.linear_nearest_repeat_non_square");
85f6603c60Sopenharmony_ci
86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024978,
87f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mip",
88f6603c60Sopenharmony_ci        "map.2d.basic.linear_nearest_mirror");
89f6603c60Sopenharmony_ci
90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024979,
91f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap",
92f6603c60Sopenharmony_ci        ".2d.basic.linear_nearest_mirror_npot");
93f6603c60Sopenharmony_ci
94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024980,
95f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap.2d",
96f6603c60Sopenharmony_ci        ".basic.linear_nearest_mirror_non_square");
97f6603c60Sopenharmony_ci
98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024981,
99f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mip",
100f6603c60Sopenharmony_ci        "map.2d.basic.nearest_linear_clamp");
101f6603c60Sopenharmony_ci
102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024982,
103f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipma",
104f6603c60Sopenharmony_ci        "p.2d.basic.nearest_linear_clamp_npot");
105f6603c60Sopenharmony_ci
106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024983,
107f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap.2",
108f6603c60Sopenharmony_ci        "d.basic.nearest_linear_clamp_non_square");
109f6603c60Sopenharmony_ci
110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024984,
111f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mip",
112f6603c60Sopenharmony_ci        "map.2d.basic.nearest_linear_repeat");
113f6603c60Sopenharmony_ci
114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024985,
115f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap",
116f6603c60Sopenharmony_ci        ".2d.basic.nearest_linear_repeat_npot");
117f6603c60Sopenharmony_ci
118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024986,
119f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap.2d",
120f6603c60Sopenharmony_ci        ".basic.nearest_linear_repeat_non_square");
121f6603c60Sopenharmony_ci
122f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024987,
123f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mip",
124f6603c60Sopenharmony_ci        "map.2d.basic.nearest_linear_mirror");
125f6603c60Sopenharmony_ci
126f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024988,
127f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap",
128f6603c60Sopenharmony_ci        ".2d.basic.nearest_linear_mirror_npot");
129f6603c60Sopenharmony_ci
130f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024989,
131f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap.2d",
132f6603c60Sopenharmony_ci        ".basic.nearest_linear_mirror_non_square");
133f6603c60Sopenharmony_ci
134f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024990,
135f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mi",
136f6603c60Sopenharmony_ci        "pmap.2d.basic.linear_linear_clamp");
137f6603c60Sopenharmony_ci
138f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024991,
139f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipma",
140f6603c60Sopenharmony_ci        "p.2d.basic.linear_linear_clamp_npot");
141f6603c60Sopenharmony_ci
142f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024992,
143f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap.2",
144f6603c60Sopenharmony_ci        "d.basic.linear_linear_clamp_non_square");
145f6603c60Sopenharmony_ci
146f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024993,
147f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mip",
148f6603c60Sopenharmony_ci        "map.2d.basic.linear_linear_repeat");
149f6603c60Sopenharmony_ci
150f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024994,
151f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipma",
152f6603c60Sopenharmony_ci        "p.2d.basic.linear_linear_repeat_npot");
153f6603c60Sopenharmony_ci
154f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024995,
155f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap.2",
156f6603c60Sopenharmony_ci        "d.basic.linear_linear_repeat_non_square");
157f6603c60Sopenharmony_ci
158f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024996,
159f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mip",
160f6603c60Sopenharmony_ci        "map.2d.basic.linear_linear_mirror");
161f6603c60Sopenharmony_ci
162f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024997,
163f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipma",
164f6603c60Sopenharmony_ci        "p.2d.basic.linear_linear_mirror_npot");
165f6603c60Sopenharmony_ci
166f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30025TestSuite, TestCase_024998,
167f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.mipmap.2",
168f6603c60Sopenharmony_ci        "d.basic.linear_linear_mirror_non_square");
169