[Mesa] (https://mesa3d.org) - The 3D Graphics Library
To use Zink with proprietary Vulkan driver:
pkg install vulkan-loader-android
To use Zink with Turnip Freedreno driver:
pkg install mesa-vulkan-icd-freedreno
You also may compile it yourself.
Tests were run in the Wine Hangover 9.3 in Termux. Device - Poco F1 (Adreno 630). A proprietary Vulkan driver was used with Zink.
Taken from here.
pkg update && pkg upgrade
pkg install -y x11-repo
pkg install -y clang lld binutils cmake autoconf automake libtool 'ndk' make python git libandroid-shmem-static ninja llvm bison flex libx11 xorgproto libdrm libpixman libxfixes libjpeg-turbo xtrans libxxf86vm xorg-xrandr xorg-font-util xorg-util-macros libxfont2 libxkbfile libpciaccess xcb-util-renderutil xcb-util-image xcb-util-keysyms xcb-util-wm xorg-xkbcomp xkeyboard-config libxdamage libxinerama libxshmfence
pip install meson mako pyyaml
Build Mesa Zink using this repository.
Go to the folder with Mesa code and run the commands:
LDFLAGS='-l:libandroid-shmem.a -llog' meson . build -Dgallium-va=disabled -Dgallium-drivers=virgl,zink,swrast -Ddri3=disabled -Dvulkan-drivers= -Dglx=xlib -Dplatforms=x11 -Dllvm=disabled -Dbuildtype=release
ninja -C build install
This repository lives at https://gitlab.freedesktop.org/mesa/mesa.
Other repositories are likely forks, and code found there is not supported.