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