feature/project-thor-optimizations #128

Merged
Zephyron merged 6 commits from feature/project-thor-optimizations into main 2026-02-04 23:49:28 -05:00
Contributor
No description provided.
- Implement thread-safe singleton VfsCache class for O(1) file metadata lookup
- Add game asset priority caching with extended expiration (5 min vs 60s)
- Include directory listing cache for reduced SAF overhead
- Support LRU-based smart eviction preserving game assets
- Increase cache limits to 100K entries for high-memory devices (12GB Thor)

Signed-off-by: Zephyron <[email protected]>
- Add SWITCHABLE(float, true) to support custom resolution factors
- Enable 1.5x scaling (900p/1080p) for handheld devices like AYN Thor

Signed-off-by: Zephyron <[email protected]>
- Add Project Pathfinder optimization comments for Thor/Adreno 740
- Log native ASTC support detection for debugging
- Report device_id for non-7xx Adreno GPUs

Signed-off-by: Zephyron <[email protected]>
- 6+ core devices: Use n-2 threads (e.g., 8-core uses 6 threads)
- Lower-end devices: Keep 3 free cores as before
- Improves shader compilation speed during game loading

Signed-off-by: Zephyron <[email protected]>
- Add ThorPresentation.kt for secondary display performance dashboard
- Create thor_presentation.xml with real-time stats layout
- Modify EmulationActivity to auto-detect secondary displays
- Display FPS, speed, frame time, resolution, and shader status
- Color-coded FPS indicator (green/yellow/orange/red)
- Add 12 new string resources for Thor dashboard UI
- Keep main screen immersive while bottom screen shows stats

Signed-off-by: Zephyron <[email protected]>
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Kintoki/Emulator!128
No description provided.