# 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 } ohos_static_library("libkhrgles31func0003") { subsystem_name = "graphic" part_name = "graphic_2d" sources = common_src sources += [ "../Khrgles31BaseFunc.cpp" ] include_dirs = common_include deps = common_depends external_deps = [ "hilog:libhilog", "image_framework:image_native", ] configs = [ ":deqp_platform_ohos_config" ] } ohos_moduletest_suite("ActsKhrgles31TestSuite0003") { subsystem_name = "graphic" part_name = "graphic_2d" sources = [ "../ActsKhrgles310003TestSuite.cpp", "../core/Khrgles31compressed_format_apiTestCase.cpp", "../core/Khrgles31compressed_format_formatTestCase.cpp", "../core/Khrgles31core_arrays_of_arraysTestCase.cpp", "../core/Khrgles31core_draw_buffers_indexedTestCase.cpp", "../core/Khrgles31core_draw_indirectTestCase.cpp", "../core/Khrgles31core_explicit_uniform_locationTestCase.cpp", "../core/Khrgles31core_framebuffer_completenessTestCase.cpp", "../core/Khrgles31core_framebuffer_no_attachmentsTestCase.cpp", "../core/Khrgles31core_gpu_shader5TestCase.cpp", "../core/Khrgles31core_nearest_edgeTestCase.cpp", "../core/Khrgles31core_polygon_offset_clampTestCase.cpp", "../core/Khrgles31core_program_interface_queryTestCase.cpp", "../core/Khrgles31core_shader_group_voteTestCase.cpp", "../core/Khrgles31core_shader_image_load_storeTestCase.cpp", "../core/Khrgles31core_shader_image_sizeTestCase.cpp", "../core/Khrgles31core_texture_border_clampTestCase.cpp", "../core/Khrgles31core_texture_bufferTestCase.cpp", "../core/Khrgles31core_texture_cube_map_arrayTestCase.cpp", "../core/Khrgles31core_viewport_arrayTestCase.cpp", "../core/Khrgles31geometry_shader_adjacencyTestCase.cpp", "../core/Khrgles31geometry_shader_apiTestCase.cpp", "../core/Khrgles31geometry_shader_blittingTestCase.cpp", "../core/Khrgles31geometry_shader_clippingTestCase.cpp", "../core/Khrgles31geometry_shader_constant_variablesTestCase.cpp", "../core/Khrgles31geometry_shader_inputTestCase.cpp", "../core/Khrgles31geometry_shader_layered_fboTestCase.cpp", "../core/Khrgles31geometry_shader_layered_framebufferTestCase.cpp", "../core/Khrgles31geometry_shader_layered_renderingTestCase.cpp", "../core/Khrgles31geometry_shader_layered_rendering_boundary_conditionTestCase.cpp", "../core/Khrgles31geometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp", "../core/Khrgles31geometry_shader_limitsTestCase.cpp", "../core/Khrgles31geometry_shader_linkingTestCase.cpp", "../core/Khrgles31geometry_shader_nonarray_inputTestCase.cpp", "../core/Khrgles31geometry_shader_outputTestCase.cpp", "../core/Khrgles31geometry_shader_primitive_counterTestCase.cpp", "../core/Khrgles31geometry_shader_primitive_queriesTestCase.cpp", "../core/Khrgles31geometry_shader_program_resourceTestCase.cpp", "../core/Khrgles31geometry_shader_qualifiersTestCase.cpp", "../core/Khrgles31internalformat_copy_tex_imageTestCase.cpp", "../core/Khrgles31internalformat_renderbufferTestCase.cpp", "../core/Khrgles31internalformat_texture2dTestCase.cpp", "../core/Khrgles31rendering_renderingTestCase.cpp", "../core/Khrgles31tessellation_shader_compilation_and_linking_errorsTestCase.cpp", "../core/Khrgles31tessellation_shader_singleTestCase.cpp", "../core/Khrgles31tessellation_shader_tessellation_control_to_tessellation_evaluationTestCase.cpp", "../core/Khrgles31tessellation_shader_tessellation_invarianceTestCase.cpp", "../core/Khrgles31tessellation_shader_tessellation_shader_point_modeTestCase.cpp", "../core/Khrgles31tessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp", "../core/Khrgles31tessellation_shader_tessellation_shader_tc_barriersTestCase.cpp", "../core/Khrgles31tessellation_shader_tessellation_shader_tessellationTestCase.cpp", "../core/Khrgles31tessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp", "../core/Khrgles31tessellation_shader_vertexTestCase.cpp", "../core/Khrgles31tessellation_shader_windingTestCase.cpp", "../core/Khrgles31teximage2d_r11g11b10fTestCase.cpp", "../core/Khrgles31teximage2d_r16fTestCase.cpp", "../core/Khrgles31teximage2d_r16iTestCase.cpp", "../core/Khrgles31teximage2d_r16uiTestCase.cpp", "../core/Khrgles31teximage2d_r32fTestCase.cpp", "../core/Khrgles31teximage2d_r32iTestCase.cpp", "../core/Khrgles31teximage2d_r32uiTestCase.cpp", "../core/Khrgles31teximage2d_r8TestCase.cpp", "../core/Khrgles31teximage2d_r8iTestCase.cpp", "../core/Khrgles31teximage2d_r8snormTestCase.cpp", "../core/Khrgles31teximage2d_r8uiTestCase.cpp", "../core/Khrgles31teximage2d_rg16fTestCase.cpp", "../core/Khrgles31teximage2d_rg16iTestCase.cpp", "../core/Khrgles31teximage2d_rg16uiTestCase.cpp", "../core/Khrgles31teximage2d_rg32fTestCase.cpp", "../core/Khrgles31teximage2d_rg32iTestCase.cpp", "../core/Khrgles31teximage2d_rg32uiTestCase.cpp", "../core/Khrgles31teximage2d_rg8TestCase.cpp", "../core/Khrgles31teximage2d_rg8iTestCase.cpp", "../core/Khrgles31teximage2d_rg8snormTestCase.cpp", "../core/Khrgles31teximage2d_rg8uiTestCase.cpp", "../core/Khrgles31teximage2d_rgb10a2TestCase.cpp", "../core/Khrgles31teximage2d_rgb10a2uiTestCase.cpp", "../core/Khrgles31teximage2d_rgb16fTestCase.cpp", "../core/Khrgles31teximage2d_rgb16iTestCase.cpp", "../core/Khrgles31teximage2d_rgb16uiTestCase.cpp", "../core/Khrgles31teximage2d_rgb32fTestCase.cpp", "../core/Khrgles31teximage2d_rgb32iTestCase.cpp", "../core/Khrgles31teximage2d_rgb32uiTestCase.cpp", "../core/Khrgles31teximage2d_rgb565TestCase.cpp", "../core/Khrgles31teximage2d_rgb5a1TestCase.cpp", "../core/Khrgles31teximage2d_rgb8TestCase.cpp", "../core/Khrgles31teximage2d_rgb8iTestCase.cpp", "../core/Khrgles31teximage2d_rgb8snormTestCase.cpp", "../core/Khrgles31teximage2d_rgb8uiTestCase.cpp", "../core/Khrgles31teximage2d_rgba16fTestCase.cpp", "../core/Khrgles31teximage2d_rgba16iTestCase.cpp", "../core/Khrgles31teximage2d_rgba16uiTestCase.cpp", "../core/Khrgles31teximage2d_rgba32fTestCase.cpp", "../core/Khrgles31teximage2d_rgba32iTestCase.cpp", "../core/Khrgles31teximage2d_rgba32uiTestCase.cpp", "../core/Khrgles31teximage2d_rgba4TestCase.cpp", "../core/Khrgles31teximage2d_rgba8TestCase.cpp", "../core/Khrgles31teximage2d_rgba8iTestCase.cpp", "../core/Khrgles31teximage2d_rgba8snormTestCase.cpp", "../core/Khrgles31teximage2d_rgba8uiTestCase.cpp", "../core/Khrgles31teximage3d_r8TestCase.cpp", ] include_dirs = [ "../../../src" ] deps = [ ":libkhrgles31func0003" ] cflags = [ "-Wno-error" ] }