mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-22 14:26:00 +00:00
Bannerlator's File Manager, a cog per launch mode with HDR10, leftover-process sweep, the drawer's Steam menu
The file picker is now Bannerlator's File Manager itself (files/FileManagerScreen.kt, carried over whole with its rail, favourites, grid/list, copy/cut/paste, rename, delete, properties) minus what has no meaning without a Wine container: run, add to shortcuts, C:/Z: drives, the archive unpacker. StorageRoots, CollapsibleRail, FavoritesStore, PeIconExtractor, OutlinedAlertDialog and MenuStyle come with it unchanged; FileOps carries the progress copy/move. A Files tile opens it; its pick mode chooses the ROMs folder and imports drivers. Play and Desktop each get a cog: resolution cap (1080p default, 900p, 720p, panel), shape, HDR10, the mode's Linux runtime driver, the display driver, touch, and per mode the on-screen controls + audio (Steam) or the renderer (desktop). The Graphics drivers and Audio tiles are gone into them. HDR10: HdrSupport reads the panel's HDR types; the switch is greyed with the reason unless HDR10 is listed. On, the activity feeds the compositor's gate (nativeSetHdrDisplay + nativeSetHdrRequest), turns zero-copy on, sets BANNER_WAYLAND_HDR=1, and the session gets BL_HDR=1 (gamescope --hdr-enabled) and DXVK_HDR=1. OrphanReaper kills every process of our uid but the app at session start and on an app crash: a tree left by a killed app held the rootfs, the GPU and Steam's lock, and the next session never came up (Thor Pro report). The drawer gains Steam menu, which sends the Guide button.
This commit is contained in:
1 parent
cb5a1b5a31
commit
9ad922348b
28 files changed
+3754
-566
No files matched your search
@@ -101,6 +101,9 @@ if [ -z "${BL_INSIDE:-}" ]; then
|
||||
args+=(-r "$BL_REFRESH")
|
||||
fi
|
||||
[ "$mode" = steam ] && args+=(-e)
|
||||
# HDR10: the app opened its compositor's colour-management gate for this session (BL_HDR=1);
|
||||
# gamescope then offers HDR to its clients through the same wp_color_manager_v1 it binds on ours.
|
||||
[ "${BL_HDR:-0}" = 1 ] && args+=(--hdr-enabled)
|
||||
export BL_INSIDE=1
|
||||
exec gamescope "${args[@]}" -- "$0" "$mode" "$@"
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user