mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-05 20:45:43 +00:00
Port of the NeuralScale layer (previous commit) for DroidDeck: - Layer VK_LAYER_DROIDDECK_upscale, library libVkLayer_droiddeck_upscale.so, implicit manifest template (DROIDDECK_UPSCALE=1 / DROIDDECK_UPSCALE_DISABLE=1). - Settings read as DROIDDECK_UPSCALE_<KEY>, then WINLATOR_FSR4_<KEY>. - No hardcoded com.winlator.cmod data dir; without a dir frames get the blit fallback. - Compiled NPU graph caches go to <dir>/<htp arch>/ (v79/v81 from HTP_ARCH, the SoC properties or the mapped QNN stub) instead of <dir>/v81/. - The arch stub is loaded from the QNN library search list first, so NATIVELIB_DIR is enough without LD_LIBRARY_PATH. - driverID/driverName are only rewritten with GPU_SPOOF word "1"; SPOOF_DLSS=1 alone reports RTX vendor/device IDs. - APK build via app/src/main/cpp/CMakeLists.txt; glibc build for the PRoot guest (build-glibc.sh, DD_UPSCALE_NO_ANDROID: QNN stubs, stderr log) in the runtime recipe, installed to usr/local/lib/droiddeck-upscale-layer/. - -Bsymbolic so the exported vkGetInstanceProcAddr is not interposed by a libvulkan in the global scope. - Pack scripts take their paths as arguments. Seam protocol, buffer sizes, magic values and backend IDs are unchanged.