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 "../Deqpgles2BaseFunc.h"
19 #include "../ActsDeqpgles20013TestSuite.h"
20 #include "shrinkdefine.h"
21 
22 using namespace std;
23 using namespace testing::ext;
24 using namespace OHOS;
25 
26 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012555,
27         "dEQP-GLES2.functional.fb",
28         "o.render.resize.tex2d_rgb");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012556,
31         "dEQP-GLES2.functional.fbo.render",
32         ".resize.tex2d_rgb_stencil_index8");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012557,
35         "dEQP-GLES2.functional.fbo.render.",
36         "resize.tex2d_rgb_depth_component16");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012558,
39         "dEQP-GLES2.functional.fbo.render.resize.t",
40         "ex2d_rgb_depth_component16_stencil_index8");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012559,
43         "dEQP-GLES2.functional.fbo",
44         ".render.resize.tex2d_rgba");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012560,
47         "dEQP-GLES2.functional.fbo.render",
48         ".resize.tex2d_rgba_stencil_index8");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012561,
51         "dEQP-GLES2.functional.fbo.render.r",
52         "esize.tex2d_rgba_depth_component16");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012562,
55         "dEQP-GLES2.functional.fbo.render.resize.t",
56         "ex2d_rgba_depth_component16_stencil_index8");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012563,
59         "dEQP-GLES2.functional.fbo",
60         ".render.resize.rbo_rgb565");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012564,
63         "dEQP-GLES2.functional.fbo.render",
64         ".resize.rbo_rgb565_stencil_index8");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012565,
67         "dEQP-GLES2.functional.fbo.render.r",
68         "esize.rbo_rgb565_depth_component16");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012566,
71         "dEQP-GLES2.functional.fbo.render.resize.r",
72         "bo_rgb565_depth_component16_stencil_index8");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012567,
75         "dEQP-GLES2.functional.fbo",
76         ".render.resize.rbo_rgb5_a1");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012568,
79         "dEQP-GLES2.functional.fbo.render.",
80         "resize.rbo_rgb5_a1_stencil_index8");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012569,
83         "dEQP-GLES2.functional.fbo.render.r",
84         "esize.rbo_rgb5_a1_depth_component16");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012570,
87         "dEQP-GLES2.functional.fbo.render.resize.rb",
88         "o_rgb5_a1_depth_component16_stencil_index8");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012571,
91         "dEQP-GLES2.functional.fb",
92         "o.render.resize.rbo_rgba4");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012572,
95         "dEQP-GLES2.functional.fbo.render",
96         ".resize.rbo_rgba4_stencil_index8");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012573,
99         "dEQP-GLES2.functional.fbo.render.",
100         "resize.rbo_rgba4_depth_component16");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012574,
103         "dEQP-GLES2.functional.fbo.render.resize.r",
104         "bo_rgba4_depth_component16_stencil_index8");
105