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_012500,
27         "dEQP-GLES2.functional.fbo.render",
28         ".stencil.tex2d_rgb_stencil_index8");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012501,
31         "dEQP-GLES2.functional.fbo.render.stencil.",
32         "tex2d_rgb_depth_component16_stencil_index8");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012502,
35         "dEQP-GLES2.functional.fbo.render.",
36         "stencil.tex2d_rgba_stencil_index8");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012503,
39         "dEQP-GLES2.functional.fbo.render.stencil.t",
40         "ex2d_rgba_depth_component16_stencil_index8");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012504,
43         "dEQP-GLES2.functional.fbo.render.",
44         "stencil.rbo_rgb565_stencil_index8");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012505,
47         "dEQP-GLES2.functional.fbo.render.stencil.r",
48         "bo_rgb565_depth_component16_stencil_index8");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012506,
51         "dEQP-GLES2.functional.fbo.render.",
52         "stencil.rbo_rgb5_a1_stencil_index8");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012507,
55         "dEQP-GLES2.functional.fbo.render.stencil.r",
56         "bo_rgb5_a1_depth_component16_stencil_index8");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012508,
59         "dEQP-GLES2.functional.fbo.render",
60         ".stencil.rbo_rgba4_stencil_index8");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012509,
63         "dEQP-GLES2.functional.fbo.render.stencil.",
64         "rbo_rgba4_depth_component16_stencil_index8");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012510,
67         "dEQP-GLES2.functional.fbo.render.st",
68         "encil.npot_tex2d_rgb_stencil_index8");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012511,
71         "dEQP-GLES2.functional.fbo.render.stencil.npo",
72         "t_tex2d_rgb_depth_component16_stencil_index8");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012512,
75         "dEQP-GLES2.functional.fbo.render.st",
76         "encil.npot_tex2d_rgba_stencil_index8");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012513,
79         "dEQP-GLES2.functional.fbo.render.stencil.npo",
80         "t_tex2d_rgba_depth_component16_stencil_index8");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012514,
83         "dEQP-GLES2.functional.fbo.render.st",
84         "encil.npot_rbo_rgb565_stencil_index8");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012515,
87         "dEQP-GLES2.functional.fbo.render.stencil.npo",
88         "t_rbo_rgb565_depth_component16_stencil_index8");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012516,
91         "dEQP-GLES2.functional.fbo.render.ste",
92         "ncil.npot_rbo_rgb5_a1_stencil_index8");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012517,
95         "dEQP-GLES2.functional.fbo.render.stencil.npot",
96         "_rbo_rgb5_a1_depth_component16_stencil_index8");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012518,
99         "dEQP-GLES2.functional.fbo.render.st",
100         "encil.npot_rbo_rgba4_stencil_index8");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012519,
103         "dEQP-GLES2.functional.fbo.render.stencil.npo",
104         "t_rbo_rgba4_depth_component16_stencil_index8");
105