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 "../ActsDeqpgles30033TestSuite.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(ActsDeqpgles30033TestSuite, TestCase_032000,
27f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.color",
28f6603c60Sopenharmony_ci        ".repeated_clear.blit.rbo.rgba32i");
29f6603c60Sopenharmony_ci
30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032001,
31f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.color.",
32f6603c60Sopenharmony_ci        "repeated_clear.blit.rbo.rgba32ui");
33f6603c60Sopenharmony_ci
34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032002,
35f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.color",
36f6603c60Sopenharmony_ci        ".repeated_clear.blit.rbo.rgba16i");
37f6603c60Sopenharmony_ci
38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032003,
39f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.color.",
40f6603c60Sopenharmony_ci        "repeated_clear.blit.rbo.rgba16ui");
41f6603c60Sopenharmony_ci
42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032004,
43f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.colo",
44f6603c60Sopenharmony_ci        "r.repeated_clear.blit.rbo.rgba8");
45f6603c60Sopenharmony_ci
46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032005,
47f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.color",
48f6603c60Sopenharmony_ci        ".repeated_clear.blit.rbo.rgba8i");
49f6603c60Sopenharmony_ci
50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032006,
51f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.color",
52f6603c60Sopenharmony_ci        ".repeated_clear.blit.rbo.rgba8ui");
53f6603c60Sopenharmony_ci
54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032007,
55f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.color.re",
56f6603c60Sopenharmony_ci        "peated_clear.blit.rbo.srgb8_alpha8");
57f6603c60Sopenharmony_ci
58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032008,
59f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.color.",
60f6603c60Sopenharmony_ci        "repeated_clear.blit.rbo.rgb10_a2");
61f6603c60Sopenharmony_ci
62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032009,
63f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.color.r",
64f6603c60Sopenharmony_ci        "epeated_clear.blit.rbo.rgb10_a2ui");
65f6603c60Sopenharmony_ci
66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032010,
67f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.colo",
68f6603c60Sopenharmony_ci        "r.repeated_clear.blit.rbo.rgba4");
69f6603c60Sopenharmony_ci
70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032011,
71f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.color",
72f6603c60Sopenharmony_ci        ".repeated_clear.blit.rbo.rgb5_a1");
73f6603c60Sopenharmony_ci
74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032012,
75f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.colo",
76f6603c60Sopenharmony_ci        "r.repeated_clear.blit.rbo.rgb8");
77f6603c60Sopenharmony_ci
78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032013,
79f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.color",
80f6603c60Sopenharmony_ci        ".repeated_clear.blit.rbo.rgb565");
81f6603c60Sopenharmony_ci
82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032014,
83f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.colo",
84f6603c60Sopenharmony_ci        "r.repeated_clear.blit.rbo.rg32i");
85f6603c60Sopenharmony_ci
86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032015,
87f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.color",
88f6603c60Sopenharmony_ci        ".repeated_clear.blit.rbo.rg32ui");
89f6603c60Sopenharmony_ci
90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032016,
91f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.colo",
92f6603c60Sopenharmony_ci        "r.repeated_clear.blit.rbo.rg16i");
93f6603c60Sopenharmony_ci
94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032017,
95f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.color",
96f6603c60Sopenharmony_ci        ".repeated_clear.blit.rbo.rg16ui");
97f6603c60Sopenharmony_ci
98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032018,
99f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.col",
100f6603c60Sopenharmony_ci        "or.repeated_clear.blit.rbo.rg8");
101f6603c60Sopenharmony_ci
102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032019,
103f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.colo",
104f6603c60Sopenharmony_ci        "r.repeated_clear.blit.rbo.rg8i");
105f6603c60Sopenharmony_ci
106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032020,
107f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.colo",
108f6603c60Sopenharmony_ci        "r.repeated_clear.blit.rbo.rg8ui");
109f6603c60Sopenharmony_ci
110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032021,
111f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.colo",
112f6603c60Sopenharmony_ci        "r.repeated_clear.blit.rbo.r32i");
113f6603c60Sopenharmony_ci
114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032022,
115f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.colo",
116f6603c60Sopenharmony_ci        "r.repeated_clear.blit.rbo.r32ui");
117f6603c60Sopenharmony_ci
118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032023,
119f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.colo",
120f6603c60Sopenharmony_ci        "r.repeated_clear.blit.rbo.r16i");
121f6603c60Sopenharmony_ci
122f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032024,
123f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.colo",
124f6603c60Sopenharmony_ci        "r.repeated_clear.blit.rbo.r16ui");
125f6603c60Sopenharmony_ci
126f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032025,
127f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.col",
128f6603c60Sopenharmony_ci        "or.repeated_clear.blit.rbo.r8");
129f6603c60Sopenharmony_ci
130f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032026,
131f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.col",
132f6603c60Sopenharmony_ci        "or.repeated_clear.blit.rbo.r8i");
133f6603c60Sopenharmony_ci
134f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032027,
135f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.colo",
136f6603c60Sopenharmony_ci        "r.repeated_clear.blit.rbo.r8ui");
137f6603c60Sopenharmony_ci
138f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032028,
139f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.color",
140f6603c60Sopenharmony_ci        ".repeated_clear.blit.rbo.rgba32f");
141f6603c60Sopenharmony_ci
142f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032029,
143f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.color",
144f6603c60Sopenharmony_ci        ".repeated_clear.blit.rbo.rgba16f");
145f6603c60Sopenharmony_ci
146f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032030,
147f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.color.rep",
148f6603c60Sopenharmony_ci        "eated_clear.blit.rbo.r11f_g11f_b10f");
149f6603c60Sopenharmony_ci
150f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032031,
151f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.colo",
152f6603c60Sopenharmony_ci        "r.repeated_clear.blit.rbo.rg32f");
153f6603c60Sopenharmony_ci
154f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032032,
155f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.colo",
156f6603c60Sopenharmony_ci        "r.repeated_clear.blit.rbo.rg16f");
157f6603c60Sopenharmony_ci
158f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032033,
159f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.colo",
160f6603c60Sopenharmony_ci        "r.repeated_clear.blit.rbo.r32f");
161f6603c60Sopenharmony_ci
162f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032034,
163f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.colo",
164f6603c60Sopenharmony_ci        "r.repeated_clear.blit.rbo.r16f");
165f6603c60Sopenharmony_ci
166f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032035,
167f6603c60Sopenharmony_ci        "dEQP-GLES3.functional.fbo.color",
168f6603c60Sopenharmony_ci        ".repeated_clear.blit.rbo.rgb16f");
169