1f6603c60Sopenharmony_ci/* 2f6603c60Sopenharmony_ci * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. 3f6603c60Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 4f6603c60Sopenharmony_ci * you may not use this file except in compliance with the License. 5f6603c60Sopenharmony_ci * You may obtain a copy of the License at 6f6603c60Sopenharmony_ci * 7f6603c60Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 8f6603c60Sopenharmony_ci * 9f6603c60Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 10f6603c60Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 11f6603c60Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12f6603c60Sopenharmony_ci * See the License for the specific language governing permissions and 13f6603c60Sopenharmony_ci * limitations under the License. 14f6603c60Sopenharmony_ci */ 15f6603c60Sopenharmony_ci 16f6603c60Sopenharmony_ci#include <climits> 17f6603c60Sopenharmony_ci#include <gtest/gtest.h> 18f6603c60Sopenharmony_ci#include "../Deqpgles3BaseFunc.h" 19f6603c60Sopenharmony_ci#include "../ActsDeqpgles30026TestSuite.h" 20f6603c60Sopenharmony_ci#include "shrinkdefine.h" 21f6603c60Sopenharmony_ci 22f6603c60Sopenharmony_ciusing namespace std; 23f6603c60Sopenharmony_ciusing namespace testing::ext; 24f6603c60Sopenharmony_ciusing namespace OHOS; 25f6603c60Sopenharmony_ci 26f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025027, 27f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture", 28f6603c60Sopenharmony_ci ".mipmap.2d.generate.a8_fastest"); 29f6603c60Sopenharmony_ci 30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025028, 31f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture", 32f6603c60Sopenharmony_ci ".mipmap.2d.generate.a8_nicest"); 33f6603c60Sopenharmony_ci 34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025029, 35f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mi", 36f6603c60Sopenharmony_ci "pmap.2d.generate.a8_npot_fastest"); 37f6603c60Sopenharmony_ci 38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025030, 39f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.m", 40f6603c60Sopenharmony_ci "ipmap.2d.generate.a8_npot_nicest"); 41f6603c60Sopenharmony_ci 42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025031, 43f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipma", 44f6603c60Sopenharmony_ci "p.2d.generate.a8_non_square_fastest"); 45f6603c60Sopenharmony_ci 46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025032, 47f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipm", 48f6603c60Sopenharmony_ci "ap.2d.generate.a8_non_square_nicest"); 49f6603c60Sopenharmony_ci 50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025033, 51f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture", 52f6603c60Sopenharmony_ci ".mipmap.2d.generate.l8_fastest"); 53f6603c60Sopenharmony_ci 54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025034, 55f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture", 56f6603c60Sopenharmony_ci ".mipmap.2d.generate.l8_nicest"); 57f6603c60Sopenharmony_ci 58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025035, 59f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mi", 60f6603c60Sopenharmony_ci "pmap.2d.generate.l8_npot_fastest"); 61f6603c60Sopenharmony_ci 62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025036, 63f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.m", 64f6603c60Sopenharmony_ci "ipmap.2d.generate.l8_npot_nicest"); 65f6603c60Sopenharmony_ci 66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025037, 67f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipma", 68f6603c60Sopenharmony_ci "p.2d.generate.l8_non_square_fastest"); 69f6603c60Sopenharmony_ci 70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025038, 71f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipm", 72f6603c60Sopenharmony_ci "ap.2d.generate.l8_non_square_nicest"); 73f6603c60Sopenharmony_ci 74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025039, 75f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.", 76f6603c60Sopenharmony_ci "mipmap.2d.generate.la88_fastest"); 77f6603c60Sopenharmony_ci 78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025040, 79f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.", 80f6603c60Sopenharmony_ci "mipmap.2d.generate.la88_nicest"); 81f6603c60Sopenharmony_ci 82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025041, 83f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mip", 84f6603c60Sopenharmony_ci "map.2d.generate.la88_npot_fastest"); 85f6603c60Sopenharmony_ci 86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025042, 87f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mi", 88f6603c60Sopenharmony_ci "pmap.2d.generate.la88_npot_nicest"); 89f6603c60Sopenharmony_ci 90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025043, 91f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipmap", 92f6603c60Sopenharmony_ci ".2d.generate.la88_non_square_fastest"); 93f6603c60Sopenharmony_ci 94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025044, 95f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipma", 96f6603c60Sopenharmony_ci "p.2d.generate.la88_non_square_nicest"); 97f6603c60Sopenharmony_ci 98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025045, 99f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.m", 100f6603c60Sopenharmony_ci "ipmap.2d.generate.rgb565_fastest"); 101f6603c60Sopenharmony_ci 102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025046, 103f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.m", 104f6603c60Sopenharmony_ci "ipmap.2d.generate.rgb565_nicest"); 105f6603c60Sopenharmony_ci 106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025047, 107f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipm", 108f6603c60Sopenharmony_ci "ap.2d.generate.rgb565_npot_fastest"); 109f6603c60Sopenharmony_ci 110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025048, 111f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mip", 112f6603c60Sopenharmony_ci "map.2d.generate.rgb565_npot_nicest"); 113f6603c60Sopenharmony_ci 114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025049, 115f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipmap.", 116f6603c60Sopenharmony_ci "2d.generate.rgb565_non_square_fastest"); 117f6603c60Sopenharmony_ci 118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025050, 119f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipmap", 120f6603c60Sopenharmony_ci ".2d.generate.rgb565_non_square_nicest"); 121f6603c60Sopenharmony_ci 122f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025051, 123f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.m", 124f6603c60Sopenharmony_ci "ipmap.2d.generate.rgb888_fastest"); 125f6603c60Sopenharmony_ci 126f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025052, 127f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.m", 128f6603c60Sopenharmony_ci "ipmap.2d.generate.rgb888_nicest"); 129f6603c60Sopenharmony_ci 130f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025053, 131f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipm", 132f6603c60Sopenharmony_ci "ap.2d.generate.rgb888_npot_fastest"); 133f6603c60Sopenharmony_ci 134f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025054, 135f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mip", 136f6603c60Sopenharmony_ci "map.2d.generate.rgb888_npot_nicest"); 137f6603c60Sopenharmony_ci 138f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025055, 139f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipmap.", 140f6603c60Sopenharmony_ci "2d.generate.rgb888_non_square_fastest"); 141f6603c60Sopenharmony_ci 142f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025056, 143f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipmap", 144f6603c60Sopenharmony_ci ".2d.generate.rgb888_non_square_nicest"); 145f6603c60Sopenharmony_ci 146f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025057, 147f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mi", 148f6603c60Sopenharmony_ci "pmap.2d.generate.rgba4444_fastest"); 149f6603c60Sopenharmony_ci 150f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025058, 151f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mi", 152f6603c60Sopenharmony_ci "pmap.2d.generate.rgba4444_nicest"); 153f6603c60Sopenharmony_ci 154f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025059, 155f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipma", 156f6603c60Sopenharmony_ci "p.2d.generate.rgba4444_npot_fastest"); 157f6603c60Sopenharmony_ci 158f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025060, 159f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipm", 160f6603c60Sopenharmony_ci "ap.2d.generate.rgba4444_npot_nicest"); 161f6603c60Sopenharmony_ci 162f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025061, 163f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipmap.2", 164f6603c60Sopenharmony_ci "d.generate.rgba4444_non_square_fastest"); 165f6603c60Sopenharmony_ci 166f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025062, 167f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipmap.", 168f6603c60Sopenharmony_ci "2d.generate.rgba4444_non_square_nicest"); 169f6603c60Sopenharmony_ci 170f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025063, 171f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mi", 172f6603c60Sopenharmony_ci "pmap.2d.generate.rgba5551_fastest"); 173f6603c60Sopenharmony_ci 174f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025064, 175f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mi", 176f6603c60Sopenharmony_ci "pmap.2d.generate.rgba5551_nicest"); 177f6603c60Sopenharmony_ci 178f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025065, 179f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipma", 180f6603c60Sopenharmony_ci "p.2d.generate.rgba5551_npot_fastest"); 181f6603c60Sopenharmony_ci 182f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025066, 183f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipm", 184f6603c60Sopenharmony_ci "ap.2d.generate.rgba5551_npot_nicest"); 185f6603c60Sopenharmony_ci 186f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025067, 187f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipmap.2", 188f6603c60Sopenharmony_ci "d.generate.rgba5551_non_square_fastest"); 189f6603c60Sopenharmony_ci 190f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025068, 191f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipmap.", 192f6603c60Sopenharmony_ci "2d.generate.rgba5551_non_square_nicest"); 193f6603c60Sopenharmony_ci 194f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025069, 195f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mi", 196f6603c60Sopenharmony_ci "pmap.2d.generate.rgba8888_fastest"); 197f6603c60Sopenharmony_ci 198f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025070, 199f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mi", 200f6603c60Sopenharmony_ci "pmap.2d.generate.rgba8888_nicest"); 201f6603c60Sopenharmony_ci 202f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025071, 203f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipma", 204f6603c60Sopenharmony_ci "p.2d.generate.rgba8888_npot_fastest"); 205f6603c60Sopenharmony_ci 206f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025072, 207f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipm", 208f6603c60Sopenharmony_ci "ap.2d.generate.rgba8888_npot_nicest"); 209f6603c60Sopenharmony_ci 210f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025073, 211f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipmap.2", 212f6603c60Sopenharmony_ci "d.generate.rgba8888_non_square_fastest"); 213f6603c60Sopenharmony_ci 214f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30026TestSuite, TestCase_025074, 215f6603c60Sopenharmony_ci "dEQP-GLES3.functional.texture.mipmap.", 216f6603c60Sopenharmony_ci "2d.generate.rgba8888_non_square_nicest"); 217