在OpenHarmony上适配图形显示【4】——rk3568_4.0r_mesa3d适配

离北况归
发布于 2025-9-21 15:38
浏览
0收藏

笔者之前学习mesa3d适配时,将4.0r的dayu200 闭源gpu库替换成了mesa3d开源库。鉴于社区没有完整补丁,只有部分参考教程。笔者将相关补丁开源如下:

https://gitee.com/OpenHarmony_rk_equipment_transplantation/mesa3d-adaptation

步骤

repo init -u https://gitee.com/openharmony/manifest -b OpenHarmony-4.0-Release --no-repo-verify
repo sync -c
repo forall -c 'git lfs pull'

# 打入补丁,再编 mesa3d gpu点屏的代码
git clone -b 4.0r_arm64 https://gitee.com/OpenHarmony_rk_equipment_transplantation/mesa3d-adaptation.git 
chmod 777 mesa3d-adaptation/patch.sh
./mesa3d-adaptation/patch.sh

rm -rf out && sh build.sh --product-name rk3568 --ccache

相关参考资料

标签
已于2025-9-21 15:41:59修改
收藏
回复
举报
回复
    相关推荐