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 "../Deqpgles31BaseFunc.h" 19 #include "../ActsDeqpgles310016TestSuite.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(ActsDeqpgles310016TestSuite, TestCase_015985, 27 "dEQP-GLES31.functional.state_query.in", 28 "ternal_format.renderbuffer.r8_samples"); 29 30 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015986, 31 "dEQP-GLES31.functional.state_query.in", 32 "ternal_format.renderbuffer.rg8_samples"); 33 34 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015987, 35 "dEQP-GLES31.functional.state_query.int", 36 "ernal_format.renderbuffer.rgb8_samples"); 37 38 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015988, 39 "dEQP-GLES31.functional.state_query.inte", 40 "rnal_format.renderbuffer.rgb565_samples"); 41 42 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015989, 43 "dEQP-GLES31.functional.state_query.int", 44 "ernal_format.renderbuffer.rgba4_samples"); 45 46 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015990, 47 "dEQP-GLES31.functional.state_query.inte", 48 "rnal_format.renderbuffer.rgb5_a1_samples"); 49 50 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015991, 51 "dEQP-GLES31.functional.state_query.int", 52 "ernal_format.renderbuffer.rgba8_samples"); 53 54 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015992, 55 "dEQP-GLES31.functional.state_query.inter", 56 "nal_format.renderbuffer.rgb10_a2_samples"); 57 58 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015993, 59 "dEQP-GLES31.functional.state_query.intern", 60 "al_format.renderbuffer.rgb10_a2ui_samples"); 61 62 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015994, 63 "dEQP-GLES31.functional.state_query.interna", 64 "l_format.renderbuffer.srgb8_alpha8_samples"); 65 66 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015995, 67 "dEQP-GLES31.functional.state_query.in", 68 "ternal_format.renderbuffer.r8i_samples"); 69 70 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015996, 71 "dEQP-GLES31.functional.state_query.int", 72 "ernal_format.renderbuffer.r8ui_samples"); 73 74 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015997, 75 "dEQP-GLES31.functional.state_query.int", 76 "ernal_format.renderbuffer.r16i_samples"); 77 78 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015998, 79 "dEQP-GLES31.functional.state_query.int", 80 "ernal_format.renderbuffer.r16ui_samples"); 81 82 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_015999, 83 "dEQP-GLES31.functional.state_query.int", 84 "ernal_format.renderbuffer.r32i_samples"); 85 86 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016000, 87 "dEQP-GLES31.functional.state_query.int", 88 "ernal_format.renderbuffer.r32ui_samples"); 89 90 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016001, 91 "dEQP-GLES31.functional.state_query.int", 92 "ernal_format.renderbuffer.rg8i_samples"); 93 94 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016002, 95 "dEQP-GLES31.functional.state_query.int", 96 "ernal_format.renderbuffer.rg8ui_samples"); 97 98 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016003, 99 "dEQP-GLES31.functional.state_query.int", 100 "ernal_format.renderbuffer.rg16i_samples"); 101 102 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016004, 103 "dEQP-GLES31.functional.state_query.inte", 104 "rnal_format.renderbuffer.rg16ui_samples"); 105 106 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016005, 107 "dEQP-GLES31.functional.state_query.int", 108 "ernal_format.renderbuffer.rg32i_samples"); 109 110 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016006, 111 "dEQP-GLES31.functional.state_query.inte", 112 "rnal_format.renderbuffer.rg32ui_samples"); 113 114 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016007, 115 "dEQP-GLES31.functional.state_query.inte", 116 "rnal_format.renderbuffer.rgba8i_samples"); 117 118 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016008, 119 "dEQP-GLES31.functional.state_query.inte", 120 "rnal_format.renderbuffer.rgba8ui_samples"); 121 122 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016009, 123 "dEQP-GLES31.functional.state_query.inte", 124 "rnal_format.renderbuffer.rgba16i_samples"); 125 126 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016010, 127 "dEQP-GLES31.functional.state_query.inter", 128 "nal_format.renderbuffer.rgba16ui_samples"); 129 130 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016011, 131 "dEQP-GLES31.functional.state_query.inte", 132 "rnal_format.renderbuffer.rgba32i_samples"); 133 134 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016012, 135 "dEQP-GLES31.functional.state_query.inter", 136 "nal_format.renderbuffer.rgba32ui_samples"); 137 138 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016013, 139 "dEQP-GLES31.functional.state_query.int", 140 "ernal_format.renderbuffer.r16f_samples"); 141 142 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016014, 143 "dEQP-GLES31.functional.state_query.int", 144 "ernal_format.renderbuffer.rg16f_samples"); 145 146 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016015, 147 "dEQP-GLES31.functional.state_query.inte", 148 "rnal_format.renderbuffer.rgba16f_samples"); 149 150 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016016, 151 "dEQP-GLES31.functional.state_query.int", 152 "ernal_format.renderbuffer.r32f_samples"); 153 154 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016017, 155 "dEQP-GLES31.functional.state_query.int", 156 "ernal_format.renderbuffer.rg32f_samples"); 157 158 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016018, 159 "dEQP-GLES31.functional.state_query.inte", 160 "rnal_format.renderbuffer.rgba32f_samples"); 161 162 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016019, 163 "dEQP-GLES31.functional.state_query.internal", 164 "_format.renderbuffer.r11f_g11f_b10f_samples"); 165 166 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016020, 167 "dEQP-GLES31.functional.state_query.internal_", 168 "format.renderbuffer.depth_component16_samples"); 169 170 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016021, 171 "dEQP-GLES31.functional.state_query.internal_", 172 "format.renderbuffer.depth_component24_samples"); 173 174 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016022, 175 "dEQP-GLES31.functional.state_query.internal_f", 176 "ormat.renderbuffer.depth_component32f_samples"); 177 178 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016023, 179 "dEQP-GLES31.functional.state_query.internal_", 180 "format.renderbuffer.depth24_stencil8_samples"); 181 182 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016024, 183 "dEQP-GLES31.functional.state_query.internal_", 184 "format.renderbuffer.depth32f_stencil8_samples"); 185 186 static SHRINK_HWTEST_F(ActsDeqpgles310016TestSuite, TestCase_016025, 187 "dEQP-GLES31.functional.state_query.internal", 188 "_format.renderbuffer.stencil_index8_samples"); 189