代码拉取完成,页面将自动刷新
同步操作将从 贾超/ohos_visionfive_hdi_display 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Copyright (C) 2021-2022 HiHope Open Source Organization .
# 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("//build/ohos.gni")
group("display_group") {
deps = [
":display_device",
":display_gfx",
":display_gralloc",
":higbm",
]
}
ohos_static_library("higbm") {
sources = [ "src/display_gralloc/hi_gbm.c" ]
include_dirs = [
"include",
"//utils/native/base/include",
"//base/hiviewdfx/interfaces/innerkits/libhilog/include",
]
output_name = "higbm"
cflags = [
"-DGRALLOC_GBM_SUPPORT",
"-Wno-macro-redefined",
]
deps = [
"//third_party/libdrm:libdrm",
"//utils/native/base:utils",
]
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
}
ohos_shared_library("display_gralloc") {
sources = [
"src/display_gralloc/display_gralloc.c",
"src/display_gralloc/display_gralloc_gbm.c",
]
include_dirs = [
"include",
"//drivers/peripheral/display/interfaces/include",
"//drivers/peripheral/base",
"//drivers/hdf_core/framework/include/utils",
"//drivers/hdf_core/adapter/uhdf2/osal/include",
"//utils/native/base/include",
"//foundation/graphic/standard/utils/include",
"//foundation/graphic/standard/prebuilts/librarys/drm/include",
"//base/hiviewdfx/interfaces/innerkits/libhilog/include",
]
output_name = "display_gralloc"
cflags = [
"-DGRALLOC_GBM_SUPPORT",
"-Wno-macro-redefined",
]
deps = [
":higbm",
"//third_party/libdrm:libdrm",
"//utils/native/base:utils",
]
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
install_enable = true
install_images = [ chipset_base_dir ]
subsystem_name = "hdf"
part_name = "drivers_peripheral_display"
}
ohos_shared_library("display_gfx") {
sources = [ "src/display_gfx/display_gfx.c" ]
include_dirs = [
"include",
"//drivers/peripheral/display/interfaces/include",
"//drivers/peripheral/base",
"//drivers/hdf_core/framework/include/utils",
"//drivers/hdf_core/adapter/uhdf2/adapter/osal/include/",
"//utils/native/base/include",
"//foundation/graphic/standard/utils/include",
# "//device/soc/rockchip/rk3568/hardware/rga/include/",
"//base/hiviewdfx/interfaces/innerkits/libhilog/include",
]
output_name = "display_gfx"
cflags = [ "-Wno-macro-redefined" ]
deps = [
":display_gralloc",
# "//device/soc/rockchip/rk3568/hardware/rga:librga",
"//utils/native/base:utils",
]
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
install_enable = true
install_images = [ chipset_base_dir ]
subsystem_name = "hdf"
part_name = "drivers_peripheral_display"
}
ohos_shared_library("display_device") {
sources = [
"src/display_device/drm_connector.cpp",
"src/display_device/drm_crtc.cpp",
"src/display_device/drm_device.cpp",
"src/display_device/drm_display.cpp",
"src/display_device/drm_encoder.cpp",
"src/display_device/drm_plane.cpp",
"src/display_device/drm_vsync_worker.cpp",
"src/display_device/hdi_composer.cpp",
"src/display_device/hdi_device_interface.cpp",
"src/display_device/hdi_display.cpp",
"src/display_device/hdi_drm_composition.cpp",
"src/display_device/hdi_drm_layer.cpp",
"src/display_device/hdi_gfx_composition.cpp",
"src/display_device/hdi_layer.cpp",
"src/display_device/hdi_netlink_monitor.cpp",
"src/display_device/hdi_session.cpp",
]
output_name = "display_device"
include_dirs = [
"src/display_device",
"include",
"//drivers/peripheral/display/interfaces/include",
"//drivers/peripheral/base",
"//drivers/hdf_core/framework/include/utils",
"//drivers/hdf_core/adapter/uhdf2/osal/include",
"//utils/native/base/include",
"//foundation/graphic/standard/utils/include",
"//foundation/graphic/standard/prebuilts/librarys/drm/include",
"//base/hiviewdfx/interfaces/innerkits/libhilog/include",
]
deps = [
":display_gfx",
":display_gralloc",
"//third_party/libdrm:libdrm",
"//utils/native/base:utils",
]
cflags_cc = [
"-Wno-error=unused-function",
"-Wno-error=missing-braces",
"-Wno-error=#warnings",
]
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
symlink_target_name = [ "libdisplay_layer.z.so" ]
install_enable = true
install_images = [ chipset_base_dir ]
subsystem_name = "hdf"
part_name = "drivers_peripheral_display"
}
group("display_layer") {
deps = [
":display_device",
":display_gfx",
":display_gralloc",
":higbm",
]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。