Nabile Rahmani
273f4cce31
Refresh rate: don't programmatically set configuration, detect VR instead
2024-07-14 04:47:26 +02:00
Nabile Rahmani
7af15c73bc
[Feature] Option to override the display refresh rate
...
This adds a per-game graphics option, `DisplayRefreshRate`, to override the display refresh rate.
It defaults to 60 Hz, and is located in Dev tools.
Games using variable timesteps benefit from higher refresh rates.
Closes #19319
2024-07-13 15:04:20 +02:00
Henrik Rydgård
305418813a
Add option to control the iOS app switching mode
2024-07-05 20:08:12 +02:00
Luboš V
8120d4c10c
OpenGL - Remove unused code
2024-06-24 19:12:01 +02:00
Lubos
4dc3f45d8d
OpenXR - OpenGL support
2024-06-24 17:54:26 +02:00
Lubos
86881d374e
OpenXR - SBS reprojection fixed
2024-06-24 17:38:17 +02:00
Lubos
15af767e25
OpenXR - SBS support prepared
2024-06-24 17:26:38 +02:00
Lubos
ffca688f99
OpenXR - Remove multiview
2024-06-24 17:00:56 +02:00
Lubos
226956b49f
OpenXR - Remove foveation
2024-06-24 16:42:19 +02:00
Henrik Rydgård
06315ae6ee
IRInterpreter: Slight optimization for fmul
...
Just put stuff in temporaries, allows for better codegen
2024-06-24 09:12:57 +02:00
Henrik Rydgård
3e1d131754
Vulkan: Fall back to extension if core functions won't load.
2024-06-23 15:42:35 +02:00
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