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 "../Khrgles2BaseFunc.h" 19 #include "../ActsKhrgles20001TestSuite.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(ActsKhrgles20001TestSuite, TestCase_000463, 27 "KHR-GLES2.core.internalf", 28 "ormat.renderbuffer.rgba8"); 29 30 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000464, 31 "KHR-GLES2.core.internal", 32 "format.renderbuffer.rgb8"); 33 34 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000465, 35 "KHR-GLES2.core.internalformat.", 36 "renderbuffer.stencil_index1_oes"); 37 38 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000466, 39 "KHR-GLES2.core.internalformat.", 40 "renderbuffer.stencil_index4_oes"); 41 42 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000467, 43 "KHR-GLES2.core.internalforma", 44 "t.renderbuffer.stencil_index8"); 45 46 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000468, 47 "KHR-GLES2.core.internalformat.", 48 "renderbuffer.depth_component16"); 49 50 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000469, 51 "KHR-GLES2.core.internalformat.", 52 "renderbuffer.depth_component24"); 53 54 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000470, 55 "KHR-GLES2.core.internalformat.", 56 "renderbuffer.depth_component32"); 57 58 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000471, 59 "KHR-GLES2.core.internalformat", 60 ".renderbuffer.depth24_stencil8"); 61 62 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000472, 63 "KHR-GLES2.core.internalfo", 64 "rmat.renderbuffer.rgb5_a1"); 65