strongtz 发表于 2019-8-19 16:04:33

成功启用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:33

好样的,我也成功了
页: [1]
查看完整版本: 成功启用rk3399上的vulkan API