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 "../ActsDeqpgles30001TestSuite.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(ActsDeqpgles30001TestSuite, TestCase_000417, 27 "dEQP-GLES3.functional.buffer.map.w", 28 "rite.usage_hints.array_stream_draw"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000418, 31 "dEQP-GLES3.functional.buffer.map.w", 32 "rite.usage_hints.array_stream_read"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000419, 35 "dEQP-GLES3.functional.buffer.map.w", 36 "rite.usage_hints.array_stream_copy"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000420, 39 "dEQP-GLES3.functional.buffer.map.w", 40 "rite.usage_hints.array_static_draw"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000421, 43 "dEQP-GLES3.functional.buffer.map.w", 44 "rite.usage_hints.array_static_read"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000422, 47 "dEQP-GLES3.functional.buffer.map.w", 48 "rite.usage_hints.array_static_copy"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000423, 51 "dEQP-GLES3.functional.buffer.map.w", 52 "rite.usage_hints.array_dynamic_draw"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000424, 55 "dEQP-GLES3.functional.buffer.map.w", 56 "rite.usage_hints.array_dynamic_read"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000425, 59 "dEQP-GLES3.functional.buffer.map.w", 60 "rite.usage_hints.array_dynamic_copy"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000426, 63 "dEQP-GLES3.functional.buffer.map.wri", 64 "te.usage_hints.copy_read_stream_draw"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000427, 67 "dEQP-GLES3.functional.buffer.map.wri", 68 "te.usage_hints.copy_read_stream_read"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000428, 71 "dEQP-GLES3.functional.buffer.map.wri", 72 "te.usage_hints.copy_read_stream_copy"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000429, 75 "dEQP-GLES3.functional.buffer.map.wri", 76 "te.usage_hints.copy_read_static_draw"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000430, 79 "dEQP-GLES3.functional.buffer.map.wri", 80 "te.usage_hints.copy_read_static_read"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000431, 83 "dEQP-GLES3.functional.buffer.map.wri", 84 "te.usage_hints.copy_read_static_copy"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000432, 87 "dEQP-GLES3.functional.buffer.map.wri", 88 "te.usage_hints.copy_read_dynamic_draw"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000433, 91 "dEQP-GLES3.functional.buffer.map.wri", 92 "te.usage_hints.copy_read_dynamic_read"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000434, 95 "dEQP-GLES3.functional.buffer.map.wri", 96 "te.usage_hints.copy_read_dynamic_copy"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000435, 99 "dEQP-GLES3.functional.buffer.map.wri", 100 "te.usage_hints.copy_write_stream_draw"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000436, 103 "dEQP-GLES3.functional.buffer.map.wri", 104 "te.usage_hints.copy_write_stream_read"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000437, 107 "dEQP-GLES3.functional.buffer.map.wri", 108 "te.usage_hints.copy_write_stream_copy"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000438, 111 "dEQP-GLES3.functional.buffer.map.wri", 112 "te.usage_hints.copy_write_static_draw"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000439, 115 "dEQP-GLES3.functional.buffer.map.wri", 116 "te.usage_hints.copy_write_static_read"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000440, 119 "dEQP-GLES3.functional.buffer.map.wri", 120 "te.usage_hints.copy_write_static_copy"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000441, 123 "dEQP-GLES3.functional.buffer.map.writ", 124 "e.usage_hints.copy_write_dynamic_draw"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000442, 127 "dEQP-GLES3.functional.buffer.map.writ", 128 "e.usage_hints.copy_write_dynamic_read"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000443, 131 "dEQP-GLES3.functional.buffer.map.writ", 132 "e.usage_hints.copy_write_dynamic_copy"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000444, 135 "dEQP-GLES3.functional.buffer.map.write", 136 ".usage_hints.element_array_stream_draw"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000445, 139 "dEQP-GLES3.functional.buffer.map.write", 140 ".usage_hints.element_array_stream_read"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000446, 143 "dEQP-GLES3.functional.buffer.map.write", 144 ".usage_hints.element_array_stream_copy"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000447, 147 "dEQP-GLES3.functional.buffer.map.write", 148 ".usage_hints.element_array_static_draw"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000448, 151 "dEQP-GLES3.functional.buffer.map.write", 152 ".usage_hints.element_array_static_read"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000449, 155 "dEQP-GLES3.functional.buffer.map.write", 156 ".usage_hints.element_array_static_copy"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000450, 159 "dEQP-GLES3.functional.buffer.map.write", 160 ".usage_hints.element_array_dynamic_draw"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000451, 163 "dEQP-GLES3.functional.buffer.map.write", 164 ".usage_hints.element_array_dynamic_read"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000452, 167 "dEQP-GLES3.functional.buffer.map.write", 168 ".usage_hints.element_array_dynamic_copy"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000453, 171 "dEQP-GLES3.functional.buffer.map.wri", 172 "te.usage_hints.pixel_pack_stream_draw"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000454, 175 "dEQP-GLES3.functional.buffer.map.wri", 176 "te.usage_hints.pixel_pack_stream_read"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000455, 179 "dEQP-GLES3.functional.buffer.map.wri", 180 "te.usage_hints.pixel_pack_stream_copy"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000456, 183 "dEQP-GLES3.functional.buffer.map.wri", 184 "te.usage_hints.pixel_pack_static_draw"); 185 186 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000457, 187 "dEQP-GLES3.functional.buffer.map.wri", 188 "te.usage_hints.pixel_pack_static_read"); 189 190 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000458, 191 "dEQP-GLES3.functional.buffer.map.wri", 192 "te.usage_hints.pixel_pack_static_copy"); 193 194 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000459, 195 "dEQP-GLES3.functional.buffer.map.writ", 196 "e.usage_hints.pixel_pack_dynamic_draw"); 197 198 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000460, 199 "dEQP-GLES3.functional.buffer.map.writ", 200 "e.usage_hints.pixel_pack_dynamic_read"); 201 202 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000461, 203 "dEQP-GLES3.functional.buffer.map.writ", 204 "e.usage_hints.pixel_pack_dynamic_copy"); 205 206 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000462, 207 "dEQP-GLES3.functional.buffer.map.writ", 208 "e.usage_hints.pixel_unpack_stream_draw"); 209 210 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000463, 211 "dEQP-GLES3.functional.buffer.map.writ", 212 "e.usage_hints.pixel_unpack_stream_read"); 213 214 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000464, 215 "dEQP-GLES3.functional.buffer.map.writ", 216 "e.usage_hints.pixel_unpack_stream_copy"); 217 218 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000465, 219 "dEQP-GLES3.functional.buffer.map.writ", 220 "e.usage_hints.pixel_unpack_static_draw"); 221 222 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000466, 223 "dEQP-GLES3.functional.buffer.map.writ", 224 "e.usage_hints.pixel_unpack_static_read"); 225 226 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000467, 227 "dEQP-GLES3.functional.buffer.map.writ", 228 "e.usage_hints.pixel_unpack_static_copy"); 229 230 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000468, 231 "dEQP-GLES3.functional.buffer.map.write", 232 ".usage_hints.pixel_unpack_dynamic_draw"); 233 234 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000469, 235 "dEQP-GLES3.functional.buffer.map.write", 236 ".usage_hints.pixel_unpack_dynamic_read"); 237 238 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000470, 239 "dEQP-GLES3.functional.buffer.map.write", 240 ".usage_hints.pixel_unpack_dynamic_copy"); 241 242 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000471, 243 "dEQP-GLES3.functional.buffer.map.write.u", 244 "sage_hints.transform_feedback_stream_draw"); 245 246 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000472, 247 "dEQP-GLES3.functional.buffer.map.write.u", 248 "sage_hints.transform_feedback_stream_read"); 249 250 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000473, 251 "dEQP-GLES3.functional.buffer.map.write.u", 252 "sage_hints.transform_feedback_stream_copy"); 253 254 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000474, 255 "dEQP-GLES3.functional.buffer.map.write.u", 256 "sage_hints.transform_feedback_static_draw"); 257 258 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000475, 259 "dEQP-GLES3.functional.buffer.map.write.u", 260 "sage_hints.transform_feedback_static_read"); 261 262 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000476, 263 "dEQP-GLES3.functional.buffer.map.write.u", 264 "sage_hints.transform_feedback_static_copy"); 265 266 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000477, 267 "dEQP-GLES3.functional.buffer.map.write.us", 268 "age_hints.transform_feedback_dynamic_draw"); 269 270 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000478, 271 "dEQP-GLES3.functional.buffer.map.write.us", 272 "age_hints.transform_feedback_dynamic_read"); 273 274 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000479, 275 "dEQP-GLES3.functional.buffer.map.write.us", 276 "age_hints.transform_feedback_dynamic_copy"); 277 278 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000480, 279 "dEQP-GLES3.functional.buffer.map.wr", 280 "ite.usage_hints.uniform_stream_draw"); 281 282 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000481, 283 "dEQP-GLES3.functional.buffer.map.wr", 284 "ite.usage_hints.uniform_stream_read"); 285 286 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000482, 287 "dEQP-GLES3.functional.buffer.map.wr", 288 "ite.usage_hints.uniform_stream_copy"); 289 290 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000483, 291 "dEQP-GLES3.functional.buffer.map.wr", 292 "ite.usage_hints.uniform_static_draw"); 293 294 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000484, 295 "dEQP-GLES3.functional.buffer.map.wr", 296 "ite.usage_hints.uniform_static_read"); 297 298 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000485, 299 "dEQP-GLES3.functional.buffer.map.wr", 300 "ite.usage_hints.uniform_static_copy"); 301 302 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000486, 303 "dEQP-GLES3.functional.buffer.map.wr", 304 "ite.usage_hints.uniform_dynamic_draw"); 305 306 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000487, 307 "dEQP-GLES3.functional.buffer.map.wr", 308 "ite.usage_hints.uniform_dynamic_read"); 309 310 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000488, 311 "dEQP-GLES3.functional.buffer.map.wr", 312 "ite.usage_hints.uniform_dynamic_copy"); 313