Commit Graph
3 Commits
Author SHA1 Message Date
shenleiandClaude Opus 5.5 3429c6c0a4 Android: render at the screen's native height (900-1080), 3D target kept 720 high
UI and text now reach the screen 1:1 instead of through a 1.2x linear
upscale. The 3D scale on Android is derived from a 720-high target and
the two dynamic levels follow proportionally (720 -> 648 -> 630).
DM_3D_SCALE still sets an absolute scale. OnePlus 13: 2376x1080 output,
GPU 12.1 -> 11.9 ms/frame, 60 fps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 16:54:51 +09:00
shenleiandClaude Opus 5.5 3076dc4a69 Android: full frame rate after returning from background; no black blocks at the top on entering a run
- nvn_vk.c: present-link tick period estimated over a 60-tick window
  minimum and reset on refresh-rate change, so frame pacing no longer
  locks to ~20 fps after resume. Swapchain acquire barrier srcStage is
  TRANSFER (spec fix).
- GameActivity.java: HUD overlay without a hardware layer; compositing
  that offscreen layer on Adreno produced stepped black blocks at the
  top of the screen during the first ~18 s in game.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 16:54:51 +09:00
shenleiandClaude Opus 5.5 4d91f80bae Android port (Adreno): Vulkan backend, GameActivity app, touch HUD, lifecycle, minimap quest goals
- host/android: Vulkan replay backend (nvn_vk.c) with pipeline/descriptor caching, ADPF,
  AChoreographer present link; Linux compat layer; Makefile.android (headless dmhost + APK lib)
- android/app: GameActivity shell without Gradle (build_apk.sh), AAudio output, touch HUD port
  (touch_app.c + TouchOverlay.java, three layers: body / joystick / minimap goals),
  lifecycle save-on-background like iOS, art_from_ipa.py for touch / HUD / mapgoal art
- touch: shared touch controls moved from ios/Sources to dm/touch
- patch_nso.py Android ruleset, dmsh_vk.py shader pack, DM_TOUCH_PRODUCT defaults
- hle_audio: AAudio resume waits through STARTING and reopens once on failure
- .gitignore: local resources/ (original game data) never committed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 14:55:05 +09:00