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_012615,
27         "dEQP-GLES2.functional.fbo.render.recreate_de",
28         "pthbuffer.rebind_tex2d_rgb_depth_component16");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012616,
31         "dEQP-GLES2.functional.fbo.render.recreate_depthbuff",
32         "er.rebind_tex2d_rgb_depth_component16_stencil_index8");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012617,
35         "dEQP-GLES2.functional.fbo.render.recreate_de",
36         "pthbuffer.rebind_tex2d_rgba_depth_component16");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012618,
39         "dEQP-GLES2.functional.fbo.render.recreate_depthbuffe",
40         "r.rebind_tex2d_rgba_depth_component16_stencil_index8");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012619,
43         "dEQP-GLES2.functional.fbo.render.recreate_de",
44         "pthbuffer.rebind_rbo_rgb565_depth_component16");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012620,
47         "dEQP-GLES2.functional.fbo.render.recreate_depthbuffe",
48         "r.rebind_rbo_rgb565_depth_component16_stencil_index8");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012621,
51         "dEQP-GLES2.functional.fbo.render.recreate_dep",
52         "thbuffer.rebind_rbo_rgb5_a1_depth_component16");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012622,
55         "dEQP-GLES2.functional.fbo.render.recreate_depthbuffe",
56         "r.rebind_rbo_rgb5_a1_depth_component16_stencil_index8");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012623,
59         "dEQP-GLES2.functional.fbo.render.recreate_de",
60         "pthbuffer.rebind_rbo_rgba4_depth_component16");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012624,
63         "dEQP-GLES2.functional.fbo.render.recreate_depthbuff",
64         "er.rebind_rbo_rgba4_depth_component16_stencil_index8");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012625,
67         "dEQP-GLES2.functional.fbo.render.recreate_dep",
68         "thbuffer.no_rebind_tex2d_rgb_depth_component16");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012626,
71         "dEQP-GLES2.functional.fbo.render.recreate_depthbuffer",
72         ".no_rebind_tex2d_rgb_depth_component16_stencil_index8");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012627,
75         "dEQP-GLES2.functional.fbo.render.recreate_dept",
76         "hbuffer.no_rebind_tex2d_rgba_depth_component16");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012628,
79         "dEQP-GLES2.functional.fbo.render.recreate_depthbuffer",
80         ".no_rebind_tex2d_rgba_depth_component16_stencil_index8");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012629,
83         "dEQP-GLES2.functional.fbo.render.recreate_dept",
84         "hbuffer.no_rebind_rbo_rgb565_depth_component16");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012630,
87         "dEQP-GLES2.functional.fbo.render.recreate_depthbuffer",
88         ".no_rebind_rbo_rgb565_depth_component16_stencil_index8");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012631,
91         "dEQP-GLES2.functional.fbo.render.recreate_dept",
92         "hbuffer.no_rebind_rbo_rgb5_a1_depth_component16");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012632,
95         "dEQP-GLES2.functional.fbo.render.recreate_depthbuffer.",
96         "no_rebind_rbo_rgb5_a1_depth_component16_stencil_index8");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012633,
99         "dEQP-GLES2.functional.fbo.render.recreate_dep",
100         "thbuffer.no_rebind_rbo_rgba4_depth_component16");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012634,
103         "dEQP-GLES2.functional.fbo.render.recreate_depthbuffer",
104         ".no_rebind_rbo_rgba4_depth_component16_stencil_index8");
105