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_000015, 27 "KHR-GLES2.texture_3d.filte", 28 "ring.formats.rgba8_nearest"); 29 30 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000016, 31 "KHR-GLES2.texture_3d.filt", 32 "ering.formats.rgba8_linear"); 33 34 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000017, 35 "KHR-GLES2.texture_3d.filtering.fo", 36 "rmats.rgba8_nearest_mipmap_nearest"); 37 38 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000018, 39 "KHR-GLES2.texture_3d.filtering.fo", 40 "rmats.rgba8_linear_mipmap_nearest"); 41 42 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000019, 43 "KHR-GLES2.texture_3d.filtering.fo", 44 "rmats.rgba8_nearest_mipmap_linear"); 45 46 static SHRINK_HWTEST_F(ActsKhrgles20001TestSuite, TestCase_000020, 47 "KHR-GLES2.texture_3d.filtering.f", 48 "ormats.rgba8_linear_mipmap_linear"); 49