【更新】适用高通系列freedreno适配OpenHarmony的开源GPU库
高通系列freedreno适配OpenHarmony的开源GPU库,此次更新基于mesa-22.2.4 (arm64版本)。距离上一次适配一加6T释放的mesa3d-21.3.3开源库,已经过去大半年, OpenHarmony持续迭代,已经变得越来越好,预计10月中下旬4.0-Release到来。此次更新,同样适用移植OpenHarmony时,采用高通系列的Andreno GPU(mesa3d支持的GPU系列),小米6、小米poco、一加6/6T等均可使用。
一、GPU库下载
链接: https://pan.baidu.com/s/1xfiJw_-QeTkZqI9Rb3YqYA?pwd=xrst
提取码: xrst
版本号:mesa3d-22.2.4
二、编译配置信息
Checking for function "mincore" : YES
Program /usr/bin/python3 found: YES (/usr/bin/python3)
WARNING: Library target 'EGL' has 'name_prefix' set. Compilers may not find it from its '-lEGL' linker flag in the 'egl.pc' pkg-config file.
WARNING: Library target 'EGL' has 'name_prefix' set. Compilers may not find it from its '-lEGL' linker flag in the 'egl-uninstalled.pc' pkg-config file.
Message: Configuration summary:
prefix: /home/algoideas/openharmony/mesa3d/mesa3d/build-ohos/install
libdir: lib
includedir: include
OpenGL: yes (ES1: yes ES2: yes)
OSMesa: no
DRI platform: drm
DRI drivers: no
DRI driver dir: /home/algoideas/openharmony/mesa3d/mesa3d/build-ohos/install/lib/dri
EGL: yes
EGL drivers: builtin:egl_dri2 builtin:egl_dri3
EGL/Vulkan/VL platforms: ohos surfaceless
GBM: yes
GBM backends path: /home/algoideas/openharmony/mesa3d/mesa3d/build-ohos/install/lib/gbm
Video Codecs:
Vulkan drivers: no
llvm: no
Gallium drivers: freedreno
Gallium st: mesa xa
HUD lmsensors: no
Shared-glapi: yes
Perfetto: no
Perfetto ds: auto
Build targets in project: 205
WARNING: Project specifies a minimum meson_version '>= 0.53' but uses features which were added in newer versions:
* 0.55.0: {'"test" keyword argument "protocol" value "gtest"'}
mesa 22.2.4
Subprojects
llvm : NO Neither a subproject directory nor a llvm.wrap file was found.
User defined options
Cross files : cross_file
prefix : /home/algoideas/openharmony/mesa3d/mesa3d/build-ohos/install
cpp_rtti : false
dri-drivers :
dri-search-path : /vendor/lib64/chipsetsdk
egl : enabled
egl-native-platform: ohos
gallium-drivers : freedreno
gbm : enabled
glx : disabled
platforms : ohos
tools :
vulkan-drivers :
Found ninja-1.10.0 at /usr/bin/ninja