1f6603c60Sopenharmony_ci/* 2f6603c60Sopenharmony_ci * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. 3f6603c60Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 4f6603c60Sopenharmony_ci * you may not use this file except in compliance with the License. 5f6603c60Sopenharmony_ci * You may obtain a copy of the License at 6f6603c60Sopenharmony_ci * 7f6603c60Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 8f6603c60Sopenharmony_ci * 9f6603c60Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 10f6603c60Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 11f6603c60Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12f6603c60Sopenharmony_ci * See the License for the specific language governing permissions and 13f6603c60Sopenharmony_ci * limitations under the License. 14f6603c60Sopenharmony_ci */ 15f6603c60Sopenharmony_ci 16f6603c60Sopenharmony_ci#include <climits> 17f6603c60Sopenharmony_ci#include <gtest/gtest.h> 18f6603c60Sopenharmony_ci#include "../Deqpgles2BaseFunc.h" 19f6603c60Sopenharmony_ci#include "../ActsDeqpgles20013TestSuite.h" 20f6603c60Sopenharmony_ci#include "shrinkdefine.h" 21f6603c60Sopenharmony_ci 22f6603c60Sopenharmony_ciusing namespace std; 23f6603c60Sopenharmony_ciusing namespace testing::ext; 24f6603c60Sopenharmony_ciusing namespace OHOS; 25f6603c60Sopenharmony_ci 26f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012843, 27f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.renderabl", 28f6603c60Sopenharmony_ci "e.texture.stencil.depth_component_unsigned_short"); 29f6603c60Sopenharmony_ci 30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012844, 31f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.renderab", 32f6603c60Sopenharmony_ci "le.texture.stencil.depth_component_unsigned_int"); 33f6603c60Sopenharmony_ci 34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012845, 35f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.re", 36f6603c60Sopenharmony_ci "nderable.texture.stencil.red_unsigned_byte"); 37f6603c60Sopenharmony_ci 38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012846, 39f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completenes", 40f6603c60Sopenharmony_ci "s.renderable.texture.stencil.red_float"); 41f6603c60Sopenharmony_ci 42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012847, 43f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.ren", 44f6603c60Sopenharmony_ci "derable.texture.stencil.red_half_float_oes"); 45f6603c60Sopenharmony_ci 46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012848, 47f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.re", 48f6603c60Sopenharmony_ci "nderable.texture.stencil.rgb_unsigned_byte"); 49f6603c60Sopenharmony_ci 50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012849, 51f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completenes", 52f6603c60Sopenharmony_ci "s.renderable.texture.stencil.rgb_float"); 53f6603c60Sopenharmony_ci 54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012850, 55f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.render", 56f6603c60Sopenharmony_ci "able.texture.stencil.rgb_unsigned_short_5_6_5"); 57f6603c60Sopenharmony_ci 58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012851, 59f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.renderabl", 60f6603c60Sopenharmony_ci "e.texture.stencil.rgb_unsigned_int_2_10_10_10_rev"); 61f6603c60Sopenharmony_ci 62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012852, 63f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.renderable", 64f6603c60Sopenharmony_ci ".texture.stencil.rgb_unsigned_int_10f_11f_11f_rev"); 65f6603c60Sopenharmony_ci 66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012853, 67f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.ren", 68f6603c60Sopenharmony_ci "derable.texture.stencil.rgb_half_float_oes"); 69f6603c60Sopenharmony_ci 70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012854, 71f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.ren", 72f6603c60Sopenharmony_ci "derable.texture.stencil.rgba_unsigned_byte"); 73f6603c60Sopenharmony_ci 74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012855, 75f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness", 76f6603c60Sopenharmony_ci ".renderable.texture.stencil.rgba_float"); 77f6603c60Sopenharmony_ci 78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012856, 79f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.rendera", 80f6603c60Sopenharmony_ci "ble.texture.stencil.rgba_unsigned_short_4_4_4_4"); 81f6603c60Sopenharmony_ci 82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012857, 83f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.rendera", 84f6603c60Sopenharmony_ci "ble.texture.stencil.rgba_unsigned_short_5_5_5_1"); 85f6603c60Sopenharmony_ci 86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012858, 87f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.renderable", 88f6603c60Sopenharmony_ci ".texture.stencil.rgba_unsigned_int_2_10_10_10_rev"); 89f6603c60Sopenharmony_ci 90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012859, 91f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.ren", 92f6603c60Sopenharmony_ci "derable.texture.stencil.rgba_half_float_oes"); 93f6603c60Sopenharmony_ci 94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012860, 95f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completen", 96f6603c60Sopenharmony_ci "ess.renderable.texture.stencil.rgb8"); 97f6603c60Sopenharmony_ci 98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012861, 99f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completen", 100f6603c60Sopenharmony_ci "ess.renderable.texture.stencil.rgb10"); 101f6603c60Sopenharmony_ci 102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012862, 103f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completen", 104f6603c60Sopenharmony_ci "ess.renderable.texture.stencil.rgba4"); 105f6603c60Sopenharmony_ci 106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012863, 107f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completene", 108f6603c60Sopenharmony_ci "ss.renderable.texture.stencil.rgb5_a1"); 109f6603c60Sopenharmony_ci 110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012864, 111f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completen", 112f6603c60Sopenharmony_ci "ess.renderable.texture.stencil.rgba8"); 113f6603c60Sopenharmony_ci 114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012865, 115f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completenes", 116f6603c60Sopenharmony_ci "s.renderable.texture.stencil.rgb10_a2"); 117f6603c60Sopenharmony_ci 118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012866, 119f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.re", 120f6603c60Sopenharmony_ci "nderable.texture.stencil.depth_component16"); 121f6603c60Sopenharmony_ci 122f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012867, 123f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.re", 124f6603c60Sopenharmony_ci "nderable.texture.stencil.depth_component24"); 125f6603c60Sopenharmony_ci 126f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012868, 127f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.re", 128f6603c60Sopenharmony_ci "nderable.texture.stencil.depth_component32"); 129f6603c60Sopenharmony_ci 130f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012869, 131f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.re", 132f6603c60Sopenharmony_ci "nderable.texture.stencil.rg_unsigned_byte"); 133f6603c60Sopenharmony_ci 134f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012870, 135f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completenes", 136f6603c60Sopenharmony_ci "s.renderable.texture.stencil.rg_float"); 137f6603c60Sopenharmony_ci 138f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012871, 139f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.re", 140f6603c60Sopenharmony_ci "nderable.texture.stencil.rg_half_float_oes"); 141f6603c60Sopenharmony_ci 142f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012872, 143f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.complete", 144f6603c60Sopenharmony_ci "ness.renderable.texture.stencil.r8"); 145f6603c60Sopenharmony_ci 146f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012873, 147f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.complete", 148f6603c60Sopenharmony_ci "ness.renderable.texture.stencil.rg8"); 149f6603c60Sopenharmony_ci 150f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012874, 151f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completen", 152f6603c60Sopenharmony_ci "ess.renderable.texture.stencil.r16f"); 153f6603c60Sopenharmony_ci 154f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012875, 155f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completen", 156f6603c60Sopenharmony_ci "ess.renderable.texture.stencil.rg16f"); 157f6603c60Sopenharmony_ci 158f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012876, 159f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.renderabl", 160f6603c60Sopenharmony_ci "e.texture.stencil.depth_stencil_unsigned_int_24_8"); 161f6603c60Sopenharmony_ci 162f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012877, 163f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completene", 164f6603c60Sopenharmony_ci "ss.renderable.texture.stencil.rgba16f"); 165f6603c60Sopenharmony_ci 166f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012878, 167f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completene", 168f6603c60Sopenharmony_ci "ss.renderable.texture.stencil.rgb16f"); 169f6603c60Sopenharmony_ci 170f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012879, 171f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.re", 172f6603c60Sopenharmony_ci "nderable.texture.stencil.depth24_stencil8"); 173f6603c60Sopenharmony_ci 174f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012880, 175f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.r", 176f6603c60Sopenharmony_ci "enderable.texture.stencil.r11f_g11f_b10f"); 177f6603c60Sopenharmony_ci 178f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012881, 179f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.ren", 180f6603c60Sopenharmony_ci "derable.texture.stencil.srgb_unsigned_byte"); 181f6603c60Sopenharmony_ci 182f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012882, 183f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completen", 184f6603c60Sopenharmony_ci "ess.renderable.texture.stencil.srgb8"); 185f6603c60Sopenharmony_ci 186f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012883, 187f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.render", 188f6603c60Sopenharmony_ci "able.texture.stencil.srgb_alpha_unsigned_byte"); 189f6603c60Sopenharmony_ci 190f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012884, 191f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.", 192f6603c60Sopenharmony_ci "renderable.texture.stencil.srgb8_alpha8"); 193f6603c60Sopenharmony_ci 194f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012885, 195f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.r", 196f6603c60Sopenharmony_ci "enderable.texture.stencil.stencil_index8"); 197f6603c60Sopenharmony_ci 198f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012886, 199f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completene", 200f6603c60Sopenharmony_ci "ss.renderable.texture.stencil.rgb565"); 201f6603c60Sopenharmony_ci 202f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012887, 203f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completene", 204f6603c60Sopenharmony_ci "ss.renderable.texture.stencil.sr8_ext"); 205f6603c60Sopenharmony_ci 206f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012888, 207f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completenes", 208f6603c60Sopenharmony_ci "s.renderable.texture.stencil.srg8_ext"); 209