Repository navigation
MaliBridge v0.3.1
MaliBridge v0.3.1
VKBRIDGE_BC_TRANSCODE_QUALITY=fast(server side; also from<cache dir>/env): a cheaper search in the ETC2/EAC/ASTC encoders for faster texture uploads. On the Mali-G720 a 4096x4096x2 BC7 upload takes 216.9 ms instead of 272.8 ms (-20%), and image quality drops by 0.3-1.2 dB PSNR inbcn_check transcode, with every check still passing.defaultis bit-identical to v0.3.highexists but gave no gain on the test images, for 371 ms.- Client fix: when two threads made their first call at the same moment, each could pick its own process token, and the server would treat them as two processes. They now share one.
- Host testing:
make TSAN=1builds a ThreadSanitizer client and server intohost/out-tsan. A TSAN run of the batching path found no race, which rules out an ARM memory-ordering explanation for the Risk of Rain 2 flicker. Descriptor batching stays off by default.
The new BC copy-in tests from v0.3 also pass on the G720. The protocol hash is unchanged (4a9da939fdf65896).
Attached files
libvkbridge_server.so,libvkbridge_jni.so: server (Android arm64-v8a, API 26+)libvulkan_droidbridge.so,droidbridge_icd.json: client ICD (Linux glibc, aarch64)