Merge MaliBridge integration (feat/malibridge) into 0.6.7

This commit is contained in:
DroidDeck Merge committed 2026-10-31 19:01:40 +08:00
commit d4a6d95127
72 files changed
+1972 -52

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
MaliBridge
Copyright (C) 2026 ASEbrahim and MaliBridge contributors
https://github.com/ASEbrahim/MaliBridge
MaliBridge is free software: you can redistribute it and/or modify it under the terms of the GNU
General Public License as published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version. See LICENSE.
Additional terms under section 7 of the GNU GPL version 3:
1. Attribution (section 7(b)). Anyone who conveys MaliBridge, or a work based on it, in source or
object form must keep the notice "MaliBridge by ASEbrahim" with a link to
https://github.com/ASEbrahim/MaliBridge in the conveyed work's documentation, and, where the
work has a user interface that shows credits, licences or an "about" screen, in that screen.
2. Names (section 7(e)). This licence grants no right to use the name "MaliBridge" or the
author's name to name or promote a modified version. A modified version must be marked as
changed and must not be presented as MaliBridge or as the author's work.
Third-party components keep their own licences and notices (third_party/ and the files that name
them).
+33
View File
@@ -0,0 +1,33 @@
# MaliBridge by ASEbrahim
MaliBridge by ASEbrahim: https://github.com/ASEbrahim/MaliBridge
(GPL-3.0-or-later with the additional terms in NOTICE here, copied unchanged from the project).
DroidDeck builds MaliBridge from the `external/MaliBridge` submodule, pinned at 48477fe
(v0.5.4) and not modified. Its Vulkan ICD runs inside the Linux runtime and forwards each call
over a Unix socket to its server, which runs in the app on the phone's own Vulkan driver.
DroidDeck uses it only on a GPU without Adreno's KGSL; an Adreno keeps Turnip.
The DroidDeck side of the bridge (the Setup switches, the server's start and session wiring, the
Mali render node stand-in, the compositor's AHardwareBuffer import off Adreno, the Steam web helper
layout, the socket wait and the DXVK choice for older Vulkan drivers) is Ahmad Sayed Alsayed
Ebrahim's (ASEbrahim) work from https://github.com/ASEbrahim/DroidDeck, kept under their name in
this repository's history.
MaliBridge's own credits, in its README, include:
- Vulkan-Headers 1.4.341 (Khronos Group), Apache-2.0 OR MIT: https://github.com/KhronosGroup/Vulkan-Headers
- Arm's HWCPipe (MIT), whose counter layouts its GPU counter reader follows: https://github.com/ARM-software/HWCPipe
- bcdec by Sergii Kudlai, MIT or Unlicense: https://github.com/iOrange/bcdec
- etc2_encode by Lee Gao, MIT: https://github.com/leegao/etc2_encode
- Lee Gao's Mali findings and SPIRV-Tools MaliOptimizationBarrierPass (Apache-2.0):
https://github.com/leegao/SPIRV-Tools, and compat_layer (MIT): https://github.com/leegao/compat_layer
- Julius Pinsker's bionic-vulkan-wrapper PR #228 (MIT)
- David Cimo's droiddeck-mali (GPL-3.0): https://github.com/DavidCimo/droiddeck-mali
- The412Banner's Mali compatibility layer and testing on the DroidDeck branch `test/non-adreno-all`
- taowen's libhybris `arlinux` branch (Apache-2.0): https://github.com/taowen/libhybris/tree/arlinux
- GameNative (GPL-3.0), wallentx's placed-memory layer for DroidDeck (MIT), Arm's published errata,
ANGLE's Mali workarounds, and design notes from Winlator's Vortek
Each keeps its own licence and notice in the submodule (`third_party/` and the files that name
them).