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("libkhrgles31func0001") { 29 subsystem_name = "graphic" 30 part_name = "graphic_2d" 31 sources = common_src 32 sources += [ "../Khrgles31BaseFunc.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("ActsKhrgles31TestSuite0001") { 44 subsystem_name = "graphic" 45 part_name = "graphic_2d" 46 sources = [ 47 "../ActsKhrgles310001TestSuite.cpp", 48 "../core/Khrgles31base_rgba32fTestCase.cpp", 49 "../core/Khrgles31base_rgba8TestCase.cpp", 50 "../core/Khrgles31base_rgba8iTestCase.cpp", 51 "../core/Khrgles31base_rgba8uiTestCase.cpp", 52 "../core/Khrgles31centroid_rgba32fTestCase.cpp", 53 "../core/Khrgles31centroid_rgba8TestCase.cpp", 54 "../core/Khrgles31centroid_rgba8iTestCase.cpp", 55 "../core/Khrgles31centroid_rgba8uiTestCase.cpp", 56 "../core/Khrgles31core_constant_expressionsTestCase.cpp", 57 "../core/Khrgles31core_layout_bindingTestCase.cpp", 58 "../core/Khrgles31core_sepshaderobjsTestCase.cpp", 59 "../core/Khrgles31core_shader_atomic_countersTestCase.cpp", 60 "../core/Khrgles31core_shader_integer_mixTestCase.cpp", 61 "../core/Khrgles31core_texture_gatherTestCase.cpp", 62 "../core/Khrgles31interpolate_at_centroid_check_rgba32fTestCase.cpp", 63 "../core/Khrgles31interpolate_at_centroid_check_rgba8TestCase.cpp", 64 "../core/Khrgles31interpolate_at_centroid_check_rgba8iTestCase.cpp", 65 "../core/Khrgles31interpolate_at_centroid_check_rgba8uiTestCase.cpp", 66 "../core/Khrgles31interpolate_at_centroid_rgba32fTestCase.cpp", 67 "../core/Khrgles31interpolate_at_centroid_rgba8TestCase.cpp", 68 "../core/Khrgles31interpolate_at_centroid_rgba8iTestCase.cpp", 69 "../core/Khrgles31interpolate_at_centroid_rgba8uiTestCase.cpp", 70 "../core/Khrgles31interpolate_at_offset_check_rgba32fTestCase.cpp", 71 "../core/Khrgles31interpolate_at_offset_check_rgba8TestCase.cpp", 72 "../core/Khrgles31interpolate_at_offset_check_rgba8iTestCase.cpp", 73 "../core/Khrgles31interpolate_at_offset_check_rgba8uiTestCase.cpp", 74 "../core/Khrgles31interpolate_at_offset_rgba32fTestCase.cpp", 75 "../core/Khrgles31interpolate_at_offset_rgba8TestCase.cpp", 76 "../core/Khrgles31interpolate_at_offset_rgba8iTestCase.cpp", 77 "../core/Khrgles31interpolate_at_offset_rgba8uiTestCase.cpp", 78 "../core/Khrgles31interpolate_at_sample_check_rgba32fTestCase.cpp", 79 "../core/Khrgles31interpolate_at_sample_check_rgba8TestCase.cpp", 80 "../core/Khrgles31interpolate_at_sample_check_rgba8iTestCase.cpp", 81 "../core/Khrgles31interpolate_at_sample_check_rgba8uiTestCase.cpp", 82 "../core/Khrgles31interpolate_at_sample_rgba32fTestCase.cpp", 83 "../core/Khrgles31interpolate_at_sample_rgba8TestCase.cpp", 84 "../core/Khrgles31interpolate_at_sample_rgba8iTestCase.cpp", 85 "../core/Khrgles31interpolate_at_sample_rgba8uiTestCase.cpp", 86 "../core/Khrgles31position_fixedTestCase.cpp", 87 "../core/Khrgles31position_non-fixedTestCase.cpp", 88 "../core/Khrgles31render_rgba32fTestCase.cpp", 89 "../core/Khrgles31render_rgba8TestCase.cpp", 90 "../core/Khrgles31render_rgba8iTestCase.cpp", 91 "../core/Khrgles31render_rgba8uiTestCase.cpp", 92 "../core/Khrgles31rgba32f_samples_0TestCase.cpp", 93 "../core/Khrgles31rgba32f_samples_1TestCase.cpp", 94 "../core/Khrgles31rgba32f_samples_2TestCase.cpp", 95 "../core/Khrgles31rgba32f_samples_4TestCase.cpp", 96 "../core/Khrgles31rgba32f_samples_8TestCase.cpp", 97 "../core/Khrgles31rgba8_samples_0TestCase.cpp", 98 "../core/Khrgles31rgba8_samples_1TestCase.cpp", 99 "../core/Khrgles31rgba8_samples_2TestCase.cpp", 100 "../core/Khrgles31rgba8_samples_4TestCase.cpp", 101 "../core/Khrgles31rgba8_samples_8TestCase.cpp", 102 "../core/Khrgles31rgba8i_samples_0TestCase.cpp", 103 "../core/Khrgles31rgba8i_samples_1TestCase.cpp", 104 "../core/Khrgles31rgba8i_samples_2TestCase.cpp", 105 "../core/Khrgles31rgba8i_samples_4TestCase.cpp", 106 "../core/Khrgles31rgba8i_samples_8TestCase.cpp", 107 "../core/Khrgles31rgba8ui_samples_0TestCase.cpp", 108 "../core/Khrgles31rgba8ui_samples_1TestCase.cpp", 109 "../core/Khrgles31rgba8ui_samples_2TestCase.cpp", 110 "../core/Khrgles31rgba8ui_samples_4TestCase.cpp", 111 "../core/Khrgles31rgba8ui_samples_8TestCase.cpp", 112 "../core/Khrgles31sample_rgba32fTestCase.cpp", 113 "../core/Khrgles31sample_rgba8TestCase.cpp", 114 "../core/Khrgles31sample_rgba8iTestCase.cpp", 115 "../core/Khrgles31sample_rgba8uiTestCase.cpp", 116 "../core/Khrgles31sample_shading_apiTestCase.cpp", 117 "../core/Khrgles31sample_variables_verificationTestCase.cpp", 118 "../core/Khrgles31shader_bitfield_operation_bitCountTestCase.cpp", 119 "../core/Khrgles31shader_bitfield_operation_bitfieldExtractTestCase.cpp", 120 "../core/Khrgles31shader_bitfield_operation_bitfieldInsertTestCase.cpp", 121 "../core/Khrgles31shader_bitfield_operation_bitfieldReverseTestCase.cpp", 122 "../core/Khrgles31shader_bitfield_operation_findLSBTestCase.cpp", 123 "../core/Khrgles31shader_bitfield_operation_findMSBTestCase.cpp", 124 "../core/Khrgles31shader_bitfield_operation_frexpTestCase.cpp", 125 "../core/Khrgles31shader_bitfield_operation_imulExtendedTestCase.cpp", 126 "../core/Khrgles31shader_bitfield_operation_ldexpTestCase.cpp", 127 "../core/Khrgles31shader_bitfield_operation_packSnorm4x8TestCase.cpp", 128 "../core/Khrgles31shader_bitfield_operation_packUnorm4x8TestCase.cpp", 129 "../core/Khrgles31shader_bitfield_operation_uaddCarryTestCase.cpp", 130 "../core/Khrgles31shader_bitfield_operation_umulExtendedTestCase.cpp", 131 "../core/Khrgles31shader_bitfield_operation_unpackSnorm4x8TestCase.cpp", 132 "../core/Khrgles31shader_bitfield_operation_unpackUnorm4x8TestCase.cpp", 133 "../core/Khrgles31shader_bitfield_operation_usubBorrowTestCase.cpp", 134 "../core/Khrgles31shader_multisample_interpolation_apiTestCase.cpp", 135 "../core/Khrgles31texture_storage_multisample_APIDependenciesTestCase.cpp", 136 "../core/Khrgles31texture_storage_multisample_APIGLGetActiveUniformTestCase.cpp", 137 "../core/Khrgles31texture_storage_multisample_APIGLGetMultisamplefvTestCase.cpp", 138 "../core/Khrgles31texture_storage_multisample_APIGLGetTexLevelParameterifvTestCase.cpp", 139 "../core/Khrgles31texture_storage_multisample_APIGLTexStorage2DMultisampleTestCase.cpp", 140 "../core/Khrgles31texture_storage_multisample_APIGLTexStorage3DMultisampleTestCase.cpp", 141 "../core/Khrgles31texture_storage_multisample_FunctionalTestsTestCase.cpp", 142 "../core/Khrgles31texture_storage_multisample_GLCoverageTestCase.cpp", 143 ] 144 145 include_dirs = [ "../../../src" ] 146 147 deps = [ ":libkhrgles31func0001" ] 148 149 cflags = [ "-Wno-error" ] 150} 151