# Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import("//test/xts/acts/graphic/vkgl/comm.gni") config("deqp_platform_ohos_config") { cflags_cc = deqp_common_cflags_cc cflags_cc += [ # "-Wno-conversion", # "-Wno-unused-function", "-Wno-unused-parameter", ] defines = deqp_common_defines # defines -=["DE_PTR_SIZE=8"] defines += [ "DE_PTR_SIZE=4", "_XOPEN_SOURCE=600", ] } ohos_static_library("libdeqpgles31func0015") { sources = common_src sources += [ "../Deqpgles31BaseFunc.cpp" ] include_dirs = common_include deps = common_depends external_deps = [ "hilog_native:libhilog", "multimedia_image_framework:image_native", ] configs = [ ":deqp_platform_ohos_config" ] #public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ] } ohos_moduletest_suite("ActsDeqpgles31TestSuite0015") { sources = [ "../ActsDeqpgles310015TestSuite.cpp", "../functional/Deqpgles31border_clamp_range_clampTestCase.cpp", "../functional/Deqpgles31border_clamp_samplerTestCase.cpp", "../functional/Deqpgles31border_clamp_unused_channelsTestCase.cpp", "../functional/Deqpgles31compressed_color_gatherTestCase.cpp", "../functional/Deqpgles31compressed_color_linearTestCase.cpp", "../functional/Deqpgles31compressed_color_nearestTestCase.cpp", "../functional/Deqpgles31depth_compare_mode_depth24_stencil8TestCase.cpp", "../functional/Deqpgles31depth_compare_mode_depth32f_stencil8TestCase.cpp", "../functional/Deqpgles31depth_compare_mode_depth_component16TestCase.cpp", "../functional/Deqpgles31depth_compare_mode_depth_component24TestCase.cpp", "../functional/Deqpgles31float_color_gatherTestCase.cpp", "../functional/Deqpgles31float_color_nearestTestCase.cpp", "../functional/Deqpgles31float_depth_gatherTestCase.cpp", "../functional/Deqpgles31float_depth_nearestTestCase.cpp", "../functional/Deqpgles31formats_alphaTestCase.cpp", "../functional/Deqpgles31formats_bgraTestCase.cpp", "../functional/Deqpgles31formats_compressed_r11_eacTestCase.cpp", "../functional/Deqpgles31formats_compressed_rg11_eacTestCase.cpp", "../functional/Deqpgles31formats_compressed_rgb8_etc2TestCase.cpp", "../functional/Deqpgles31formats_compressed_rgb8_punchthrough_alpha1_etc2TestCase.cpp", "../functional/Deqpgles31formats_compressed_rgba8_etc2_eacTestCase.cpp", "../functional/Deqpgles31formats_compressed_signed_r11_eacTestCase.cpp", "../functional/Deqpgles31formats_compressed_signed_rg11_eacTestCase.cpp", "../functional/Deqpgles31formats_compressed_srgb8_alpha8_etc2_eacTestCase.cpp", "../functional/Deqpgles31formats_compressed_srgb8_etc2TestCase.cpp", "../functional/Deqpgles31formats_compressed_srgb8_punchthrough_alpha1_etc2TestCase.cpp", "../functional/Deqpgles31formats_depth24_stencil8_sample_depthTestCase.cpp", "../functional/Deqpgles31formats_depth24_stencil8_sample_stencilTestCase.cpp", "../functional/Deqpgles31formats_depth32f_stencil8_sample_depthTestCase.cpp", "../functional/Deqpgles31formats_depth32f_stencil8_sample_stencilTestCase.cpp", "../functional/Deqpgles31formats_depth_component16TestCase.cpp", "../functional/Deqpgles31formats_depth_component24TestCase.cpp", "../functional/Deqpgles31formats_depth_component32fTestCase.cpp", "../functional/Deqpgles31formats_luminanceTestCase.cpp", "../functional/Deqpgles31formats_luminance_alphaTestCase.cpp", "../functional/Deqpgles31formats_r11f_g11f_b10fTestCase.cpp", "../functional/Deqpgles31formats_r16fTestCase.cpp", "../functional/Deqpgles31formats_r16iTestCase.cpp", "../functional/Deqpgles31formats_r16uiTestCase.cpp", "../functional/Deqpgles31formats_r32fTestCase.cpp", "../functional/Deqpgles31formats_r32iTestCase.cpp", "../functional/Deqpgles31formats_r32uiTestCase.cpp", "../functional/Deqpgles31formats_r8TestCase.cpp", "../functional/Deqpgles31formats_r8_snormTestCase.cpp", "../functional/Deqpgles31formats_r8iTestCase.cpp", "../functional/Deqpgles31formats_r8uiTestCase.cpp", "../functional/Deqpgles31formats_rg16fTestCase.cpp", "../functional/Deqpgles31formats_rg16iTestCase.cpp", "../functional/Deqpgles31formats_rg16uiTestCase.cpp", "../functional/Deqpgles31formats_rg32fTestCase.cpp", "../functional/Deqpgles31formats_rg32iTestCase.cpp", "../functional/Deqpgles31formats_rg32uiTestCase.cpp", "../functional/Deqpgles31formats_rg8TestCase.cpp", "../functional/Deqpgles31formats_rg8_snormTestCase.cpp", "../functional/Deqpgles31formats_rg8iTestCase.cpp", "../functional/Deqpgles31formats_rg8uiTestCase.cpp", "../functional/Deqpgles31formats_rgb10_a2TestCase.cpp", "../functional/Deqpgles31formats_rgb10_a2uiTestCase.cpp", "../functional/Deqpgles31formats_rgb16fTestCase.cpp", "../functional/Deqpgles31formats_rgb16iTestCase.cpp", "../functional/Deqpgles31formats_rgb16uiTestCase.cpp", "../functional/Deqpgles31formats_rgb32fTestCase.cpp", "../functional/Deqpgles31formats_rgb32iTestCase.cpp", "../functional/Deqpgles31formats_rgb32uiTestCase.cpp", "../functional/Deqpgles31formats_rgb565TestCase.cpp", "../functional/Deqpgles31formats_rgb5_a1TestCase.cpp", "../functional/Deqpgles31formats_rgb8TestCase.cpp", "../functional/Deqpgles31formats_rgb8_snormTestCase.cpp", "../functional/Deqpgles31formats_rgb8iTestCase.cpp", "../functional/Deqpgles31formats_rgb8uiTestCase.cpp", "../functional/Deqpgles31formats_rgb9_e5TestCase.cpp", "../functional/Deqpgles31formats_rgba16fTestCase.cpp", "../functional/Deqpgles31formats_rgba16iTestCase.cpp", "../functional/Deqpgles31formats_rgba16uiTestCase.cpp", "../functional/Deqpgles31formats_rgba32fTestCase.cpp", "../functional/Deqpgles31formats_rgba32iTestCase.cpp", "../functional/Deqpgles31formats_rgba32uiTestCase.cpp", "../functional/Deqpgles31formats_rgba4TestCase.cpp", "../functional/Deqpgles31formats_rgba8TestCase.cpp", "../functional/Deqpgles31formats_rgba8_snormTestCase.cpp", "../functional/Deqpgles31formats_rgba8iTestCase.cpp", "../functional/Deqpgles31formats_rgba8uiTestCase.cpp", "../functional/Deqpgles31formats_srgb8TestCase.cpp", "../functional/Deqpgles31formats_srgb8_alpha8TestCase.cpp", "../functional/Deqpgles31formats_stencil_index8TestCase.cpp", "../functional/Deqpgles31int_color_gatherTestCase.cpp", "../functional/Deqpgles31int_color_nearestTestCase.cpp", "../functional/Deqpgles31modify_bufferdataTestCase.cpp", "../functional/Deqpgles31modify_buffersubdataTestCase.cpp", "../functional/Deqpgles31modify_mapbuffer_readwriteTestCase.cpp", "../functional/Deqpgles31modify_mapbuffer_writeTestCase.cpp", "../functional/Deqpgles31modify_render_bufferdataTestCase.cpp", "../functional/Deqpgles31modify_render_buffersubdataTestCase.cpp", "../functional/Deqpgles31modify_render_mapbuffer_readwriteTestCase.cpp", "../functional/Deqpgles31modify_render_mapbuffer_writeTestCase.cpp", "../functional/Deqpgles31render_as_index_array_as_vertex_texture_as_fragment_textureTestCase.cpp", "../functional/Deqpgles31render_as_vertex_array_as_index_array_as_fragment_textureTestCase.cpp", "../functional/Deqpgles31render_as_vertex_array_as_index_array_as_vertex_texture_as_fragment_textureTestCase.cpp", "../functional/Deqpgles31render_as_vertex_array_as_vertex_texture_as_fragment_textureTestCase.cpp", "../functional/Deqpgles31render_as_vertex_texture_as_fragment_textureTestCase.cpp", "../functional/Deqpgles31render_modify_as_fragment_textureTestCase.cpp", "../functional/Deqpgles31render_modify_as_index_arrayTestCase.cpp", "../functional/Deqpgles31render_modify_as_index_array_as_fragment_textureTestCase.cpp", "../functional/Deqpgles31render_modify_as_index_array_as_vertex_textureTestCase.cpp", "../functional/Deqpgles31render_modify_as_index_array_as_vertex_texture_as_fragment_textureTestCase.cpp", "../functional/Deqpgles31render_modify_as_vertex_arrayTestCase.cpp", "../functional/Deqpgles31render_modify_as_vertex_array_as_fragment_textureTestCase.cpp", "../functional/Deqpgles31render_modify_as_vertex_array_as_index_arrayTestCase.cpp", "../functional/Deqpgles31render_modify_as_vertex_array_as_index_array_as_fragment_textureTestCase.cpp", "../functional/Deqpgles31render_modify_as_vertex_array_as_index_array_as_vertex_textureTestCase.cpp", "../functional/Deqpgles31render_modify_as_vertex_array_as_index_array_as_vertex_texture_as_fragment_textureTestCase.cpp", "../functional/Deqpgles31render_modify_as_vertex_array_as_vertex_textureTestCase.cpp", "../functional/Deqpgles31render_modify_as_vertex_array_as_vertex_texture_as_fragment_textureTestCase.cpp", "../functional/Deqpgles31render_modify_as_vertex_textureTestCase.cpp", "../functional/Deqpgles31render_modify_as_vertex_texture_as_fragment_textureTestCase.cpp", "../functional/Deqpgles31snorm_color_gatherTestCase.cpp", "../functional/Deqpgles31snorm_color_linearTestCase.cpp", "../functional/Deqpgles31snorm_color_nearestTestCase.cpp", "../functional/Deqpgles31state_query_booleanTestCase.cpp", "../functional/Deqpgles31state_query_integerTestCase.cpp", "../functional/Deqpgles31uint_color_gatherTestCase.cpp", "../functional/Deqpgles31uint_color_nearestTestCase.cpp", "../functional/Deqpgles31uint_stencil_gatherTestCase.cpp", "../functional/Deqpgles31uint_stencil_nearestTestCase.cpp", "../functional/Deqpgles31unorm_color_gatherTestCase.cpp", "../functional/Deqpgles31unorm_color_linearTestCase.cpp", "../functional/Deqpgles31unorm_color_nearestTestCase.cpp", "../functional/Deqpgles31unorm_depth_gatherTestCase.cpp", "../functional/Deqpgles31unorm_depth_nearestTestCase.cpp", ] include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ] deps = [ ":libdeqpgles31func0015" ] cflags = [ "-Wno-error" ] }