Commit Graph

4345 Commits

Author SHA1 Message Date
Henrik Rydgård
4c4fcabc5e iOS: Disable the swipe-back gesture in-game, to maximize touch responsiveness 2024-06-19 22:43:42 +02:00
Henrik Rydgård
2c257e2628 Vulkan submit: If submit-type is FinishFrame, always trigger the fence.
Should fix #19277
2024-06-19 10:52:40 +02:00
Henrik Rydgård
3bb74ea9ad Rework the JitCompare window to hold a list of blocks, and allow some filtering and browsing 2024-06-05 18:16:33 +02:00
Henrik Rydgård
510cf1891b Random UWP text bugfix. Some warning fixes. 2024-06-05 12:38:43 +02:00
Henrik Rydgård
fa5ec667ef Add new TimeSpan class for more accurate timing.
Minimizes the amount of value conversions and performs subtractions in
integer space.
2024-06-05 12:38:39 +02:00
Henrik Rydgård
3e26866f76 Renaming 2024-06-05 10:28:49 +02:00
Henrik Rydgård
083656fcc0
Merge pull request #19241 from hrydgard/optimize-vertex-dec
Optimize color conversions in non-JIT vertex decoder
2024-06-04 12:07:09 +02:00
Henrik Rydgård
2174a896cd Clarify operator precedence 2024-06-04 12:01:18 +02:00
Henrik Rydgård
5b14cf9a3d Switch to the new functions. 2024-06-04 10:28:13 +02:00
Henrik Rydgård
f2b4ad04c6 Write new 16-bit to 32-bit color conversion utility functions 2024-06-04 10:26:42 +02:00
Lubos
7b089effa0 OpenXR - Use single VR projection matrix 2024-06-03 18:29:06 +02:00
Lubos
47a7b856ef OpenXR - Update SDK 2024-06-03 18:03:57 +02:00
Henrik Rydgård
3b5c71170c IRInterpreter: Various SIMD optimization. Move out the reverse-bits implementation 2024-06-01 20:29:03 +02:00
Henrik Rydgård
81c642e2b2 Fix scaling issues in cocoa text drawer 2024-06-01 13:44:11 +02:00
Henrik Rydgård
65fb1a5aa7
Merge pull request #19224 from hrydgard/more-ios-fixes
More iOS fixes
2024-06-01 13:14:39 +02:00
Henrik Rydgård
929ced7acc Minor cleanup in draw_text_cocoa 2024-06-01 12:28:13 +02:00
Henrik Rydgård
28cf69f67e Remove duplicate code from the text rendering backends 2024-06-01 09:58:58 +02:00
Henrik Rydgård
d6b6d087c0 Make the font lifecycle more similar between the backends. 2024-06-01 09:43:11 +02:00
Henrik Rydgård
c38f448d85
Merge pull request #19222 from hrydgard/more-text-cleanup
More text rendering code cleanup
2024-06-01 00:00:58 +02:00
Henrik Rydgård
65126668e0 Mac/iOS font rendering - Fix line breaking 2024-05-31 23:07:04 +02:00
Henrik Rydgård
e10858d8b5 Mac/iOS: Enable ARC on draw_text_cocoa.mm 2024-05-31 22:21:43 +02:00
Henrik Rydgård
4051f34758 Implement MeasureStringRect generically based on MeasureString 2024-05-31 21:11:48 +02:00
Henrik Rydgård
5b0007f391 Remove unused and broken text rotation code 2024-05-31 20:58:53 +02:00
Henrik Rydgård
b85890c37b Rewrite GetFriendlyPath to not crash and work in more situations 2024-05-31 20:41:03 +02:00
Henrik Rydgård
06f7f39e3e Unify SDL's version of the function too. 2024-05-31 19:23:47 +02:00
Henrik Rydgård
2061f04885 Also remove DrawString in the SDL text backend 2024-05-31 19:08:25 +02:00
Henrik Rydgård
423f7620dd Also implement for Cocoa. 2024-05-31 19:00:23 +02:00
Henrik Rydgård
533f8f06be Unify DrawString between Windows, UWP and Android. More to come. 2024-05-31 17:27:59 +02:00
Henrik Rydgård
5999690af5 i18n: Remove our awkward ampersand-escape support, except in [DesktopUI] 2024-05-31 09:45:59 +02:00
Henrik Rydgård
c02e5b36ab Use the default UI font, bugfixes 2024-05-29 19:29:49 +02:00
Henrik Rydgård
021d2d5ef0 Scaling and line spacing work 2024-05-29 18:52:39 +02:00
Henrik Rydgård
5f4257bf4a Get it to build and run on iOS too, not just Mac. There's some odd DPI issue though. 2024-05-29 18:52:39 +02:00
Henrik Rydgård
0bbaaef787 Seems to be working now, though need to figure out which font face we can use. 2024-05-29 18:52:39 +02:00
Henrik Rydgård
3965c1ae6b Start implementing cocoa-based text rendering. Doesn't work yet, renders garbage. 2024-05-29 18:52:39 +02:00
Henrik Rydgård
455e28da6c Rename Point to Point2D to avoid a cocoa name clash 2024-05-29 18:52:39 +02:00
Henrik Rydgård
7e7d1d587a Start lifting up common parts to the base class 2024-05-29 18:52:39 +02:00
Henrik Rydgård
3065979528 iOS: Fix hang when task switching in GL mode 2024-05-29 18:21:58 +02:00
Henrik Rydgård
87ead3f492 Fix bad framebuffer bind in Parappa The Rapper 2024-05-29 12:23:54 +02:00
Henrik Rydgård
606a895985 iOS: Update recents paths on load
Fixes the main part of #19211
2024-05-29 10:12:20 +02:00
Henrik Rydgård
5b717cab04 HTTPClient: Fix issue with HTTP redirects 2024-05-28 11:16:10 +02:00
Henrik Rydgård
35c40196d4 Implement UI for setting up the iOS audio modes 2024-05-27 15:17:47 +02:00
Henrik Rydgård
6817858d61 Use a hacked MoltenVK that can be loaded (but doesn't work) on iOS 12.
See https://github.com/KhronosGroup/MoltenVK/issues/2240
2024-05-26 16:45:29 +02:00
Henrik Rydgård
c26de64d0f iOS: Pass through touches near the task switcher only in-game. Makes the UI better behaved. 2024-05-26 10:27:14 +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
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
804f31f424 Convert MeasureString* functions to use std::string_view 2024-05-24 14:16:40 +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