Commit Graph
39166 Commits
Author SHA1 Message Date
Henrik Rydgård 14586d6125 Merge pull request #17607 from hrydgard/overlay-progress-bars
Overlay: Support progress bars and "extra text" in messages
2023-06-21 08:01:16 +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 9a3b2add27 Merge pull request #17606 from hrydgard/osd-design-update
OSD: Add colored backgrounds to OSD messages, according to type.
2023-06-20 19:12:07 +02:00
Henrik Rydgård d36e701622 Smoothly animate OSD messages 2023-06-20 18:39:30 +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 9df01a5bf3 Merge pull request #17605 from hrydgard/osd-refactoring
On-screen messages refactoring
2023-06-20 16:34:02 +02:00
Henrik Rydgård 8fa7cb2122 iOS buildfix, cleanup 2023-06-20 16:10:13 +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 d7e4055c4e Merge pull request #17604 from hrydgard/more-custom-buttons
More custom touch buttons (20)
2023-06-20 11:41:23 +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 91aa9405e5 Increase the amount of custom buttons to 20. 2023-06-20 10:42:56 +02:00
Henrik Rydgård 48fab112b9 Collapse the "Custom 1", "Custom 2" etc translation strings 2023-06-20 10:42:56 +02:00
Henrik Rydgård 73836e7bcb Custom buttons: Store them in an array, remove as many count restrictions as possible. 2023-06-20 10:42:53 +02:00
Henrik Rydgård 56e5cbee91 Merge pull request #17602 from unknownbrackets/elf-reloc
Loader: Support HI16/16 pairs, not just LO16
2023-06-19 08:12:10 +02:00
Unknown W. Brackets d4a0121ab6 Merge pull request #17600 from brad0/cmake_libzip_header_path
CMake: Include system libzip header path
2023-06-18 19:16:54 -07:00
Unknown W. Brackets a9dce5ae62 Merge pull request #17601 from brad0/cmake_x11_vulkan
CMake: Include X11 Xlib header path
2023-06-18 19:16:13 -07:00
Unknown W. Brackets b2b61d58d4 Loader: Support HI16/16 pairs, not just LO16.
Motorstorm: Arctic Edge US uses these pairs for some VFPU loads.
Without relocating these, strange shadows show underneath vehicles.

It appears as if actual firmware pairs with any non-HI16 relocation.
2023-06-18 19:06:29 -07:00
Unknown W. Brackets a9668bdb60 Debugger: More useful tag for section suballocs. 2023-06-18 19:04:18 -07:00
Brad Smith 5acbc4af78 CMake: Include X11 Xlib header path
Build fails trying to find X11/Xlib.h via ext/vulkan/vulkan.h.
2023-06-18 19:47:00 -04:00
Brad Smith 089a700d3e CMake: Include system libzip header path 2023-06-18 19:12:38 -04:00
Henrik Rydgård 264c6d740b Merge pull request #17599 from hrydgard/ui-icon-cache
UI: Icon image cache
2023-06-18 16:06:07 +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 8a27627a9f Use the new icon cache for the icons in the homebrew store. 2023-06-18 14:11:12 +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
Henrik Rydgård 20adf2f124 Merge pull request #17598 from lvonasek/compat_openxr_hotfix
OpenXR - Disable stereo for Ultimate Ghosts and Goblins
2023-06-18 13:32:23 +02:00
Lubos 1492b51b5b OpenXR - Disable stereo for Ultimate Ghosts and Goblins 2023-06-18 13:29:18 +02:00
Henrik Rydgård 7c81adbf2d Merge pull request #17596 from hrydgard/refactor-sysinfo-screen
System information screen: Re-use the TabbedDialogScreen logic
2023-06-18 13:11:08 +02:00
Henrik Rydgård 90085522ef System information screen: Re-use the TabbedDialogScreen logic
Want to do this before adding any more tabs here.
2023-06-18 12:22:36 +02:00
Unknown W. Brackets 0fb7d6f7d7 Merge pull request #17594 from hrydgard/backport-fixes
Port some fixes/improvements from the retroachievements branch
2023-06-17 14:39:22 -07:00
Henrik Rydgård 0983927319 Comment cleanup 2023-06-17 23:19:23 +02:00
Henrik Rydgård 31a6cecef9 Allow specifying content-type for posts instead of hardcoding. 2023-06-17 23:18:23 +02:00
Henrik Rydgård 2de510432d Rename our private md5 functions to not clash with other libraries (ugh) 2023-06-17 23:18:23 +02:00
Henrik Rydgård 71cb766393 Fix re-entrancy issue in Downloader 2023-06-17 23:18:23 +02:00
Henrik Rydgård 3bc2aaf7ca Set MIME type "correctly" (at least for retro purposes) for POSTs 2023-06-17 23:18:23 +02:00
Henrik Rydgård 601e767e3b HTTPClient: Generalize Download to support GET and POST 2023-06-17 23:18:23 +02:00
Henrik Rydgård 93fbb5cdda Merge pull request #17591 from lvonasek/feature_openxr_passthrough
OpenXR - Add passthrough option (Quest only)
2023-06-17 22:12:53 +02:00
Lubos cef7c5a1a1 OpenXR - Forgotten changes added 2023-06-17 21:55:47 +02:00
Unknown W. Brackets efd8565ffe Merge pull request #17592 from fp64/anymask-movemask
Use _mm_movemask_ps for AnyMask
2023-06-17 09:48:09 -07:00
Lubos 4642e0a66f OpenXR - Add passthrough option (Quest only) 2023-06-17 16:33:21 +02:00
fp64 ab85c46161 Use _mm_movemask_ps for AnyMask
Probably very minor speed improvement, but it's rather neat.
2023-06-17 01:05:02 -04:00
Henrik Rydgård 5b4fa06b00 Revert Dot33 on 32-bit x86 only. See #17584 2023-06-16 23:43:33 +02:00