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 "../ActsDeqpgles30033TestSuite.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(ActsDeqpgles30033TestSuite, TestCase_032811, 27 "dEQP-GLES3.functional.fbo", 28 ".invalidate.format.rgba32i"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032812, 31 "dEQP-GLES3.functional.fbo.", 32 "invalidate.format.rgba32ui"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032813, 35 "dEQP-GLES3.functional.fbo", 36 ".invalidate.format.rgba16i"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032814, 39 "dEQP-GLES3.functional.fbo.", 40 "invalidate.format.rgba16ui"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032815, 43 "dEQP-GLES3.functional.fb", 44 "o.invalidate.format.rgba8"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032816, 47 "dEQP-GLES3.functional.fbo", 48 ".invalidate.format.rgba8i"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032817, 51 "dEQP-GLES3.functional.fbo", 52 ".invalidate.format.rgba8ui"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032818, 55 "dEQP-GLES3.functional.fbo.in", 56 "validate.format.srgb8_alpha8"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032819, 59 "dEQP-GLES3.functional.fbo.", 60 "invalidate.format.rgb10_a2"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032820, 63 "dEQP-GLES3.functional.fbo.i", 64 "nvalidate.format.rgb10_a2ui"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032821, 67 "dEQP-GLES3.functional.fb", 68 "o.invalidate.format.rgba4"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032822, 71 "dEQP-GLES3.functional.fbo", 72 ".invalidate.format.rgb5_a1"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032823, 75 "dEQP-GLES3.functional.fb", 76 "o.invalidate.format.rgb8"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032824, 79 "dEQP-GLES3.functional.fbo", 80 ".invalidate.format.rgb565"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032825, 83 "dEQP-GLES3.functional.fb", 84 "o.invalidate.format.rg32i"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032826, 87 "dEQP-GLES3.functional.fbo", 88 ".invalidate.format.rg32ui"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032827, 91 "dEQP-GLES3.functional.fb", 92 "o.invalidate.format.rg16i"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032828, 95 "dEQP-GLES3.functional.fbo", 96 ".invalidate.format.rg16ui"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032829, 99 "dEQP-GLES3.functional.f", 100 "bo.invalidate.format.rg8"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032830, 103 "dEQP-GLES3.functional.fb", 104 "o.invalidate.format.rg8i"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032831, 107 "dEQP-GLES3.functional.fb", 108 "o.invalidate.format.rg8ui"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032832, 111 "dEQP-GLES3.functional.fb", 112 "o.invalidate.format.r32i"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032833, 115 "dEQP-GLES3.functional.fb", 116 "o.invalidate.format.r32ui"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032834, 119 "dEQP-GLES3.functional.fb", 120 "o.invalidate.format.r16i"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032835, 123 "dEQP-GLES3.functional.fb", 124 "o.invalidate.format.r16ui"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032836, 127 "dEQP-GLES3.functional.f", 128 "bo.invalidate.format.r8"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032837, 131 "dEQP-GLES3.functional.f", 132 "bo.invalidate.format.r8i"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032838, 135 "dEQP-GLES3.functional.fb", 136 "o.invalidate.format.r8ui"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032839, 139 "dEQP-GLES3.functional.fbo", 140 ".invalidate.format.rgba32f"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032840, 143 "dEQP-GLES3.functional.fbo", 144 ".invalidate.format.rgba16f"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032841, 147 "dEQP-GLES3.functional.fbo.inv", 148 "alidate.format.r11f_g11f_b10f"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032842, 151 "dEQP-GLES3.functional.fb", 152 "o.invalidate.format.rg32f"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032843, 155 "dEQP-GLES3.functional.fb", 156 "o.invalidate.format.rg16f"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032844, 159 "dEQP-GLES3.functional.fb", 160 "o.invalidate.format.r32f"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032845, 163 "dEQP-GLES3.functional.fb", 164 "o.invalidate.format.r16f"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032846, 167 "dEQP-GLES3.functional.fbo.inval", 168 "idate.format.depth_component32f"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032847, 171 "dEQP-GLES3.functional.fbo.inva", 172 "lidate.format.depth_component24"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032848, 175 "dEQP-GLES3.functional.fbo.inva", 176 "lidate.format.depth_component16"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032849, 179 "dEQP-GLES3.functional.fbo.inva", 180 "lidate.format.depth32f_stencil8"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032850, 183 "dEQP-GLES3.functional.fbo.inva", 184 "lidate.format.depth24_stencil8"); 185 186 static SHRINK_HWTEST_F(ActsDeqpgles30033TestSuite, TestCase_032851, 187 "dEQP-GLES3.functional.fbo.inv", 188 "alidate.format.stencil_index8"); 189