Commit Graph

4367 Commits

Author SHA1 Message Date
Henrik Rydgård
417d346e03 Vulkan validation warning fix 2024-07-19 11:43:35 +02:00
Henrik Rydgård
d7d37e58d4 Remove the title from the "Rotation" popup button. Fixes #17201 2024-07-19 09:55:22 +02:00
Henrik Rydgård
7c817f3ecd Add helper for Vulkan struct chaining 2024-07-19 09:45:02 +02:00
Henrik Rydgård
fb499bf5bf ARM32: Remove runtime checks for VFPv3 and NEON since we require these when building anyway. 2024-07-17 22:14:24 +02:00
Henrik Rydgård
320a1cfc8f
Merge pull request #19325 from Nabile-Rahmani/display-refresh-rate-option
[Feature] Option to override the display refresh rate
2024-07-17 20:25:38 +02:00
Henrik Rydgård
665f03ff62 Add provoking vertex to caps, flip the flag around 2024-07-17 14:40:52 +02:00
Henrik Rydgård
138193a776 Add support for the EXT_provoking_vertex Vulkan extension, allowing us to skip software transform for this case. 2024-07-17 10:41:25 +02:00
Henrik Rydgård
2a35a92514 Vulkan: Check the device features *after* the extension checks. Necessary for the next step. 2024-07-17 10:32:47 +02:00
Henrik Rydgård
9f1f75ddab Refactor: Merge the ChooseDevice function into CreateDevice 2024-07-17 10:31:49 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Nabile Rahmani
273f4cce31
Refresh rate: don't programmatically set configuration, detect VR instead 2024-07-14 04:47:26 +02:00
Lubos
6894f581ab OpenXR - Add FBO supersampling 2024-07-13 22:39:00 +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