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 "../EglBaseFunc.h" 19 #include "../ActsEgl0001TestSuite.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(ActsEgl0001TS, TC000366, "dEQP-EGL.functional.query_confi", 27 "g.get_configs.get_configs_bounds"); 28 29 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000367, "dEQP-EGL.functional.query_confi", 30 "g.get_config_attrib.buffer_size"); 31 32 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000368, "dEQP-EGL.functional.query_confi", 33 "g.get_config_attrib.red_size"); 34 35 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000369, "dEQP-EGL.functional.query_conf", 36 "ig.get_config_attrib.green_size"); 37 38 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000370, "dEQP-EGL.functional.query_conf", 39 "ig.get_config_attrib.blue_size"); 40 41 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000371, "dEQP-EGL.functional.query_config", 42 ".get_config_attrib.luminance_size"); 43 44 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000372, "dEQP-EGL.functional.query_conf", 45 "ig.get_config_attrib.alpha_size"); 46 47 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000373, "dEQP-EGL.functional.query_config.", 48 "get_config_attrib.alpha_mask_size"); 49 50 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000374, "dEQP-EGL.functional.query_config.ge", 51 "t_config_attrib.bind_to_texture_rgb"); 52 53 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000375, "dEQP-EGL.functional.query_config.ge", 54 "t_config_attrib.bind_to_texture_rgba"); 55 56 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000376, "dEQP-EGL.functional.query_config.g", 57 "et_config_attrib.color_buffer_type"); 58 59 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000377, "dEQP-EGL.functional.query_config", 60 ".get_config_attrib.config_caveat"); 61 62 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000378, "dEQP-EGL.functional.query_conf", 63 "ig.get_config_attrib.config_id"); 64 65 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000379, "dEQP-EGL.functional.query_conf", 66 "ig.get_config_attrib.conformant"); 67 68 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000380, "dEQP-EGL.functional.query_conf", 69 "ig.get_config_attrib.depth_size"); 70 71 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000381, "dEQP-EGL.functional.query_config.g", 72 "et_config_attrib.level"); 73 74 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000382, "dEQP-EGL.functional.query_config.g", 75 "et_config_attrib.max_swap_interval"); 76 77 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000383, "dEQP-EGL.functional.query_config.g", 78 "et_config_attrib.min_swap_interval"); 79 80 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000384, "dEQP-EGL.functional.query_config.g", 81 "et_config_attrib.native_renderable"); 82 83 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000385, "dEQP-EGL.functional.query_config.g", 84 "et_config_attrib.native_visual_type"); 85 86 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000386, "dEQP-EGL.functional.query_config.", 87 "get_config_attrib.renderable_type"); 88 89 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000387, "dEQP-EGL.functional.query_config", 90 ".get_config_attrib.sample_buffers"); 91 92 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000388, "dEQP-EGL.functional.query_config.g", 93 "et_config_attrib.samples"); 94 95 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000389, "dEQP-EGL.functional.query_confi", 96 "g.get_config_attrib.stencil_size"); 97 98 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000390, "dEQP-EGL.functional.query_confi", 99 "g.get_config_attrib.sur""face_type"); 100 101 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000391, "dEQP-EGL.functional.query_config.", 102 "get_config_attrib.transparent_type"); 103 104 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000392, "dEQP-EGL.functional.query_config.get", 105 "_config_attrib.transparent_red_value"); 106 107 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000393, "dEQP-EGL.functional.query_config.get_", 108 "config_attrib.transparent_green_value"); 109 110 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000394, "dEQP-EGL.functional.query_config.get", 111 "_config_attrib.transparent_blue_value"); 112 113 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000395, "dEQP-EGL.functional.query_confi", 114 "g.constraints.color_buffer_size"); 115 116 static SHRINK_HWTEST_F(ActsEgl0001TS, TC000396, "dEQP-EGL.functional.query_confi", 117 "g.constraints.transparent_value"); 118