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_012889, 27f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.renderab", 28f6603c60Sopenharmony_ci "le.texture.depth.depth_component_unsigned_short"); 29f6603c60Sopenharmony_ci 30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012890, 31f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.rendera", 32f6603c60Sopenharmony_ci "ble.texture.depth.depth_component_unsigned_int"); 33f6603c60Sopenharmony_ci 34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012891, 35f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.r", 36f6603c60Sopenharmony_ci "enderable.texture.depth.red_unsigned_byte"); 37f6603c60Sopenharmony_ci 38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012892, 39f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completene", 40f6603c60Sopenharmony_ci "ss.renderable.texture.depth.red_float"); 41f6603c60Sopenharmony_ci 42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012893, 43f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.re", 44f6603c60Sopenharmony_ci "nderable.texture.depth.red_half_float_oes"); 45f6603c60Sopenharmony_ci 46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012894, 47f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.r", 48f6603c60Sopenharmony_ci "enderable.texture.depth.rgb_unsigned_byte"); 49f6603c60Sopenharmony_ci 50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012895, 51f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completene", 52f6603c60Sopenharmony_ci "ss.renderable.texture.depth.rgb_float"); 53f6603c60Sopenharmony_ci 54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012896, 55f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.rende", 56f6603c60Sopenharmony_ci "rable.texture.depth.rgb_unsigned_short_5_6_5"); 57f6603c60Sopenharmony_ci 58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012897, 59f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.renderab", 60f6603c60Sopenharmony_ci "le.texture.depth.rgb_unsigned_int_2_10_10_10_rev"); 61f6603c60Sopenharmony_ci 62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012898, 63f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.renderabl", 64f6603c60Sopenharmony_ci "e.texture.depth.rgb_unsigned_int_10f_11f_11f_rev"); 65f6603c60Sopenharmony_ci 66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012899, 67f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.re", 68f6603c60Sopenharmony_ci "nderable.texture.depth.rgb_half_float_oes"); 69f6603c60Sopenharmony_ci 70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012900, 71f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.re", 72f6603c60Sopenharmony_ci "nderable.texture.depth.rgba_unsigned_byte"); 73f6603c60Sopenharmony_ci 74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012901, 75f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completenes", 76f6603c60Sopenharmony_ci "s.renderable.texture.depth.rgba_float"); 77f6603c60Sopenharmony_ci 78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012902, 79f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.render", 80f6603c60Sopenharmony_ci "able.texture.depth.rgba_unsigned_short_4_4_4_4"); 81f6603c60Sopenharmony_ci 82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012903, 83f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.render", 84f6603c60Sopenharmony_ci "able.texture.depth.rgba_unsigned_short_5_5_5_1"); 85f6603c60Sopenharmony_ci 86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012904, 87f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.renderabl", 88f6603c60Sopenharmony_ci "e.texture.depth.rgba_unsigned_int_2_10_10_10_rev"); 89f6603c60Sopenharmony_ci 90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012905, 91f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.re", 92f6603c60Sopenharmony_ci "nderable.texture.depth.rgba_half_float_oes"); 93f6603c60Sopenharmony_ci 94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012906, 95f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.complete", 96f6603c60Sopenharmony_ci "ness.renderable.texture.depth.rgb8"); 97f6603c60Sopenharmony_ci 98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012907, 99f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.complete", 100f6603c60Sopenharmony_ci "ness.renderable.texture.depth.rgb10"); 101f6603c60Sopenharmony_ci 102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012908, 103f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.complete", 104f6603c60Sopenharmony_ci "ness.renderable.texture.depth.rgba4"); 105f6603c60Sopenharmony_ci 106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012909, 107f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completen", 108f6603c60Sopenharmony_ci "ess.renderable.texture.depth.rgb5_a1"); 109f6603c60Sopenharmony_ci 110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012910, 111f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.complete", 112f6603c60Sopenharmony_ci "ness.renderable.texture.depth.rgba8"); 113f6603c60Sopenharmony_ci 114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012911, 115f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completene", 116f6603c60Sopenharmony_ci "ss.renderable.texture.depth.rgb10_a2"); 117f6603c60Sopenharmony_ci 118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012912, 119f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.r", 120f6603c60Sopenharmony_ci "enderable.texture.depth.depth_component16"); 121f6603c60Sopenharmony_ci 122f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012913, 123f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.r", 124f6603c60Sopenharmony_ci "enderable.texture.depth.depth_component24"); 125f6603c60Sopenharmony_ci 126f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012914, 127f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.r", 128f6603c60Sopenharmony_ci "enderable.texture.depth.depth_component32"); 129f6603c60Sopenharmony_ci 130f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012915, 131f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.r", 132f6603c60Sopenharmony_ci "enderable.texture.depth.rg_unsigned_byte"); 133f6603c60Sopenharmony_ci 134f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012916, 135f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completene", 136f6603c60Sopenharmony_ci "ss.renderable.texture.depth.rg_float"); 137f6603c60Sopenharmony_ci 138f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012917, 139f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.r", 140f6603c60Sopenharmony_ci "enderable.texture.depth.rg_half_float_oes"); 141f6603c60Sopenharmony_ci 142f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012918, 143f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.complet", 144f6603c60Sopenharmony_ci "eness.renderable.texture.depth.r8"); 145f6603c60Sopenharmony_ci 146f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012919, 147f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.complet", 148f6603c60Sopenharmony_ci "eness.renderable.texture.depth.rg8"); 149f6603c60Sopenharmony_ci 150f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012920, 151f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.complete", 152f6603c60Sopenharmony_ci "ness.renderable.texture.depth.r16f"); 153f6603c60Sopenharmony_ci 154f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012921, 155f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.complete", 156f6603c60Sopenharmony_ci "ness.renderable.texture.depth.rg16f"); 157f6603c60Sopenharmony_ci 158f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012922, 159f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.renderab", 160f6603c60Sopenharmony_ci "le.texture.depth.depth_stencil_unsigned_int_24_8"); 161f6603c60Sopenharmony_ci 162f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012923, 163f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completen", 164f6603c60Sopenharmony_ci "ess.renderable.texture.depth.rgba16f"); 165f6603c60Sopenharmony_ci 166f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012924, 167f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completen", 168f6603c60Sopenharmony_ci "ess.renderable.texture.depth.rgb16f"); 169f6603c60Sopenharmony_ci 170f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012925, 171f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.r", 172f6603c60Sopenharmony_ci "enderable.texture.depth.depth24_stencil8"); 173f6603c60Sopenharmony_ci 174f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012926, 175f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.", 176f6603c60Sopenharmony_ci "renderable.texture.depth.r11f_g11f_b10f"); 177f6603c60Sopenharmony_ci 178f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012927, 179f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.re", 180f6603c60Sopenharmony_ci "nderable.texture.depth.srgb_unsigned_byte"); 181f6603c60Sopenharmony_ci 182f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012928, 183f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.complete", 184f6603c60Sopenharmony_ci "ness.renderable.texture.depth.srgb8"); 185f6603c60Sopenharmony_ci 186f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012929, 187f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.rende", 188f6603c60Sopenharmony_ci "rable.texture.depth.srgb_alpha_unsigned_byte"); 189f6603c60Sopenharmony_ci 190f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012930, 191f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness", 192f6603c60Sopenharmony_ci ".renderable.texture.depth.srgb8_alpha8"); 193f6603c60Sopenharmony_ci 194f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012931, 195f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completeness.", 196f6603c60Sopenharmony_ci "renderable.texture.depth.stencil_index8"); 197f6603c60Sopenharmony_ci 198f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012932, 199f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completen", 200f6603c60Sopenharmony_ci "ess.renderable.texture.depth.rgb565"); 201f6603c60Sopenharmony_ci 202f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012933, 203f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completen", 204f6603c60Sopenharmony_ci "ess.renderable.texture.depth.sr8_ext"); 205f6603c60Sopenharmony_ci 206f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles20013TestSuite, TestCase_012934, 207f6603c60Sopenharmony_ci "dEQP-GLES2.functional.fbo.completene", 208f6603c60Sopenharmony_ci "ss.renderable.texture.depth.srg8_ext"); 209