Commit Graph
5353 Commits
Author SHA1 Message Date
Henrik Rydgård eb21a2e6c9 Break out the OSD data holder from Common/System/System.h, into OSD.cpp/h 2023-06-30 17:15:49 +02:00
fp64 f133739cd0 Replace some signed divison in SoftGPU
This also adds a few bitwise operations to Vec4<int> and further
SIMDifies it.
Also, fixes unrelated warning.
2023-06-29 16:43:21 -04:00
Henrik RydgårdandGitHub c66182a583 Merge pull request #17637 from hrydgard/revert-path-change
Revert "Path: If a Path is empty, the slash operator will not add an additional slash."
2023-06-27 23:39:53 +02:00
Henrik Rydgård 27847abac4 Fix two OSD rendering bugs (messages with text2 didn't render it, text alignment with icon) 2023-06-27 23:39:13 +02:00
Henrik Rydgård 19b494ba1e Revert "Path: If a Path is empty, the slash operator will not add an additional slash."
This reverts commit 864b2bbb31.
2023-06-27 23:31:59 +02:00
Henrik RydgårdandGitHub e4229886b7 Merge pull request #17636 from lvonasek/review_openxr
OpenXR - Major review
2023-06-27 20:07:42 +02:00
Lubos 880168ee3c OpenXR - Fix render glitches caused by wrong mirroring 2023-06-27 18:54:38 +02:00
Henrik RydgårdandGitHub caf6d8442a Merge pull request #17630 from m4xw/common
Common & CodeBlock changes for Nintendo Switch
2023-06-27 14:43:23 +02:00
M4xw 6fdf953136 [Common] Placeholder Crash() impl. for Nintendo Switch 2023-06-27 14:21:56 +02:00
M4xw b52d3f64ff [Common] Add cstring include to ArmCPUDetect 2023-06-27 14:21:56 +02:00
M4xw 21be8c3c2b [Common] CommonType base for Nintendo Switch
Avoid name conflicts & declare certain types
2023-06-27 14:21:55 +02:00
M4xw 36584aa6f4 [CodeBlock] W^X dualbase impl. for Nintendo Switch 2023-06-27 14:21:52 +02:00
Henrik RydgårdandGitHub 01cf22e074 Merge pull request #17589 from hrydgard/retroachievements-initial-work
Retroachievements support (work-in-progress)
2023-06-27 00:13:53 +02:00
Lubos 0b68644063 Revert "OpenXR - Workaround for disfunctional depth buffer allocation"
This reverts commit 6dc264e7e5.
2023-06-26 17:27:46 +02:00
Lubos a6709c70e0 OpenXR - Code cleanup 2023-06-26 17:26:56 +02:00
M4xw 0cf6f46330 [MemoryUtil] Platform changes for Nintendo Switch 2023-06-26 16:17:45 +02:00
M4xw b4f602de85 [MemArena] Opt-out of MemArenaPosix for Switch 2023-06-26 13:58:39 +02:00
Henrik Rydgård 864b2bbb31 Path: If a Path is empty, the slash operator will not add an additional slash. 2023-06-26 10:01:42 +02:00
Henrik Rydgård 87846c5fcb Add simple facility for storing secret in app-private storage on Android (other platforms not so good) 2023-06-26 10:01:42 +02:00
Henrik Rydgård 69a5ca0e1d A bunch of visual updates and fixes. Lots left to polish. 2023-06-26 10:01:42 +02:00
Henrik Rydgård c442d1de86 Implement rendering of unlocked achievements. Not final design. 2023-06-26 10:01:42 +02:00
Henrik Rydgård 1d0badae56 Achievements: Show achievement icons in list 2023-06-26 10:01:41 +02:00
Henrik Rydgård 93de74144e Add basic achievement rendering 2023-06-26 10:01:41 +02:00
Henrik Rydgård 8beca03e7e MacOSX buildfixes 2023-06-26 10:01:41 +02:00
Henrik Rydgård f6fdaa4f56 Get it to recognize the hash by using the rcheevos hash implementation 2023-06-26 10:01:41 +02:00
Henrik Rydgård 029b887491 Initial batch of fixes. Not compiling yet, http will be the tricky one. 2023-06-26 10:01:40 +02:00
Henrik Rydgård 4745999665 Copy-paste retroachievement support from DuckStation. No fixes yet! 2023-06-26 10:01:40 +02:00
haorui fb91cf9b21 align should be 3 when format is GL_RGB and type is GL_UNSIGNED_BYTE 2023-06-24 16:09:28 +08:00
Henrik Rydgård cf587d2ccc More cleanup after making PopupTextInputChoice choose method automatically 2023-06-22 09:01:14 +02:00
Henrik Rydgård 337668af3e Make PopupTextInputChoice smarter (use native dialog if possible) 2023-06-22 08:58:30 +02:00
Henrik Rydgård 38f174eab4 Add query for system text input 2023-06-22 08:58:30 +02:00
Henrik Rydgård 0a1bf5532d UI: Allow showing popup string values as password stars 2023-06-22 08:58:29 +02:00
Henrik Rydgård 2708f0b93e Add a new "System" request for a username-password dialog box 2023-06-22 08:58:29 +02:00
M4xw 436b55de72 [MemArena] Add designated impl for Nintendo Switch 2023-06-22 00:06:59 +02:00
M4xw 5b6bc0cea7 [MemArena] Honor MV_MIRROR_PREVIOUS on ReleaseView
Allows for clean teardown of the Memory Map for Switch
2023-06-22 00:01:38 +02:00
Henrik Rydgård 266b85d22d Support for extra text in OSD messages (drawn smaller, on darker background) 2023-06-21 01:16:25 +02:00
Henrik Rydgård c76b6a48ab Prepare for detailed overlay messages 2023-06-21 01:08:25 +02:00
Henrik Rydgård ff75eced70 Progress bar: Fix the indeterminate state 2023-06-21 01:08:24 +02:00
Henrik Rydgård d2c3a7c978 Add support for displaying progress bars 2023-06-20 22:44:31 +02:00
Henrik Rydgård 6ba0479edc OSD: Add colored backgrounds to OSD messages, according to type.
This also reorganizes a little to make rendering achievement popups more
natural later.

Adds info.png to the atlasscript, but doesn't yet rebuild it - more
images are coming.
2023-06-20 17:32:45 +02:00
Henrik Rydgård 575c428867 Buildfix 2023-06-20 15:23:45 +02:00
Henrik Rydgård ed0c4b7a9e Rename OSD "Message" to "Entry" since it can soon be multiple other things (progress bar, etc). 2023-06-20 15:07:34 +02:00
Henrik Rydgård 7cc8c6cea4 OSD: Add semantics, move the the OSD state to common (while keeping the renderer in the UI). 2023-06-20 14:40:46 +02:00
Henrik Rydgård d6552a7673 Implement an "OverlayScreen" concept. OSD can now render on top of other screens than EmuScreen. 2023-06-20 10:44:47 +02:00
Henrik Rydgård 300a64a86d IconCache: Remove texture objects quite quickly after it stops getting used.
They can be recreated pretty quickly as needed.
2023-06-18 15:24:56 +02:00
Henrik Rydgård 6f9941dafa Crashfix during clearing 2023-06-18 15:14:42 +02:00
Henrik Rydgård 2bf2f745e2 IconCache: Add pending state to avoid duplicate downloads in some cases 2023-06-18 14:54:11 +02:00
Henrik Rydgård cb5926761b Add a way to monitor the icon cache from the system info screen. 2023-06-18 14:18:45 +02:00
Henrik Rydgård 2bee5b64e4 Add new icon cache, for caching small images.
It doesn't try to insert or fetch missing things itself, re-fetching is up to the caller.

This will be required for handling the many achievement icons.

Saving/loading the cache to a single file on disk is implemented but not
hooked up yet. It works without it, though of course will have to
re-fetch things on the next startup.
2023-06-18 14:11:12 +02:00
Henrik Rydgård 9f88dbd656 Icon cache for UI rendering
This will be needed for achievements, and has uses already now.
2023-06-18 14:11:12 +02:00