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, TC003055, "dEQP-EGL.functional.swap_buffers.rgb56", 27 "5_no_depth_no_stencil"); 28 29 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003056, "dEQP-EGL.functional.swap_buffers.rgb56", 30 "5_no_depth_stencil"); 31 32 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003057, "dEQP-EGL.functional.swap_buffers.rgb56", 33 "5_depth_no_stencil"); 34 35 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003058, "dEQP-EGL.functional.swap_buffers.rgb56", 36 "5_depth_stencil"); 37 38 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003059, "dEQP-EGL.functional.swap_buffers.rgb8", 39 "88_no_depth_no_stencil"); 40 41 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003060, "dEQP-EGL.functional.swap_buffers.rgb8", 42 "88_no_depth_stencil"); 43 44 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003061, "dEQP-EGL.functional.swap_buffers.rgb8", 45 "88_depth_no_stencil"); 46 47 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003062, "dEQP-EGL.functional.swap_buffers.rgb", 48 "888_depth_stencil"); 49 50 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003063, "dEQP-EGL.functional.swap_buffe", 51 "rs.rgba4444_no_depth_no_stencil"); 52 53 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003064, "dEQP-EGL.functional.swap_buffers.rgba4", 54 "444_no_depth_stencil"); 55 56 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003065, "dEQP-EGL.functional.swap_buffers.rgba44", 57 "44_depth_no_stencil"); 58 59 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003066, "dEQP-EGL.functional.swap_buffers.rgba44", 60 "44_depth_stencil"); 61 62 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003067, "dEQP-EGL.functional.swap_buffe", 63 "rs.rgba5551_no_depth_no_stencil"); 64 65 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003068, "dEQP-EGL.functional.swap_buffers.rgba55", 66 "51_no_depth_stencil"); 67 68 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003069, "dEQP-EGL.functional.swap_buffers.rgba55", 69 "51_depth_no_stencil"); 70 71 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003070, "dEQP-EGL.functional.swap_buffers.rgba55", 72 "51_depth_stencil"); 73 74 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003071, "dEQP-EGL.functional.swap_buffe", 75 "rs.rgba8888_no_depth_no_stencil"); 76 77 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003072, "dEQP-EGL.functional.swap_buffers.rgba88", 78 "88_no_depth_stencil"); 79 80 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003073, "dEQP-EGL.functional.swap_buffers.rgba88", 81 "88_depth_no_stencil"); 82 83 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003074, "dEQP-EGL.functional.swap_buffers.rgba88", 84 "88_depth_stencil"); 85 86 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003075, "dEQP-EGL.functional.swap_buffe", 87 "rs.other"); 88