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_000593, 27 "dEQP-GLES3.functional.buffer.map.rea", 28 "d_write.usage_hints.array_stream_draw"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000594, 31 "dEQP-GLES3.functional.buffer.map.rea", 32 "d_write.usage_hints.array_stream_read"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000595, 35 "dEQP-GLES3.functional.buffer.map.rea", 36 "d_write.usage_hints.array_stream_copy"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000596, 39 "dEQP-GLES3.functional.buffer.map.rea", 40 "d_write.usage_hints.array_static_draw"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000597, 43 "dEQP-GLES3.functional.buffer.map.rea", 44 "d_write.usage_hints.array_static_read"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000598, 47 "dEQP-GLES3.functional.buffer.map.rea", 48 "d_write.usage_hints.array_static_copy"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000599, 51 "dEQP-GLES3.functional.buffer.map.read", 52 "_write.usage_hints.array_dynamic_draw"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000600, 55 "dEQP-GLES3.functional.buffer.map.read", 56 "_write.usage_hints.array_dynamic_read"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000601, 59 "dEQP-GLES3.functional.buffer.map.read", 60 "_write.usage_hints.array_dynamic_copy"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000602, 63 "dEQP-GLES3.functional.buffer.map.read_", 64 "write.usage_hints.copy_read_stream_draw"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000603, 67 "dEQP-GLES3.functional.buffer.map.read_", 68 "write.usage_hints.copy_read_stream_read"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000604, 71 "dEQP-GLES3.functional.buffer.map.read_", 72 "write.usage_hints.copy_read_stream_copy"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000605, 75 "dEQP-GLES3.functional.buffer.map.read_", 76 "write.usage_hints.copy_read_static_draw"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000606, 79 "dEQP-GLES3.functional.buffer.map.read_", 80 "write.usage_hints.copy_read_static_read"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000607, 83 "dEQP-GLES3.functional.buffer.map.read_", 84 "write.usage_hints.copy_read_static_copy"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000608, 87 "dEQP-GLES3.functional.buffer.map.read_w", 88 "rite.usage_hints.copy_read_dynamic_draw"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000609, 91 "dEQP-GLES3.functional.buffer.map.read_w", 92 "rite.usage_hints.copy_read_dynamic_read"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000610, 95 "dEQP-GLES3.functional.buffer.map.read_w", 96 "rite.usage_hints.copy_read_dynamic_copy"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000611, 99 "dEQP-GLES3.functional.buffer.map.read_w", 100 "rite.usage_hints.copy_write_stream_draw"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000612, 103 "dEQP-GLES3.functional.buffer.map.read_w", 104 "rite.usage_hints.copy_write_stream_read"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000613, 107 "dEQP-GLES3.functional.buffer.map.read_w", 108 "rite.usage_hints.copy_write_stream_copy"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000614, 111 "dEQP-GLES3.functional.buffer.map.read_w", 112 "rite.usage_hints.copy_write_static_draw"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000615, 115 "dEQP-GLES3.functional.buffer.map.read_w", 116 "rite.usage_hints.copy_write_static_read"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000616, 119 "dEQP-GLES3.functional.buffer.map.read_w", 120 "rite.usage_hints.copy_write_static_copy"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000617, 123 "dEQP-GLES3.functional.buffer.map.read_w", 124 "rite.usage_hints.copy_write_dynamic_draw"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000618, 127 "dEQP-GLES3.functional.buffer.map.read_w", 128 "rite.usage_hints.copy_write_dynamic_read"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000619, 131 "dEQP-GLES3.functional.buffer.map.read_w", 132 "rite.usage_hints.copy_write_dynamic_copy"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000620, 135 "dEQP-GLES3.functional.buffer.map.read_wr", 136 "ite.usage_hints.element_array_stream_draw"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000621, 139 "dEQP-GLES3.functional.buffer.map.read_wr", 140 "ite.usage_hints.element_array_stream_read"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000622, 143 "dEQP-GLES3.functional.buffer.map.read_wr", 144 "ite.usage_hints.element_array_stream_copy"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000623, 147 "dEQP-GLES3.functional.buffer.map.read_wr", 148 "ite.usage_hints.element_array_static_draw"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000624, 151 "dEQP-GLES3.functional.buffer.map.read_wr", 152 "ite.usage_hints.element_array_static_read"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000625, 155 "dEQP-GLES3.functional.buffer.map.read_wr", 156 "ite.usage_hints.element_array_static_copy"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000626, 159 "dEQP-GLES3.functional.buffer.map.read_wri", 160 "te.usage_hints.element_array_dynamic_draw"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000627, 163 "dEQP-GLES3.functional.buffer.map.read_wri", 164 "te.usage_hints.element_array_dynamic_read"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000628, 167 "dEQP-GLES3.functional.buffer.map.read_wri", 168 "te.usage_hints.element_array_dynamic_copy"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000629, 171 "dEQP-GLES3.functional.buffer.map.read_w", 172 "rite.usage_hints.pixel_pack_stream_draw"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000630, 175 "dEQP-GLES3.functional.buffer.map.read_w", 176 "rite.usage_hints.pixel_pack_stream_read"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000631, 179 "dEQP-GLES3.functional.buffer.map.read_w", 180 "rite.usage_hints.pixel_pack_stream_copy"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000632, 183 "dEQP-GLES3.functional.buffer.map.read_w", 184 "rite.usage_hints.pixel_pack_static_draw"); 185 186 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000633, 187 "dEQP-GLES3.functional.buffer.map.read_w", 188 "rite.usage_hints.pixel_pack_static_read"); 189 190 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000634, 191 "dEQP-GLES3.functional.buffer.map.read_w", 192 "rite.usage_hints.pixel_pack_static_copy"); 193 194 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000635, 195 "dEQP-GLES3.functional.buffer.map.read_w", 196 "rite.usage_hints.pixel_pack_dynamic_draw"); 197 198 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000636, 199 "dEQP-GLES3.functional.buffer.map.read_w", 200 "rite.usage_hints.pixel_pack_dynamic_read"); 201 202 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000637, 203 "dEQP-GLES3.functional.buffer.map.read_w", 204 "rite.usage_hints.pixel_pack_dynamic_copy"); 205 206 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000638, 207 "dEQP-GLES3.functional.buffer.map.read_wr", 208 "ite.usage_hints.pixel_unpack_stream_draw"); 209 210 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000639, 211 "dEQP-GLES3.functional.buffer.map.read_wr", 212 "ite.usage_hints.pixel_unpack_stream_read"); 213 214 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000640, 215 "dEQP-GLES3.functional.buffer.map.read_wr", 216 "ite.usage_hints.pixel_unpack_stream_copy"); 217 218 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000641, 219 "dEQP-GLES3.functional.buffer.map.read_wr", 220 "ite.usage_hints.pixel_unpack_static_draw"); 221 222 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000642, 223 "dEQP-GLES3.functional.buffer.map.read_wr", 224 "ite.usage_hints.pixel_unpack_static_read"); 225 226 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000643, 227 "dEQP-GLES3.functional.buffer.map.read_wr", 228 "ite.usage_hints.pixel_unpack_static_copy"); 229 230 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000644, 231 "dEQP-GLES3.functional.buffer.map.read_wr", 232 "ite.usage_hints.pixel_unpack_dynamic_draw"); 233 234 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000645, 235 "dEQP-GLES3.functional.buffer.map.read_wr", 236 "ite.usage_hints.pixel_unpack_dynamic_read"); 237 238 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000646, 239 "dEQP-GLES3.functional.buffer.map.read_wr", 240 "ite.usage_hints.pixel_unpack_dynamic_copy"); 241 242 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000647, 243 "dEQP-GLES3.functional.buffer.map.read_write", 244 ".usage_hints.transform_feedback_stream_draw"); 245 246 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000648, 247 "dEQP-GLES3.functional.buffer.map.read_write", 248 ".usage_hints.transform_feedback_stream_read"); 249 250 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000649, 251 "dEQP-GLES3.functional.buffer.map.read_write", 252 ".usage_hints.transform_feedback_stream_copy"); 253 254 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000650, 255 "dEQP-GLES3.functional.buffer.map.read_write", 256 ".usage_hints.transform_feedback_static_draw"); 257 258 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000651, 259 "dEQP-GLES3.functional.buffer.map.read_write", 260 ".usage_hints.transform_feedback_static_read"); 261 262 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000652, 263 "dEQP-GLES3.functional.buffer.map.read_write", 264 ".usage_hints.transform_feedback_static_copy"); 265 266 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000653, 267 "dEQP-GLES3.functional.buffer.map.read_write", 268 ".usage_hints.transform_feedback_dynamic_draw"); 269 270 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000654, 271 "dEQP-GLES3.functional.buffer.map.read_write", 272 ".usage_hints.transform_feedback_dynamic_read"); 273 274 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000655, 275 "dEQP-GLES3.functional.buffer.map.read_write", 276 ".usage_hints.transform_feedback_dynamic_copy"); 277 278 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000656, 279 "dEQP-GLES3.functional.buffer.map.read", 280 "_write.usage_hints.uniform_stream_draw"); 281 282 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000657, 283 "dEQP-GLES3.functional.buffer.map.read", 284 "_write.usage_hints.uniform_stream_read"); 285 286 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000658, 287 "dEQP-GLES3.functional.buffer.map.read", 288 "_write.usage_hints.uniform_stream_copy"); 289 290 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000659, 291 "dEQP-GLES3.functional.buffer.map.read", 292 "_write.usage_hints.uniform_static_draw"); 293 294 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000660, 295 "dEQP-GLES3.functional.buffer.map.read", 296 "_write.usage_hints.uniform_static_read"); 297 298 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000661, 299 "dEQP-GLES3.functional.buffer.map.read", 300 "_write.usage_hints.uniform_static_copy"); 301 302 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000662, 303 "dEQP-GLES3.functional.buffer.map.read_", 304 "write.usage_hints.uniform_dynamic_draw"); 305 306 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000663, 307 "dEQP-GLES3.functional.buffer.map.read_", 308 "write.usage_hints.uniform_dynamic_read"); 309 310 static SHRINK_HWTEST_F(ActsDeqpgles30001TestSuite, TestCase_000664, 311 "dEQP-GLES3.functional.buffer.map.read_", 312 "write.usage_hints.uniform_dynamic_copy"); 313