mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-05 20:45:43 +00:00
upscale: build the upscaler layer as VK_LAYER_DROIDDECK_upscale
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.
This commit is contained in:
1 parent
7972c18e50
commit
b4210b5a67
18 files changed
+749
-135
No files matched your search
@@ -30,6 +30,7 @@ message(STATUS "dd-fg chain: win-fg ${DDFG_UPSTREAM} (src ${DDFG_CHAIN_HASH})")
|
||||
|
||||
add_subdirectory(waylandcomp)
|
||||
add_subdirectory(questxr)
|
||||
add_subdirectory(../../../../tools/upscale/layer upscale_layer)
|
||||
add_library(sdnative SHARED sdnative/sdnative.c)
|
||||
target_link_libraries(sdnative log)
|
||||
|
||||
|
||||
Reference in new issue
Block a user