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 "../Deqpgles3BaseFunc.h" 19 #include "../ActsDeqpgles30027TestSuite.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(ActsDeqpgles30027TestSuite, TestCase_026109, 27 "dEQP-GLES3.functional.texture.specif", 28 "ication.texsubimage2d_align.2d_r8_1_1"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026110, 31 "dEQP-GLES3.functional.texture.specif", 32 "ication.texsubimage2d_align.2d_r8_1_2"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026111, 35 "dEQP-GLES3.functional.texture.specif", 36 "ication.texsubimage2d_align.2d_r8_1_4"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026112, 39 "dEQP-GLES3.functional.texture.specif", 40 "ication.texsubimage2d_align.2d_r8_1_8"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026113, 43 "dEQP-GLES3.functional.texture.specifi", 44 "cation.texsubimage2d_align.2d_r8_63_1"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026114, 47 "dEQP-GLES3.functional.texture.specifi", 48 "cation.texsubimage2d_align.2d_r8_63_2"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026115, 51 "dEQP-GLES3.functional.texture.specifi", 52 "cation.texsubimage2d_align.2d_r8_63_4"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026116, 55 "dEQP-GLES3.functional.texture.specifi", 56 "cation.texsubimage2d_align.2d_r8_63_8"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026117, 59 "dEQP-GLES3.functional.texture.specific", 60 "ation.texsubimage2d_align.2d_rgba4_51_1"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026118, 63 "dEQP-GLES3.functional.texture.specific", 64 "ation.texsubimage2d_align.2d_rgba4_51_2"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026119, 67 "dEQP-GLES3.functional.texture.specific", 68 "ation.texsubimage2d_align.2d_rgba4_51_4"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026120, 71 "dEQP-GLES3.functional.texture.specific", 72 "ation.texsubimage2d_align.2d_rgba4_51_8"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026121, 75 "dEQP-GLES3.functional.texture.specific", 76 "ation.texsubimage2d_align.2d_rgb8_39_1"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026122, 79 "dEQP-GLES3.functional.texture.specific", 80 "ation.texsubimage2d_align.2d_rgb8_39_2"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026123, 83 "dEQP-GLES3.functional.texture.specific", 84 "ation.texsubimage2d_align.2d_rgb8_39_4"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026124, 87 "dEQP-GLES3.functional.texture.specific", 88 "ation.texsubimage2d_align.2d_rgb8_39_8"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026125, 91 "dEQP-GLES3.functional.texture.specific", 92 "ation.texsubimage2d_align.2d_rgba8_47_1"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026126, 95 "dEQP-GLES3.functional.texture.specific", 96 "ation.texsubimage2d_align.2d_rgba8_47_2"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026127, 99 "dEQP-GLES3.functional.texture.specific", 100 "ation.texsubimage2d_align.2d_rgba8_47_4"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026128, 103 "dEQP-GLES3.functional.texture.specific", 104 "ation.texsubimage2d_align.2d_rgba8_47_8"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026129, 107 "dEQP-GLES3.functional.texture.specifi", 108 "cation.texsubimage2d_align.cube_r8_1_1"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026130, 111 "dEQP-GLES3.functional.texture.specifi", 112 "cation.texsubimage2d_align.cube_r8_1_2"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026131, 115 "dEQP-GLES3.functional.texture.specifi", 116 "cation.texsubimage2d_align.cube_r8_1_4"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026132, 119 "dEQP-GLES3.functional.texture.specifi", 120 "cation.texsubimage2d_align.cube_r8_1_8"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026133, 123 "dEQP-GLES3.functional.texture.specific", 124 "ation.texsubimage2d_align.cube_r8_63_1"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026134, 127 "dEQP-GLES3.functional.texture.specific", 128 "ation.texsubimage2d_align.cube_r8_63_2"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026135, 131 "dEQP-GLES3.functional.texture.specific", 132 "ation.texsubimage2d_align.cube_r8_63_4"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026136, 135 "dEQP-GLES3.functional.texture.specific", 136 "ation.texsubimage2d_align.cube_r8_63_8"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026137, 139 "dEQP-GLES3.functional.texture.specifica", 140 "tion.texsubimage2d_align.cube_rgba4_51_1"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026138, 143 "dEQP-GLES3.functional.texture.specifica", 144 "tion.texsubimage2d_align.cube_rgba4_51_2"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026139, 147 "dEQP-GLES3.functional.texture.specifica", 148 "tion.texsubimage2d_align.cube_rgba4_51_4"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026140, 151 "dEQP-GLES3.functional.texture.specifica", 152 "tion.texsubimage2d_align.cube_rgba4_51_8"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026141, 155 "dEQP-GLES3.functional.texture.specifica", 156 "tion.texsubimage2d_align.cube_rgb8_39_1"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026142, 159 "dEQP-GLES3.functional.texture.specifica", 160 "tion.texsubimage2d_align.cube_rgb8_39_2"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026143, 163 "dEQP-GLES3.functional.texture.specifica", 164 "tion.texsubimage2d_align.cube_rgb8_39_4"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026144, 167 "dEQP-GLES3.functional.texture.specifica", 168 "tion.texsubimage2d_align.cube_rgb8_39_8"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026145, 171 "dEQP-GLES3.functional.texture.specifica", 172 "tion.texsubimage2d_align.cube_rgba8_47_1"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026146, 175 "dEQP-GLES3.functional.texture.specifica", 176 "tion.texsubimage2d_align.cube_rgba8_47_2"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026147, 179 "dEQP-GLES3.functional.texture.specifica", 180 "tion.texsubimage2d_align.cube_rgba8_47_4"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles30027TestSuite, TestCase_026148, 183 "dEQP-GLES3.functional.texture.specifica", 184 "tion.texsubimage2d_align.cube_rgba8_47_8"); 185