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 "../Deqpgles3BaseFunc.h" 19f6603c60Sopenharmony_ci#include "../ActsDeqpgles30044TestSuite.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(ActsDeqpgles30044TestSuite, TestCase_043327, 27f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 28f6603c60Sopenharmony_ci "olygon.poly_clip_viewport_center"); 29f6603c60Sopenharmony_ci 30f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043328, 31f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 32f6603c60Sopenharmony_ci "olygon.poly_clip_viewport_corner"); 33f6603c60Sopenharmony_ci 34f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043329, 35f6603c60Sopenharmony_ci "dEQP-GLES3.functional.cli", 36f6603c60Sopenharmony_ci "pping.polygon.poly_z_clip"); 37f6603c60Sopenharmony_ci 38f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043330, 39f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.po", 40f6603c60Sopenharmony_ci "lygon.poly_z_clip_viewport_center"); 41f6603c60Sopenharmony_ci 42f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043331, 43f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.po", 44f6603c60Sopenharmony_ci "lygon.poly_z_clip_viewport_corner"); 45f6603c60Sopenharmony_ci 46f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043332, 47f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.poly", 48f6603c60Sopenharmony_ci "gon.large_poly_clip_viewport_center"); 49f6603c60Sopenharmony_ci 50f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043333, 51f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.poly", 52f6603c60Sopenharmony_ci "gon.large_poly_clip_viewport_corner"); 53f6603c60Sopenharmony_ci 54f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043334, 55f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clippi", 56f6603c60Sopenharmony_ci "ng.polygon.large_poly_z_clip"); 57f6603c60Sopenharmony_ci 58f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043335, 59f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.polyg", 60f6603c60Sopenharmony_ci "on.large_poly_z_clip_viewport_center"); 61f6603c60Sopenharmony_ci 62f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043336, 63f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.polyg", 64f6603c60Sopenharmony_ci "on.large_poly_z_clip_viewport_corner"); 65f6603c60Sopenharmony_ci 66f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043337, 67f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipp", 68f6603c60Sopenharmony_ci "ing.polygon.poly_attrib_clip"); 69f6603c60Sopenharmony_ci 70f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043338, 71f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.poly", 72f6603c60Sopenharmony_ci "gon.poly_attrib_clip_viewport_center"); 73f6603c60Sopenharmony_ci 74f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043339, 75f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.poly", 76f6603c60Sopenharmony_ci "gon.poly_attrib_clip_viewport_corner"); 77f6603c60Sopenharmony_ci 78f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043340, 79f6603c60Sopenharmony_ci "dEQP-GLES3.functional.cl", 80f6603c60Sopenharmony_ci "ipping.polygon.multiple_0"); 81f6603c60Sopenharmony_ci 82f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043341, 83f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 84f6603c60Sopenharmony_ci "olygon.multiple_0_viewport_center"); 85f6603c60Sopenharmony_ci 86f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043342, 87f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 88f6603c60Sopenharmony_ci "olygon.multiple_0_viewport_corner"); 89f6603c60Sopenharmony_ci 90f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043343, 91f6603c60Sopenharmony_ci "dEQP-GLES3.functional.cl", 92f6603c60Sopenharmony_ci "ipping.polygon.multiple_1"); 93f6603c60Sopenharmony_ci 94f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043344, 95f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 96f6603c60Sopenharmony_ci "olygon.multiple_1_viewport_center"); 97f6603c60Sopenharmony_ci 98f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043345, 99f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 100f6603c60Sopenharmony_ci "olygon.multiple_1_viewport_corner"); 101f6603c60Sopenharmony_ci 102f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043346, 103f6603c60Sopenharmony_ci "dEQP-GLES3.functional.cl", 104f6603c60Sopenharmony_ci "ipping.polygon.multiple_2"); 105f6603c60Sopenharmony_ci 106f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043347, 107f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 108f6603c60Sopenharmony_ci "olygon.multiple_2_viewport_center"); 109f6603c60Sopenharmony_ci 110f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043348, 111f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 112f6603c60Sopenharmony_ci "olygon.multiple_2_viewport_corner"); 113f6603c60Sopenharmony_ci 114f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043349, 115f6603c60Sopenharmony_ci "dEQP-GLES3.functional.cl", 116f6603c60Sopenharmony_ci "ipping.polygon.multiple_3"); 117f6603c60Sopenharmony_ci 118f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043350, 119f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 120f6603c60Sopenharmony_ci "olygon.multiple_3_viewport_center"); 121f6603c60Sopenharmony_ci 122f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043351, 123f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 124f6603c60Sopenharmony_ci "olygon.multiple_3_viewport_corner"); 125f6603c60Sopenharmony_ci 126f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043352, 127f6603c60Sopenharmony_ci "dEQP-GLES3.functional.cl", 128f6603c60Sopenharmony_ci "ipping.polygon.multiple_4"); 129f6603c60Sopenharmony_ci 130f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043353, 131f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 132f6603c60Sopenharmony_ci "olygon.multiple_4_viewport_center"); 133f6603c60Sopenharmony_ci 134f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043354, 135f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 136f6603c60Sopenharmony_ci "olygon.multiple_4_viewport_corner"); 137f6603c60Sopenharmony_ci 138f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043355, 139f6603c60Sopenharmony_ci "dEQP-GLES3.functional.cl", 140f6603c60Sopenharmony_ci "ipping.polygon.multiple_5"); 141f6603c60Sopenharmony_ci 142f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043356, 143f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 144f6603c60Sopenharmony_ci "olygon.multiple_5_viewport_center"); 145f6603c60Sopenharmony_ci 146f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043357, 147f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 148f6603c60Sopenharmony_ci "olygon.multiple_5_viewport_corner"); 149f6603c60Sopenharmony_ci 150f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043358, 151f6603c60Sopenharmony_ci "dEQP-GLES3.functional.cl", 152f6603c60Sopenharmony_ci "ipping.polygon.multiple_6"); 153f6603c60Sopenharmony_ci 154f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043359, 155f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 156f6603c60Sopenharmony_ci "olygon.multiple_6_viewport_center"); 157f6603c60Sopenharmony_ci 158f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043360, 159f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 160f6603c60Sopenharmony_ci "olygon.multiple_6_viewport_corner"); 161f6603c60Sopenharmony_ci 162f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043361, 163f6603c60Sopenharmony_ci "dEQP-GLES3.functional.cl", 164f6603c60Sopenharmony_ci "ipping.polygon.multiple_7"); 165f6603c60Sopenharmony_ci 166f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043362, 167f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 168f6603c60Sopenharmony_ci "olygon.multiple_7_viewport_center"); 169f6603c60Sopenharmony_ci 170f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043363, 171f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 172f6603c60Sopenharmony_ci "olygon.multiple_7_viewport_corner"); 173f6603c60Sopenharmony_ci 174f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043364, 175f6603c60Sopenharmony_ci "dEQP-GLES3.functional.cl", 176f6603c60Sopenharmony_ci "ipping.polygon.multiple_8"); 177f6603c60Sopenharmony_ci 178f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043365, 179f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 180f6603c60Sopenharmony_ci "olygon.multiple_8_viewport_center"); 181f6603c60Sopenharmony_ci 182f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043366, 183f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 184f6603c60Sopenharmony_ci "olygon.multiple_8_viewport_corner"); 185f6603c60Sopenharmony_ci 186f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043367, 187f6603c60Sopenharmony_ci "dEQP-GLES3.functional.cl", 188f6603c60Sopenharmony_ci "ipping.polygon.multiple_9"); 189f6603c60Sopenharmony_ci 190f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043368, 191f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 192f6603c60Sopenharmony_ci "olygon.multiple_9_viewport_center"); 193f6603c60Sopenharmony_ci 194f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043369, 195f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.p", 196f6603c60Sopenharmony_ci "olygon.multiple_9_viewport_corner"); 197f6603c60Sopenharmony_ci 198f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043370, 199f6603c60Sopenharmony_ci "dEQP-GLES3.functional.cli", 200f6603c60Sopenharmony_ci "pping.polygon.multiple_10"); 201f6603c60Sopenharmony_ci 202f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043371, 203f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.po", 204f6603c60Sopenharmony_ci "lygon.multiple_10_viewport_center"); 205f6603c60Sopenharmony_ci 206f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043372, 207f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.po", 208f6603c60Sopenharmony_ci "lygon.multiple_10_viewport_corner"); 209f6603c60Sopenharmony_ci 210f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043373, 211f6603c60Sopenharmony_ci "dEQP-GLES3.functional.cli", 212f6603c60Sopenharmony_ci "pping.polygon.multiple_11"); 213f6603c60Sopenharmony_ci 214f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043374, 215f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.po", 216f6603c60Sopenharmony_ci "lygon.multiple_11_viewport_center"); 217f6603c60Sopenharmony_ci 218f6603c60Sopenharmony_cistatic SHRINK_HWTEST_F(ActsDeqpgles30044TestSuite, TestCase_043375, 219f6603c60Sopenharmony_ci "dEQP-GLES3.functional.clipping.po", 220f6603c60Sopenharmony_ci "lygon.multiple_11_viewport_corner"); 221