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 "../ActsDeqpgles30023TestSuite.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(ActsDeqpgles30023TestSuite, TestCase_022447,
27f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
28f6603c60Sopenharmony_ci        "ap.rgba8.clamp_clamp_nearest_pot");
29f6603c60Sopenharmony_ci
30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022448,
31f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.w",
32f6603c60Sopenharmony_ci        "rap.rgba8.clamp_clamp_linear_pot");
33f6603c60Sopenharmony_ci
34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022449,
35f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
36f6603c60Sopenharmony_ci        "ap.rgba8.clamp_repeat_nearest_pot");
37f6603c60Sopenharmony_ci
38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022450,
39f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
40f6603c60Sopenharmony_ci        "ap.rgba8.clamp_repeat_linear_pot");
41f6603c60Sopenharmony_ci
42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022451,
43f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
44f6603c60Sopenharmony_ci        "ap.rgba8.clamp_mirror_nearest_pot");
45f6603c60Sopenharmony_ci
46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022452,
47f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
48f6603c60Sopenharmony_ci        "ap.rgba8.clamp_mirror_linear_pot");
49f6603c60Sopenharmony_ci
50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022453,
51f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
52f6603c60Sopenharmony_ci        "ap.rgba8.repeat_clamp_nearest_pot");
53f6603c60Sopenharmony_ci
54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022454,
55f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
56f6603c60Sopenharmony_ci        "ap.rgba8.repeat_clamp_linear_pot");
57f6603c60Sopenharmony_ci
58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022455,
59f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wra",
60f6603c60Sopenharmony_ci        "p.rgba8.repeat_repeat_nearest_pot");
61f6603c60Sopenharmony_ci
62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022456,
63f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
64f6603c60Sopenharmony_ci        "ap.rgba8.repeat_repeat_linear_pot");
65f6603c60Sopenharmony_ci
66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022457,
67f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wra",
68f6603c60Sopenharmony_ci        "p.rgba8.repeat_mirror_nearest_pot");
69f6603c60Sopenharmony_ci
70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022458,
71f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
72f6603c60Sopenharmony_ci        "ap.rgba8.repeat_mirror_linear_pot");
73f6603c60Sopenharmony_ci
74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022459,
75f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
76f6603c60Sopenharmony_ci        "ap.rgba8.mirror_clamp_nearest_pot");
77f6603c60Sopenharmony_ci
78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022460,
79f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
80f6603c60Sopenharmony_ci        "ap.rgba8.mirror_clamp_linear_pot");
81f6603c60Sopenharmony_ci
82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022461,
83f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wra",
84f6603c60Sopenharmony_ci        "p.rgba8.mirror_repeat_nearest_pot");
85f6603c60Sopenharmony_ci
86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022462,
87f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
88f6603c60Sopenharmony_ci        "ap.rgba8.mirror_repeat_linear_pot");
89f6603c60Sopenharmony_ci
90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022463,
91f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wra",
92f6603c60Sopenharmony_ci        "p.rgba8.mirror_mirror_nearest_pot");
93f6603c60Sopenharmony_ci
94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022464,
95f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
96f6603c60Sopenharmony_ci        "ap.rgba8.mirror_mirror_linear_pot");
97f6603c60Sopenharmony_ci
98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022465,
99f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
100f6603c60Sopenharmony_ci        "ap.rgba8.clamp_clamp_nearest_npot");
101f6603c60Sopenharmony_ci
102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022466,
103f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
104f6603c60Sopenharmony_ci        "ap.rgba8.clamp_clamp_linear_npot");
105f6603c60Sopenharmony_ci
106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022467,
107f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wra",
108f6603c60Sopenharmony_ci        "p.rgba8.clamp_repeat_nearest_npot");
109f6603c60Sopenharmony_ci
110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022468,
111f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
112f6603c60Sopenharmony_ci        "ap.rgba8.clamp_repeat_linear_npot");
113f6603c60Sopenharmony_ci
114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022469,
115f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wra",
116f6603c60Sopenharmony_ci        "p.rgba8.clamp_mirror_nearest_npot");
117f6603c60Sopenharmony_ci
118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022470,
119f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
120f6603c60Sopenharmony_ci        "ap.rgba8.clamp_mirror_linear_npot");
121f6603c60Sopenharmony_ci
122f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022471,
123f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wra",
124f6603c60Sopenharmony_ci        "p.rgba8.repeat_clamp_nearest_npot");
125f6603c60Sopenharmony_ci
126f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022472,
127f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
128f6603c60Sopenharmony_ci        "ap.rgba8.repeat_clamp_linear_npot");
129f6603c60Sopenharmony_ci
130f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022473,
131f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wra",
132f6603c60Sopenharmony_ci        "p.rgba8.repeat_repeat_nearest_npot");
133f6603c60Sopenharmony_ci
134f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022474,
135f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wra",
136f6603c60Sopenharmony_ci        "p.rgba8.repeat_repeat_linear_npot");
137f6603c60Sopenharmony_ci
138f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022475,
139f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wra",
140f6603c60Sopenharmony_ci        "p.rgba8.repeat_mirror_nearest_npot");
141f6603c60Sopenharmony_ci
142f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022476,
143f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wra",
144f6603c60Sopenharmony_ci        "p.rgba8.repeat_mirror_linear_npot");
145f6603c60Sopenharmony_ci
146f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022477,
147f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wra",
148f6603c60Sopenharmony_ci        "p.rgba8.mirror_clamp_nearest_npot");
149f6603c60Sopenharmony_ci
150f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022478,
151f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wr",
152f6603c60Sopenharmony_ci        "ap.rgba8.mirror_clamp_linear_npot");
153f6603c60Sopenharmony_ci
154f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022479,
155f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wra",
156f6603c60Sopenharmony_ci        "p.rgba8.mirror_repeat_nearest_npot");
157f6603c60Sopenharmony_ci
158f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022480,
159f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wra",
160f6603c60Sopenharmony_ci        "p.rgba8.mirror_repeat_linear_npot");
161f6603c60Sopenharmony_ci
162f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022481,
163f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wra",
164f6603c60Sopenharmony_ci        "p.rgba8.mirror_mirror_nearest_npot");
165f6603c60Sopenharmony_ci
166f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30023TestSuite, TestCase_022482,
167f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.texture.wra",
168f6603c60Sopenharmony_ci        "p.rgba8.mirror_mirror_linear_npot");
169