Firefly开源社区

标题: 成功启用rk3399上的vulkan API [打印本页]

作者: strongtz    时间: 2019-8-19 16:04
标题: 成功启用rk3399上的vulkan API
教程如下:
1. open your file manager
go to : /system/etc/permissions
make 2 new files
android.hardware.vulkan.level.xml
android.hardware.vulkan.version.xml

2.
open android.hardware.vulkan.level.xml
add this :
<permissions>
<feature name="android.hardware.vulkan.level" version="0" />
</permissions>
save & close

open android.hardware.vulkan.version.xml
Add this:
<permissions>
<feature name="android.hardware.vulkan.version" version="4194307" />
</permissions>
save & exit

3.
go to /system/vendor
open lib/egl
copy libGLES_mali.so & paste it to lib/hw
rename libGLES_mali.so at the lib/hw folder to vulkan.rk3399.so
next
open lib64/egl
copy libGLES_mali.so & paste it to lib64/hw
rename libGLES_mali.so at the lib/hw folder to vulkan.rk3399.so

4. reboot

在ROC-RK3399-PC的Android 7.1环境下测试通过


作者: jessbrick    时间: 2020-4-15 15:49
好样的,我也成功了




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1