1# Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("//test/xts/acts/graphic/vkgl/comm.gni") 15 16config("deqp_platform_ohos_config") { 17 cflags_cc = deqp_common_cflags_cc 18 19 cflags_cc += [ 20 # "-Wno-conversion", 21 # "-Wno-unused-function", 22 "-Wno-unused-parameter", 23 ] 24 25 defines = deqp_common_defines 26} 27 28ohos_static_library("libdeqpgles31func0015") { 29 subsystem_name = "graphic" 30 part_name = "graphic_2d" 31 sources = common_src 32 sources += [ "../Deqpgles31BaseFunc.cpp" ] 33 34 include_dirs = common_include 35 deps = common_depends_gles31 36 external_deps = [ 37 "hilog:libhilog", 38 "image_framework:image_native", 39 ] 40 configs = [ ":deqp_platform_ohos_config" ] 41} 42 43ohos_moduletest_suite("ActsDeqpgles31TestSuite0015") { 44 subsystem_name = "graphic" 45 part_name = "graphic_2d" 46 sources = [ 47 "../ActsDeqpgles310015TestSuite.cpp", 48 "../functional/Deqpgles31border_clamp_range_clampTestCase.cpp", 49 "../functional/Deqpgles31border_clamp_samplerTestCase.cpp", 50 "../functional/Deqpgles31border_clamp_unused_channelsTestCase.cpp", 51 "../functional/Deqpgles31compressed_color_gatherTestCase.cpp", 52 "../functional/Deqpgles31compressed_color_linearTestCase.cpp", 53 "../functional/Deqpgles31compressed_color_nearestTestCase.cpp", 54 "../functional/Deqpgles31depth_compare_mode_depth24_stencil8TestCase.cpp", 55 "../functional/Deqpgles31depth_compare_mode_depth32f_stencil8TestCase.cpp", 56 "../functional/Deqpgles31depth_compare_mode_depth_component16TestCase.cpp", 57 "../functional/Deqpgles31depth_compare_mode_depth_component24TestCase.cpp", 58 "../functional/Deqpgles31float_color_gatherTestCase.cpp", 59 "../functional/Deqpgles31float_color_nearestTestCase.cpp", 60 "../functional/Deqpgles31float_depth_gatherTestCase.cpp", 61 "../functional/Deqpgles31float_depth_nearestTestCase.cpp", 62 "../functional/Deqpgles31formats_alphaTestCase.cpp", 63 "../functional/Deqpgles31formats_bgraTestCase.cpp", 64 "../functional/Deqpgles31formats_compressed_r11_eacTestCase.cpp", 65 "../functional/Deqpgles31formats_compressed_rg11_eacTestCase.cpp", 66 "../functional/Deqpgles31formats_compressed_rgb8_etc2TestCase.cpp", 67 "../functional/Deqpgles31formats_compressed_rgb8_punchthrough_alpha1_etc2TestCase.cpp", 68 "../functional/Deqpgles31formats_compressed_rgba8_etc2_eacTestCase.cpp", 69 "../functional/Deqpgles31formats_compressed_signed_r11_eacTestCase.cpp", 70 "../functional/Deqpgles31formats_compressed_signed_rg11_eacTestCase.cpp", 71 "../functional/Deqpgles31formats_compressed_srgb8_alpha8_etc2_eacTestCase.cpp", 72 "../functional/Deqpgles31formats_compressed_srgb8_etc2TestCase.cpp", 73 "../functional/Deqpgles31formats_compressed_srgb8_punchthrough_alpha1_etc2TestCase.cpp", 74 "../functional/Deqpgles31formats_depth24_stencil8_sample_depthTestCase.cpp", 75 "../functional/Deqpgles31formats_depth24_stencil8_sample_stencilTestCase.cpp", 76 "../functional/Deqpgles31formats_depth32f_stencil8_sample_depthTestCase.cpp", 77 "../functional/Deqpgles31formats_depth32f_stencil8_sample_stencilTestCase.cpp", 78 "../functional/Deqpgles31formats_depth_component16TestCase.cpp", 79 "../functional/Deqpgles31formats_depth_component24TestCase.cpp", 80 "../functional/Deqpgles31formats_depth_component32fTestCase.cpp", 81 "../functional/Deqpgles31formats_luminanceTestCase.cpp", 82 "../functional/Deqpgles31formats_luminance_alphaTestCase.cpp", 83 "../functional/Deqpgles31formats_r11f_g11f_b10fTestCase.cpp", 84 "../functional/Deqpgles31formats_r16fTestCase.cpp", 85 "../functional/Deqpgles31formats_r16iTestCase.cpp", 86 "../functional/Deqpgles31formats_r16uiTestCase.cpp", 87 "../functional/Deqpgles31formats_r32fTestCase.cpp", 88 "../functional/Deqpgles31formats_r32iTestCase.cpp", 89 "../functional/Deqpgles31formats_r32uiTestCase.cpp", 90 "../functional/Deqpgles31formats_r8TestCase.cpp", 91 "../functional/Deqpgles31formats_r8_snormTestCase.cpp", 92 "../functional/Deqpgles31formats_r8iTestCase.cpp", 93 "../functional/Deqpgles31formats_r8uiTestCase.cpp", 94 "../functional/Deqpgles31formats_rg16fTestCase.cpp", 95 "../functional/Deqpgles31formats_rg16iTestCase.cpp", 96 "../functional/Deqpgles31formats_rg16uiTestCase.cpp", 97 "../functional/Deqpgles31formats_rg32fTestCase.cpp", 98 "../functional/Deqpgles31formats_rg32iTestCase.cpp", 99 "../functional/Deqpgles31formats_rg32uiTestCase.cpp", 100 "../functional/Deqpgles31formats_rg8TestCase.cpp", 101 "../functional/Deqpgles31formats_rg8_snormTestCase.cpp", 102 "../functional/Deqpgles31formats_rg8iTestCase.cpp", 103 "../functional/Deqpgles31formats_rg8uiTestCase.cpp", 104 "../functional/Deqpgles31formats_rgb10_a2TestCase.cpp", 105 "../functional/Deqpgles31formats_rgb10_a2uiTestCase.cpp", 106 "../functional/Deqpgles31formats_rgb16fTestCase.cpp", 107 "../functional/Deqpgles31formats_rgb16iTestCase.cpp", 108 "../functional/Deqpgles31formats_rgb16uiTestCase.cpp", 109 "../functional/Deqpgles31formats_rgb32fTestCase.cpp", 110 "../functional/Deqpgles31formats_rgb32iTestCase.cpp", 111 "../functional/Deqpgles31formats_rgb32uiTestCase.cpp", 112 "../functional/Deqpgles31formats_rgb565TestCase.cpp", 113 "../functional/Deqpgles31formats_rgb5_a1TestCase.cpp", 114 "../functional/Deqpgles31formats_rgb8TestCase.cpp", 115 "../functional/Deqpgles31formats_rgb8_snormTestCase.cpp", 116 "../functional/Deqpgles31formats_rgb8iTestCase.cpp", 117 "../functional/Deqpgles31formats_rgb8uiTestCase.cpp", 118 "../functional/Deqpgles31formats_rgb9_e5TestCase.cpp", 119 "../functional/Deqpgles31formats_rgba16fTestCase.cpp", 120 "../functional/Deqpgles31formats_rgba16iTestCase.cpp", 121 "../functional/Deqpgles31formats_rgba16uiTestCase.cpp", 122 "../functional/Deqpgles31formats_rgba32fTestCase.cpp", 123 "../functional/Deqpgles31formats_rgba32iTestCase.cpp", 124 "../functional/Deqpgles31formats_rgba32uiTestCase.cpp", 125 "../functional/Deqpgles31formats_rgba4TestCase.cpp", 126 "../functional/Deqpgles31formats_rgba8TestCase.cpp", 127 "../functional/Deqpgles31formats_rgba8_snormTestCase.cpp", 128 "../functional/Deqpgles31formats_rgba8iTestCase.cpp", 129 "../functional/Deqpgles31formats_rgba8uiTestCase.cpp", 130 "../functional/Deqpgles31formats_srgb8TestCase.cpp", 131 "../functional/Deqpgles31formats_srgb8_alpha8TestCase.cpp", 132 "../functional/Deqpgles31formats_stencil_index8TestCase.cpp", 133 "../functional/Deqpgles31int_color_gatherTestCase.cpp", 134 "../functional/Deqpgles31int_color_nearestTestCase.cpp", 135 "../functional/Deqpgles31modify_bufferdataTestCase.cpp", 136 "../functional/Deqpgles31modify_buffersubdataTestCase.cpp", 137 "../functional/Deqpgles31modify_mapbuffer_readwriteTestCase.cpp", 138 "../functional/Deqpgles31modify_mapbuffer_writeTestCase.cpp", 139 "../functional/Deqpgles31modify_render_bufferdataTestCase.cpp", 140 "../functional/Deqpgles31modify_render_buffersubdataTestCase.cpp", 141 "../functional/Deqpgles31modify_render_mapbuffer_readwriteTestCase.cpp", 142 "../functional/Deqpgles31modify_render_mapbuffer_writeTestCase.cpp", 143 "../functional/Deqpgles31render_as_index_array_as_vertex_texture_as_fragment_textureTestCase.cpp", 144 "../functional/Deqpgles31render_as_vertex_array_as_index_array_as_fragment_textureTestCase.cpp", 145 "../functional/Deqpgles31render_as_vertex_array_as_index_array_as_vertex_texture_as_fragment_textureTestCase.cpp", 146 "../functional/Deqpgles31render_as_vertex_array_as_vertex_texture_as_fragment_textureTestCase.cpp", 147 "../functional/Deqpgles31render_as_vertex_texture_as_fragment_textureTestCase.cpp", 148 "../functional/Deqpgles31render_modify_as_fragment_textureTestCase.cpp", 149 "../functional/Deqpgles31render_modify_as_index_arrayTestCase.cpp", 150 "../functional/Deqpgles31render_modify_as_index_array_as_fragment_textureTestCase.cpp", 151 "../functional/Deqpgles31render_modify_as_index_array_as_vertex_textureTestCase.cpp", 152 "../functional/Deqpgles31render_modify_as_index_array_as_vertex_texture_as_fragment_textureTestCase.cpp", 153 "../functional/Deqpgles31render_modify_as_vertex_arrayTestCase.cpp", 154 "../functional/Deqpgles31render_modify_as_vertex_array_as_fragment_textureTestCase.cpp", 155 "../functional/Deqpgles31render_modify_as_vertex_array_as_index_arrayTestCase.cpp", 156 "../functional/Deqpgles31render_modify_as_vertex_array_as_index_array_as_fragment_textureTestCase.cpp", 157 "../functional/Deqpgles31render_modify_as_vertex_array_as_index_array_as_vertex_textureTestCase.cpp", 158 "../functional/Deqpgles31render_modify_as_vertex_array_as_index_array_as_vertex_texture_as_fragment_textureTestCase.cpp", 159 "../functional/Deqpgles31render_modify_as_vertex_array_as_vertex_textureTestCase.cpp", 160 "../functional/Deqpgles31render_modify_as_vertex_array_as_vertex_texture_as_fragment_textureTestCase.cpp", 161 "../functional/Deqpgles31render_modify_as_vertex_textureTestCase.cpp", 162 "../functional/Deqpgles31render_modify_as_vertex_texture_as_fragment_textureTestCase.cpp", 163 "../functional/Deqpgles31snorm_color_gatherTestCase.cpp", 164 "../functional/Deqpgles31snorm_color_linearTestCase.cpp", 165 "../functional/Deqpgles31snorm_color_nearestTestCase.cpp", 166 "../functional/Deqpgles31state_query_booleanTestCase.cpp", 167 "../functional/Deqpgles31state_query_integerTestCase.cpp", 168 "../functional/Deqpgles31uint_color_gatherTestCase.cpp", 169 "../functional/Deqpgles31uint_color_nearestTestCase.cpp", 170 "../functional/Deqpgles31uint_stencil_gatherTestCase.cpp", 171 "../functional/Deqpgles31uint_stencil_nearestTestCase.cpp", 172 "../functional/Deqpgles31unorm_color_gatherTestCase.cpp", 173 "../functional/Deqpgles31unorm_color_linearTestCase.cpp", 174 "../functional/Deqpgles31unorm_color_nearestTestCase.cpp", 175 "../functional/Deqpgles31unorm_depth_gatherTestCase.cpp", 176 "../functional/Deqpgles31unorm_depth_nearestTestCase.cpp", 177 ] 178 179 include_dirs = [ "../../../src" ] 180 181 deps = [ ":libdeqpgles31func0015" ] 182 183 cflags = [ "-Wno-error" ] 184} 185