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 "../ActsDeqpgles30040TestSuite.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(ActsDeqpgles30040TestSuite, TestCase_039704,
27f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.r",
28f6603c60Sopenharmony_ci        "enderbuffer.rgba8_triangles");
29f6603c60Sopenharmony_ci
30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039705,
31f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo",
32f6603c60Sopenharmony_ci        ".renderbuffer.rgba8_clears");
33f6603c60Sopenharmony_ci
34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039706,
35f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.r",
36f6603c60Sopenharmony_ci        "enderbuffer.rgba8i_triangles");
37f6603c60Sopenharmony_ci
38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039707,
39f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.",
40f6603c60Sopenharmony_ci        "renderbuffer.rgba8i_clears");
41f6603c60Sopenharmony_ci
42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039708,
43f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.re",
44f6603c60Sopenharmony_ci        "nderbuffer.rgba8ui_triangles");
45f6603c60Sopenharmony_ci
46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039709,
47f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.",
48f6603c60Sopenharmony_ci        "renderbuffer.rgba8ui_clears");
49f6603c60Sopenharmony_ci
50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039710,
51f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.re",
52f6603c60Sopenharmony_ci        "nderbuffer.rgba16f_triangles");
53f6603c60Sopenharmony_ci
54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039711,
55f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.",
56f6603c60Sopenharmony_ci        "renderbuffer.rgba16f_clears");
57f6603c60Sopenharmony_ci
58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039712,
59f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.re",
60f6603c60Sopenharmony_ci        "nderbuffer.rgba16i_triangles");
61f6603c60Sopenharmony_ci
62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039713,
63f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.",
64f6603c60Sopenharmony_ci        "renderbuffer.rgba16i_clears");
65f6603c60Sopenharmony_ci
66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039714,
67f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.re",
68f6603c60Sopenharmony_ci        "nderbuffer.rgba16ui_triangles");
69f6603c60Sopenharmony_ci
70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039715,
71f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.r",
72f6603c60Sopenharmony_ci        "enderbuffer.rgba16ui_clears");
73f6603c60Sopenharmony_ci
74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039716,
75f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.re",
76f6603c60Sopenharmony_ci        "nderbuffer.rgba32f_triangles");
77f6603c60Sopenharmony_ci
78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039717,
79f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.",
80f6603c60Sopenharmony_ci        "renderbuffer.rgba32f_clears");
81f6603c60Sopenharmony_ci
82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039718,
83f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.re",
84f6603c60Sopenharmony_ci        "nderbuffer.rgba32i_triangles");
85f6603c60Sopenharmony_ci
86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039719,
87f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.",
88f6603c60Sopenharmony_ci        "renderbuffer.rgba32i_clears");
89f6603c60Sopenharmony_ci
90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039720,
91f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.re",
92f6603c60Sopenharmony_ci        "nderbuffer.rgba32ui_triangles");
93f6603c60Sopenharmony_ci
94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039721,
95f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.r",
96f6603c60Sopenharmony_ci        "enderbuffer.rgba32ui_clears");
97f6603c60Sopenharmony_ci
98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039722,
99f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.rend",
100f6603c60Sopenharmony_ci        "erbuffer.srgb8_alpha8_triangles");
101f6603c60Sopenharmony_ci
102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039723,
103f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.ren",
104f6603c60Sopenharmony_ci        "derbuffer.srgb8_alpha8_clears");
105f6603c60Sopenharmony_ci
106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039724,
107f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.re",
108f6603c60Sopenharmony_ci        "nderbuffer.rgb10_a2_triangles");
109f6603c60Sopenharmony_ci
110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039725,
111f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.r",
112f6603c60Sopenharmony_ci        "enderbuffer.rgb10_a2_clears");
113f6603c60Sopenharmony_ci
114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039726,
115f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.ren",
116f6603c60Sopenharmony_ci        "derbuffer.rgb10_a2ui_triangles");
117f6603c60Sopenharmony_ci
118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039727,
119f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.re",
120f6603c60Sopenharmony_ci        "nderbuffer.rgb10_a2ui_clears");
121f6603c60Sopenharmony_ci
122f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039728,
123f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.r",
124f6603c60Sopenharmony_ci        "enderbuffer.rgba4_triangles");
125f6603c60Sopenharmony_ci
126f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039729,
127f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo",
128f6603c60Sopenharmony_ci        ".renderbuffer.rgba4_clears");
129f6603c60Sopenharmony_ci
130f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039730,
131f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.re",
132f6603c60Sopenharmony_ci        "nderbuffer.rgb5_a1_triangles");
133f6603c60Sopenharmony_ci
134f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039731,
135f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.",
136f6603c60Sopenharmony_ci        "renderbuffer.rgb5_a1_clears");
137f6603c60Sopenharmony_ci
138f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039732,
139f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.",
140f6603c60Sopenharmony_ci        "renderbuffer.rgb8_triangles");
141f6603c60Sopenharmony_ci
142f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039733,
143f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo",
144f6603c60Sopenharmony_ci        ".renderbuffer.rgb8_clears");
145f6603c60Sopenharmony_ci
146f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039734,
147f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.r",
148f6603c60Sopenharmony_ci        "enderbuffer.rgb565_triangles");
149f6603c60Sopenharmony_ci
150f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039735,
151f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.",
152f6603c60Sopenharmony_ci        "renderbuffer.rgb565_clears");
153f6603c60Sopenharmony_ci
154f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039736,
155f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.rende",
156f6603c60Sopenharmony_ci        "rbuffer.r11f_g11f_b10f_triangles");
157f6603c60Sopenharmony_ci
158f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039737,
159f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.rend",
160f6603c60Sopenharmony_ci        "erbuffer.r11f_g11f_b10f_clears");
161f6603c60Sopenharmony_ci
162f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039738,
163f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.",
164f6603c60Sopenharmony_ci        "renderbuffer.rg8_triangles");
165f6603c60Sopenharmony_ci
166f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039739,
167f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pb",
168f6603c60Sopenharmony_ci        "o.renderbuffer.rg8_clears");
169f6603c60Sopenharmony_ci
170f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039740,
171f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.",
172f6603c60Sopenharmony_ci        "renderbuffer.rg8i_triangles");
173f6603c60Sopenharmony_ci
174f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039741,
175f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo",
176f6603c60Sopenharmony_ci        ".renderbuffer.rg8i_clears");
177f6603c60Sopenharmony_ci
178f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039742,
179f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.r",
180f6603c60Sopenharmony_ci        "enderbuffer.rg8ui_triangles");
181f6603c60Sopenharmony_ci
182f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039743,
183f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo",
184f6603c60Sopenharmony_ci        ".renderbuffer.rg8ui_clears");
185f6603c60Sopenharmony_ci
186f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039744,
187f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.r",
188f6603c60Sopenharmony_ci        "enderbuffer.rg16f_triangles");
189f6603c60Sopenharmony_ci
190f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039745,
191f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo",
192f6603c60Sopenharmony_ci        ".renderbuffer.rg16f_clears");
193f6603c60Sopenharmony_ci
194f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039746,
195f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.r",
196f6603c60Sopenharmony_ci        "enderbuffer.rg16i_triangles");
197f6603c60Sopenharmony_ci
198f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039747,
199f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo",
200f6603c60Sopenharmony_ci        ".renderbuffer.rg16i_clears");
201f6603c60Sopenharmony_ci
202f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039748,
203f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.r",
204f6603c60Sopenharmony_ci        "enderbuffer.rg16ui_triangles");
205f6603c60Sopenharmony_ci
206f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039749,
207f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.",
208f6603c60Sopenharmony_ci        "renderbuffer.rg16ui_clears");
209f6603c60Sopenharmony_ci
210f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039750,
211f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.r",
212f6603c60Sopenharmony_ci        "enderbuffer.rg32f_triangles");
213f6603c60Sopenharmony_ci
214f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039751,
215f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo",
216f6603c60Sopenharmony_ci        ".renderbuffer.rg32f_clears");
217f6603c60Sopenharmony_ci
218f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039752,
219f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.r",
220f6603c60Sopenharmony_ci        "enderbuffer.rg32i_triangles");
221f6603c60Sopenharmony_ci
222f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039753,
223f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo",
224f6603c60Sopenharmony_ci        ".renderbuffer.rg32i_clears");
225f6603c60Sopenharmony_ci
226f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039754,
227f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.r",
228f6603c60Sopenharmony_ci        "enderbuffer.rg32ui_triangles");
229f6603c60Sopenharmony_ci
230f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30040TestSuite, TestCase_039755,
231f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.pbo.",
232f6603c60Sopenharmony_ci        "renderbuffer.rg32ui_clears");
233