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 "../ActsDeqpgles30044TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043327,
27        "dEQP-GLES3.functional.clipping.p",
28        "olygon.poly_clip_viewport_center");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043328,
31        "dEQP-GLES3.functional.clipping.p",
32        "olygon.poly_clip_viewport_corner");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043329,
35        "dEQP-GLES3.functional.cli",
36        "pping.polygon.poly_z_clip");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043330,
39        "dEQP-GLES3.functional.clipping.po",
40        "lygon.poly_z_clip_viewport_center");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043331,
43        "dEQP-GLES3.functional.clipping.po",
44        "lygon.poly_z_clip_viewport_corner");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043332,
47        "dEQP-GLES3.functional.clipping.poly",
48        "gon.large_poly_clip_viewport_center");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043333,
51        "dEQP-GLES3.functional.clipping.poly",
52        "gon.large_poly_clip_viewport_corner");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043334,
55        "dEQP-GLES3.functional.clippi",
56        "ng.polygon.large_poly_z_clip");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043335,
59        "dEQP-GLES3.functional.clipping.polyg",
60        "on.large_poly_z_clip_viewport_center");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043336,
63        "dEQP-GLES3.functional.clipping.polyg",
64        "on.large_poly_z_clip_viewport_corner");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043337,
67        "dEQP-GLES3.functional.clipp",
68        "ing.polygon.poly_attrib_clip");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043338,
71        "dEQP-GLES3.functional.clipping.poly",
72        "gon.poly_attrib_clip_viewport_center");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043339,
75        "dEQP-GLES3.functional.clipping.poly",
76        "gon.poly_attrib_clip_viewport_corner");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043340,
79        "dEQP-GLES3.functional.cl",
80        "ipping.polygon.multiple_0");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043341,
83        "dEQP-GLES3.functional.clipping.p",
84        "olygon.multiple_0_viewport_center");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043342,
87        "dEQP-GLES3.functional.clipping.p",
88        "olygon.multiple_0_viewport_corner");
89
90static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043343,
91        "dEQP-GLES3.functional.cl",
92        "ipping.polygon.multiple_1");
93
94static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043344,
95        "dEQP-GLES3.functional.clipping.p",
96        "olygon.multiple_1_viewport_center");
97
98static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043345,
99        "dEQP-GLES3.functional.clipping.p",
100        "olygon.multiple_1_viewport_corner");
101
102static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043346,
103        "dEQP-GLES3.functional.cl",
104        "ipping.polygon.multiple_2");
105
106static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043347,
107        "dEQP-GLES3.functional.clipping.p",
108        "olygon.multiple_2_viewport_center");
109
110static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043348,
111        "dEQP-GLES3.functional.clipping.p",
112        "olygon.multiple_2_viewport_corner");
113
114static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043349,
115        "dEQP-GLES3.functional.cl",
116        "ipping.polygon.multiple_3");
117
118static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043350,
119        "dEQP-GLES3.functional.clipping.p",
120        "olygon.multiple_3_viewport_center");
121
122static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043351,
123        "dEQP-GLES3.functional.clipping.p",
124        "olygon.multiple_3_viewport_corner");
125
126static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043352,
127        "dEQP-GLES3.functional.cl",
128        "ipping.polygon.multiple_4");
129
130static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043353,
131        "dEQP-GLES3.functional.clipping.p",
132        "olygon.multiple_4_viewport_center");
133
134static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043354,
135        "dEQP-GLES3.functional.clipping.p",
136        "olygon.multiple_4_viewport_corner");
137
138static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043355,
139        "dEQP-GLES3.functional.cl",
140        "ipping.polygon.multiple_5");
141
142static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043356,
143        "dEQP-GLES3.functional.clipping.p",
144        "olygon.multiple_5_viewport_center");
145
146static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043357,
147        "dEQP-GLES3.functional.clipping.p",
148        "olygon.multiple_5_viewport_corner");
149
150static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043358,
151        "dEQP-GLES3.functional.cl",
152        "ipping.polygon.multiple_6");
153
154static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043359,
155        "dEQP-GLES3.functional.clipping.p",
156        "olygon.multiple_6_viewport_center");
157
158static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043360,
159        "dEQP-GLES3.functional.clipping.p",
160        "olygon.multiple_6_viewport_corner");
161
162static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043361,
163        "dEQP-GLES3.functional.cl",
164        "ipping.polygon.multiple_7");
165
166static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043362,
167        "dEQP-GLES3.functional.clipping.p",
168        "olygon.multiple_7_viewport_center");
169
170static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043363,
171        "dEQP-GLES3.functional.clipping.p",
172        "olygon.multiple_7_viewport_corner");
173
174static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043364,
175        "dEQP-GLES3.functional.cl",
176        "ipping.polygon.multiple_8");
177
178static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043365,
179        "dEQP-GLES3.functional.clipping.p",
180        "olygon.multiple_8_viewport_center");
181
182static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043366,
183        "dEQP-GLES3.functional.clipping.p",
184        "olygon.multiple_8_viewport_corner");
185
186static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043367,
187        "dEQP-GLES3.functional.cl",
188        "ipping.polygon.multiple_9");
189
190static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043368,
191        "dEQP-GLES3.functional.clipping.p",
192        "olygon.multiple_9_viewport_center");
193
194static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043369,
195        "dEQP-GLES3.functional.clipping.p",
196        "olygon.multiple_9_viewport_corner");
197
198static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043370,
199        "dEQP-GLES3.functional.cli",
200        "pping.polygon.multiple_10");
201
202static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043371,
203        "dEQP-GLES3.functional.clipping.po",
204        "lygon.multiple_10_viewport_center");
205
206static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043372,
207        "dEQP-GLES3.functional.clipping.po",
208        "lygon.multiple_10_viewport_corner");
209
210static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043373,
211        "dEQP-GLES3.functional.cli",
212        "pping.polygon.multiple_11");
213
214static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043374,
215        "dEQP-GLES3.functional.clipping.po",
216        "lygon.multiple_11_viewport_center");
217
218static SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043375,
219        "dEQP-GLES3.functional.clipping.po",
220        "lygon.multiple_11_viewport_corner");
221