|
【Android】
成功启用rk3399上的vulkan API
发表于 2019-8-19 16:04:33
浏览:7437
|
回复:1
打印
只看该作者
[复制链接]
楼主
教程如下:
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环境下测试通过
|
|