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, TC003634, "dEQP-EGL.functional.get_frame_tim", 27 "estamps.rgb565_no_depth_no_stencil"); 28 29 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003635, "dEQP-EGL.functional.get_frame_ti", 30 "mestamps.rgb565_no_depth_stencil"); 31 32 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003636, "dEQP-EGL.functional.get_frame_ti", 33 "mestamps.rgb565_depth_no_stencil"); 34 35 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003637, "dEQP-EGL.functional.get_frame_", 36 "timestamps.rgb565_depth_stencil"); 37 38 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003638, "dEQP-EGL.functional.get_frame_tim", 39 "estamps.rgb888_no_depth_no_stencil"); 40 41 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003639, "dEQP-EGL.functional.get_frame_ti", 42 "mestamps.rgb888_no_depth_stencil"); 43 44 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003640, "dEQP-EGL.functional.get_frame_ti", 45 "mestamps.rgb888_depth_no_stencil"); 46 47 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003641, "dEQP-EGL.functional.get_frame_", 48 "timestamps.rgb888_depth_stencil"); 49 50 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003642, "dEQP-EGL.functional.get_frame_time", 51 "stamps.rgba4444_no_depth_no_stencil"); 52 53 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003643, "dEQP-EGL.functional.get_frame_tim", 54 "estamps.rgba4444_no_depth_stencil"); 55 56 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003644, "dEQP-EGL.functional.get_frame_tim", 57 "estamps.rgba4444_depth_no_stencil"); 58 59 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003645, "dEQP-EGL.functional.get_frame_t", 60 "imestamps.rgba4444_depth_stencil"); 61 62 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003646, "dEQP-EGL.functional.get_frame_time", 63 "stamps.rgba5551_no_depth_no_stencil"); 64 65 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003647, "dEQP-EGL.functional.get_frame_tim", 66 "estamps.rgba5551_no_depth_stencil"); 67 68 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003648, "dEQP-EGL.functional.get_frame_tim", 69 "estamps.rgba5551_depth_no_stencil"); 70 71 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003649, "dEQP-EGL.functional.get_frame_t", 72 "imestamps.rgba5551_depth_stencil"); 73 74 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003650, "dEQP-EGL.functional.get_frame_time", 75 "stamps.rgba8888_no_depth_no_stencil"); 76 77 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003651, "dEQP-EGL.functional.get_frame_tim", 78 "estamps.rgba8888_no_depth_stencil"); 79 80 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003652, "dEQP-EGL.functional.get_frame_tim", 81 "estamps.rgba8888_depth_no_stencil"); 82 83 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003653, "dEQP-EGL.functional.get_frame_t", 84 "imestamps.rgba8888_depth_stencil"); 85 86 static SHRINK_HWTEST_F(ActsEgl0001TS, TC003654, "dEQP-EGL.functional.get_frame_time", 87 "stamps.other"); 88