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 "../EglBaseFunc.h"
19 #include "../ActsEgl0001TestSuite.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(ActsEgl0001TS, TC003034, "dEQP-EGL.functional.sur""faceless_c",
27     "ontext.rgb565_no_depth_no_stencil");
28 
29 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003035, "dEQP-EGL.functional.sur""faceless",
30     "_context.rgb565_no_depth_stencil");
31 
32 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003036, "dEQP-EGL.functional.sur""faceless",
33     "_context.rgb565_depth_no_stencil");
34 
35 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003037, "dEQP-EGL.functional.sur""faceles",
36     "s_context.rgb565_depth_stencil");
37 
38 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003038, "dEQP-EGL.functional.sur""faceless_c",
39     "ontext.rgb888_no_depth_no_stencil");
40 
41 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003039, "dEQP-EGL.functional.sur""faceless",
42     "_context.rgb888_no_depth_stencil");
43 
44 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003040, "dEQP-EGL.functional.sur""faceless",
45     "_context.rgb888_depth_no_stencil");
46 
47 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003041, "dEQP-EGL.functional.sur""faceles",
48     "s_context.rgb888_depth_stencil");
49 
50 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003042, "dEQP-EGL.functional.sur""faceless_co",
51     "ntext.rgba4444_no_depth_no_stencil");
52 
53 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003043, "dEQP-EGL.functional.sur""faceless_",
54     "context.rgba4444_no_depth_stencil");
55 
56 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003044, "dEQP-EGL.functional.sur""faceless_",
57     "context.rgba4444_depth_no_stencil");
58 
59 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003045, "dEQP-EGL.functional.sur""faceless",
60     "_context.rgba4444_depth_stencil");
61 
62 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003046, "dEQP-EGL.functional.sur""faceless_co",
63     "ntext.rgba5551_no_depth_no_stencil");
64 
65 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003047, "dEQP-EGL.functional.sur""faceless_",
66     "context.rgba5551_no_depth_stencil");
67 
68 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003048, "dEQP-EGL.functional.sur""faceless_",
69     "context.rgba5551_depth_no_stencil");
70 
71 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003049, "dEQP-EGL.functional.sur""faceless",
72     "_context.rgba5551_depth_stencil");
73 
74 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003050, "dEQP-EGL.functional.sur""faceless_co",
75     "ntext.rgba8888_no_depth_no_stencil");
76 
77 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003051, "dEQP-EGL.functional.sur""faceless_",
78     "context.rgba8888_no_depth_stencil");
79 
80 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003052, "dEQP-EGL.functional.sur""faceless_",
81     "context.rgba8888_depth_no_stencil");
82 
83 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003053, "dEQP-EGL.functional.sur""faceless",
84     "_context.rgba8888_depth_stencil");
85 
86 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003054, "dEQP-EGL.functional.sur""faceless",
87     "_context.other");
88