Commit Graph

40394 Commits

Author SHA1 Message Date
Henrik Rydgård
f42f7ac9d1 Touch controls on iOS: Move the three center button up slightly by default to avoid the task switcher 2024-05-26 09:39:44 +02:00
Henrik Rydgård
081bf51eac iOS: Fix issue with keyboard popping up after file picker.
iOS kb APIs are crazy
2024-05-26 09:23:57 +02:00
Henrik Rydgård
2a3f8af650
Merge pull request #19189 from hrydgard/star-ocean
IRInterpreter: Fix issue where we could accidentally optimize out CallReplacement ops.
2024-05-26 00:46:35 +02:00
Henrik Rydgård
bdf7f5f40f IRInterpreter: Fix issue where we could accidentally optimize out CallReplacement ops. 2024-05-26 00:12:48 +02:00
Henrik Rydgård
f2b36f00c4
Merge pull request #19181 from hrydgard/text-wrap-bugfix
Text wrapping bugfixes
2024-05-25 15:10:24 +02:00
Henrik Rydgård
750aad2b08 Buildfix 2024-05-25 09:47:15 +02:00
Henrik Rydgård
5d8560e379 Text wrapping bugfixes 2024-05-25 09:16:00 +02:00
Henrik Rydgård
e552ba0b1e
Merge pull request #19179 from hrydgard/text-draw-refactor-2
Text draw refactor part #2
2024-05-24 23:12:30 +02:00
Henrik Rydgård
306c28c2cc Remove lots of now-unnecessary ".c_str()" 2024-05-24 22:53:13 +02:00
Henrik Rydgård
ccbcf1369b Convert DrawString* functions to use std::string_view 2024-05-24 22:52:51 +02:00
Henrik Rydgård
32b7bc22d3
Merge pull request #19176 from RobLoach/libretro-clamp
[libretro] Replace `std::clamp()` with local `clamp()`
2024-05-24 19:58:53 +02:00
Henrik Rydgård
76c5a8cf1b Fix submodule path, remove some logspam.
Fixes #19180
2024-05-24 19:01:34 +02:00
Rob Loach
6763ace946
libretro: Add a local clamp() instead of using the color conv one 2024-05-24 08:38:04 -04:00
Henrik Rydgård
804f31f424 Convert MeasureString* functions to use std::string_view 2024-05-24 14:16:40 +02:00
Henrik Rydgård
a04ad1c7f7
Merge pull request #19178 from hrydgard/text-draw-refactor
Text draw refactor part #1
2024-05-24 13:56:47 +02:00
Henrik Rydgård
8112e51c13 More string_view 2024-05-24 13:42:49 +02:00
Henrik Rydgård
4b45bde38f Convert WordWrapper to use std::string_view 2024-05-24 13:39:49 +02:00
Henrik Rydgård
f6ca8101e0 Start getting string_view into WordWrapper 2024-05-24 12:40:11 +02:00
Henrik Rydgård
d39d4270e1 More std::string_view 2024-05-24 12:40:10 +02:00
Henrik Rydgård
0f94482d36 More string_view in text drawing 2024-05-24 12:40:10 +02:00
Henrik Rydgård
bef645697a
Merge pull request #19166 from hrydgard/ios-vulkan-work
Vulkan on iOS using MoltenVK
2024-05-24 12:12:28 +02:00
Henrik Rydgård
f864f52b64 More app lifecycle work. Switching between Vulkan and OpenGL now works. 2024-05-24 11:48:44 +02:00
Rob Loach
5c23305e09
libretro: Remove static keyword from clamp() 2024-05-23 13:14:23 -04:00
Rob Loach
41d2e4a40f
libretro: Replace std::clamp() with clamp() 2024-05-23 12:51:20 -04:00
Henrik Rydgård
9a93a478d1 Fix smooth switching from Vulkan to GL 2024-05-23 14:37:12 +02:00
Henrik Rydgård
740219a65b Plumb the restart event into AppDelegate 2024-05-23 14:16:07 +02:00
Henrik Rydgård
aa3256f4e8 Turn off the Vulkan thread when switching away from the app. 2024-05-23 12:52:16 +02:00
Henrik Rydgård
b66f7ea909 Vulkan on iOS: Hook up remaining functionality 2024-05-23 09:41:00 +02:00
Henrik Rydgård
5f79046e01 Get Vulkan rendering on iOS (still, need to hook up input etc) 2024-05-23 09:41:00 +02:00
Henrik Rydgård
09e2c78a33 Add ViewControllerMetal placeholders 2024-05-23 09:41:00 +02:00
Henrik Rydgård
946881dcf1 Minor cleanup (remove redundant stuff from the storyboard) 2024-05-23 09:41:00 +02:00
Henrik Rydgård
47f12dfeec Make linking to MoltenVK work 2024-05-23 09:41:00 +02:00
Henrik Rydgård
41f8670d2a Add MoltenVK.xcframework as a submodule 2024-05-23 09:41:00 +02:00
Henrik Rydgård
26ab2b77d7
Merge pull request #19175 from hrydgard/vulkan-init-simplification
Add a convenience method to VulkanContext to reduce code duplication
2024-05-23 09:40:28 +02:00
Henrik Rydgård
fea6727ffd Add a convenience method to VulkanContext to reduce code duplication
Will need the exact same code for iOS.
2024-05-23 02:13:54 +02:00
Henrik Rydgård
b6ce56dec0
Merge pull request #19173 from hrydgard/ir-interpreter-prefix-check
IRInterpreter compiler: Reject all vec2ops where the prefix is unknown while compiling
2024-05-23 00:19:44 +02:00
Henrik Rydgård
5e3abe3def IRInterpreter compiler: Reject all vec2ops where the prefix is unknown
Fixes #19164

May help #19172
2024-05-22 23:19:14 +02:00
Henrik Rydgård
dc68f406aa
Merge pull request #19171 from hrydgard/ios-even-more-viewcontroller
iOS: Even more viewcontroller refactor
2024-05-22 16:56:39 +02:00
Henrik Rydgård
4726e1f4b3 Remove the last non-interface function on the ViewController 2024-05-22 16:43:18 +02:00
Henrik Rydgård
538cc62f16 Remove a redundant function 2024-05-22 16:43:18 +02:00
Henrik Rydgård
cc37476c79 Add a ViewControllerCommon.h 2024-05-22 16:43:16 +02:00
Henrik Rydgård
832b21ad45
Merge pull request #19170 from hrydgard/ios-more-window-refactor
iOS: More ViewController code refactor
2024-05-22 13:46:21 +02:00
Henrik Rydgård
016e90f7a4 Buildfix, cleanup use of long-deprecated stuff. 2024-05-22 13:34:17 +02:00
Henrik Rydgård
98e87a78d8 Extract the iCade code to Controls.mm 2024-05-22 12:11:51 +02:00
Henrik Rydgård
bf8d55c970 Finish extracting the touch tracker from the ViewController 2024-05-22 11:59:26 +02:00
Henrik Rydgård
1db11599b4 Move some more code 2024-05-22 11:36:52 +02:00
Henrik Rydgård
75af8c6704 Some C++-ification 2024-05-22 11:24:00 +02:00
Henrik Rydgård
82573b4f82 Move controller setup to Controls.mm 2024-05-22 11:18:03 +02:00
Henrik Rydgård
04a260bded Move System_LaunchUri to a more appropriate place 2024-05-22 11:17:38 +02:00
Henrik Rydgård
c34079a908 Hide keyboard on app display 2024-05-22 11:17:01 +02:00