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 "../ActsDeqpgles30032TestSuite.h"
20#include "shrinkdefine.h"
21
22using namespace std;
23using namespace testing::ext;
24using namespace OHOS;
25
26static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031964,
27        "dEQP-GLES3.functional.fbo.color.",
28        "repeated_clear.blit.tex2d.rgba32i");
29
30static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031965,
31        "dEQP-GLES3.functional.fbo.color.r",
32        "epeated_clear.blit.tex2d.rgba32ui");
33
34static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031966,
35        "dEQP-GLES3.functional.fbo.color.",
36        "repeated_clear.blit.tex2d.rgba16i");
37
38static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031967,
39        "dEQP-GLES3.functional.fbo.color.r",
40        "epeated_clear.blit.tex2d.rgba16ui");
41
42static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031968,
43        "dEQP-GLES3.functional.fbo.color",
44        ".repeated_clear.blit.tex2d.rgba8");
45
46static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031969,
47        "dEQP-GLES3.functional.fbo.color.",
48        "repeated_clear.blit.tex2d.rgba8i");
49
50static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031970,
51        "dEQP-GLES3.functional.fbo.color.",
52        "repeated_clear.blit.tex2d.rgba8ui");
53
54static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031971,
55        "dEQP-GLES3.functional.fbo.color.rep",
56        "eated_clear.blit.tex2d.srgb8_alpha8");
57
58static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031972,
59        "dEQP-GLES3.functional.fbo.color.r",
60        "epeated_clear.blit.tex2d.rgb10_a2");
61
62static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031973,
63        "dEQP-GLES3.functional.fbo.color.re",
64        "peated_clear.blit.tex2d.rgb10_a2ui");
65
66static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031974,
67        "dEQP-GLES3.functional.fbo.color",
68        ".repeated_clear.blit.tex2d.rgba4");
69
70static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031975,
71        "dEQP-GLES3.functional.fbo.color.",
72        "repeated_clear.blit.tex2d.rgb5_a1");
73
74static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031976,
75        "dEQP-GLES3.functional.fbo.color",
76        ".repeated_clear.blit.tex2d.rgb8");
77
78static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031977,
79        "dEQP-GLES3.functional.fbo.color.",
80        "repeated_clear.blit.tex2d.rgb565");
81
82static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031978,
83        "dEQP-GLES3.functional.fbo.color",
84        ".repeated_clear.blit.tex2d.rg32i");
85
86static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031979,
87        "dEQP-GLES3.functional.fbo.color.",
88        "repeated_clear.blit.tex2d.rg32ui");
89
90static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031980,
91        "dEQP-GLES3.functional.fbo.color",
92        ".repeated_clear.blit.tex2d.rg16i");
93
94static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031981,
95        "dEQP-GLES3.functional.fbo.color.",
96        "repeated_clear.blit.tex2d.rg16ui");
97
98static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031982,
99        "dEQP-GLES3.functional.fbo.colo",
100        "r.repeated_clear.blit.tex2d.rg8");
101
102static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031983,
103        "dEQP-GLES3.functional.fbo.color",
104        ".repeated_clear.blit.tex2d.rg8i");
105
106static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031984,
107        "dEQP-GLES3.functional.fbo.color",
108        ".repeated_clear.blit.tex2d.rg8ui");
109
110static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031985,
111        "dEQP-GLES3.functional.fbo.color",
112        ".repeated_clear.blit.tex2d.r32i");
113
114static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031986,
115        "dEQP-GLES3.functional.fbo.color",
116        ".repeated_clear.blit.tex2d.r32ui");
117
118static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031987,
119        "dEQP-GLES3.functional.fbo.color",
120        ".repeated_clear.blit.tex2d.r16i");
121
122static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031988,
123        "dEQP-GLES3.functional.fbo.color",
124        ".repeated_clear.blit.tex2d.r16ui");
125
126static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031989,
127        "dEQP-GLES3.functional.fbo.colo",
128        "r.repeated_clear.blit.tex2d.r8");
129
130static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031990,
131        "dEQP-GLES3.functional.fbo.colo",
132        "r.repeated_clear.blit.tex2d.r8i");
133
134static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031991,
135        "dEQP-GLES3.functional.fbo.color",
136        ".repeated_clear.blit.tex2d.r8ui");
137
138static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031992,
139        "dEQP-GLES3.functional.fbo.color.",
140        "repeated_clear.blit.tex2d.rgba32f");
141
142static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031993,
143        "dEQP-GLES3.functional.fbo.color.",
144        "repeated_clear.blit.tex2d.rgba16f");
145
146static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031994,
147        "dEQP-GLES3.functional.fbo.color.repe",
148        "ated_clear.blit.tex2d.r11f_g11f_b10f");
149
150static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031995,
151        "dEQP-GLES3.functional.fbo.color",
152        ".repeated_clear.blit.tex2d.rg32f");
153
154static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031996,
155        "dEQP-GLES3.functional.fbo.color",
156        ".repeated_clear.blit.tex2d.rg16f");
157
158static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031997,
159        "dEQP-GLES3.functional.fbo.color",
160        ".repeated_clear.blit.tex2d.r32f");
161
162static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031998,
163        "dEQP-GLES3.functional.fbo.color",
164        ".repeated_clear.blit.tex2d.r16f");
165
166static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031999,
167        "dEQP-GLES3.functional.fbo.color.",
168        "repeated_clear.blit.tex2d.rgb16f");
169