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 "../ActsDeqpgles30032TestSuite.h" 20#include "shrinkdefine.h" 21 22using namespace std; 23using namespace testing::ext; 24using namespace OHOS; 25 26static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031928, 27 "dEQP-GLES3.functional.fbo.color.r", 28 "epeated_clear.sample.tex2d.rgba32i"); 29 30static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031929, 31 "dEQP-GLES3.functional.fbo.color.re", 32 "peated_clear.sample.tex2d.rgba32ui"); 33 34static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031930, 35 "dEQP-GLES3.functional.fbo.color.r", 36 "epeated_clear.sample.tex2d.rgba16i"); 37 38static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031931, 39 "dEQP-GLES3.functional.fbo.color.re", 40 "peated_clear.sample.tex2d.rgba16ui"); 41 42static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031932, 43 "dEQP-GLES3.functional.fbo.color.", 44 "repeated_clear.sample.tex2d.rgba8"); 45 46static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031933, 47 "dEQP-GLES3.functional.fbo.color.r", 48 "epeated_clear.sample.tex2d.rgba8i"); 49 50static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031934, 51 "dEQP-GLES3.functional.fbo.color.r", 52 "epeated_clear.sample.tex2d.rgba8ui"); 53 54static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031935, 55 "dEQP-GLES3.functional.fbo.color.repe", 56 "ated_clear.sample.tex2d.srgb8_alpha8"); 57 58static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031936, 59 "dEQP-GLES3.functional.fbo.color.re", 60 "peated_clear.sample.tex2d.rgb10_a2"); 61 62static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031937, 63 "dEQP-GLES3.functional.fbo.color.rep", 64 "eated_clear.sample.tex2d.rgb10_a2ui"); 65 66static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031938, 67 "dEQP-GLES3.functional.fbo.color.", 68 "repeated_clear.sample.tex2d.rgba4"); 69 70static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031939, 71 "dEQP-GLES3.functional.fbo.color.r", 72 "epeated_clear.sample.tex2d.rgb5_a1"); 73 74static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031940, 75 "dEQP-GLES3.functional.fbo.color.", 76 "repeated_clear.sample.tex2d.rgb8"); 77 78static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031941, 79 "dEQP-GLES3.functional.fbo.color.r", 80 "epeated_clear.sample.tex2d.rgb565"); 81 82static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031942, 83 "dEQP-GLES3.functional.fbo.color.", 84 "repeated_clear.sample.tex2d.rg32i"); 85 86static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031943, 87 "dEQP-GLES3.functional.fbo.color.r", 88 "epeated_clear.sample.tex2d.rg32ui"); 89 90static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031944, 91 "dEQP-GLES3.functional.fbo.color.", 92 "repeated_clear.sample.tex2d.rg16i"); 93 94static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031945, 95 "dEQP-GLES3.functional.fbo.color.r", 96 "epeated_clear.sample.tex2d.rg16ui"); 97 98static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031946, 99 "dEQP-GLES3.functional.fbo.color", 100 ".repeated_clear.sample.tex2d.rg8"); 101 102static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031947, 103 "dEQP-GLES3.functional.fbo.color.", 104 "repeated_clear.sample.tex2d.rg8i"); 105 106static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031948, 107 "dEQP-GLES3.functional.fbo.color.", 108 "repeated_clear.sample.tex2d.rg8ui"); 109 110static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031949, 111 "dEQP-GLES3.functional.fbo.color.", 112 "repeated_clear.sample.tex2d.r32i"); 113 114static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031950, 115 "dEQP-GLES3.functional.fbo.color.", 116 "repeated_clear.sample.tex2d.r32ui"); 117 118static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031951, 119 "dEQP-GLES3.functional.fbo.color.", 120 "repeated_clear.sample.tex2d.r16i"); 121 122static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031952, 123 "dEQP-GLES3.functional.fbo.color.", 124 "repeated_clear.sample.tex2d.r16ui"); 125 126static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031953, 127 "dEQP-GLES3.functional.fbo.color", 128 ".repeated_clear.sample.tex2d.r8"); 129 130static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031954, 131 "dEQP-GLES3.functional.fbo.color", 132 ".repeated_clear.sample.tex2d.r8i"); 133 134static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031955, 135 "dEQP-GLES3.functional.fbo.color.", 136 "repeated_clear.sample.tex2d.r8ui"); 137 138static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031956, 139 "dEQP-GLES3.functional.fbo.color.r", 140 "epeated_clear.sample.tex2d.rgba32f"); 141 142static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031957, 143 "dEQP-GLES3.functional.fbo.color.r", 144 "epeated_clear.sample.tex2d.rgba16f"); 145 146static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031958, 147 "dEQP-GLES3.functional.fbo.color.repea", 148 "ted_clear.sample.tex2d.r11f_g11f_b10f"); 149 150static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031959, 151 "dEQP-GLES3.functional.fbo.color.", 152 "repeated_clear.sample.tex2d.rg32f"); 153 154static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031960, 155 "dEQP-GLES3.functional.fbo.color.", 156 "repeated_clear.sample.tex2d.rg16f"); 157 158static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031961, 159 "dEQP-GLES3.functional.fbo.color.", 160 "repeated_clear.sample.tex2d.r32f"); 161 162static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031962, 163 "dEQP-GLES3.functional.fbo.color.", 164 "repeated_clear.sample.tex2d.r16f"); 165 166static SHRINK_HWTEST_F(ActsDeqpgles30032TestSuite, TestCase_031963, 167 "dEQP-GLES3.functional.fbo.color.r", 168 "epeated_clear.sample.tex2d.rgb16f"); 169