Henrik Rydgård
42ce619705
Vulkan fastforward: Check the current presentation mode instead of the Vsync setting.
...
After 1.15, I'm gonna clean up the presentation mode/vsync management
across the code base. This works around #17308 for now.
2023-04-26 12:02:42 +02:00
Henrik Rydgård
321a112eff
Rename SimpleBuf -> AlignedVector, use regular aligned memory instead of pages.
2023-04-24 12:04:34 +02:00
Henrik Rydgård
f45a7cf06b
Some semantic cleanup
2023-04-24 12:04:34 +02:00
Henrik Rydgård
7a75119ed0
Split out the Windows version of AllocateExecutableMemory
2023-04-24 12:04:27 +02:00
Henrik Rydgård
268dd6d8b7
Merge pull request #17325 from unknownbrackets/gpu-minor
...
Avoid shader error for uint with GLSL 1.2
2023-04-23 21:16:55 +02:00
Unknown W. Brackets
58abc7a154
GLES: Avoid shader error for uint with GLSL 1.2.
2023-04-23 09:49:24 -07:00
Henrik Rydgård
5e408bbd80
Merge pull request #17323 from hrydgard/unescape-menu-string
...
Add function UnescapeMenuString
2023-04-23 14:47:11 +02:00
Henrik Rydgård
4ed634383f
If there are multiple escapes, pick the first.
2023-04-23 14:42:36 +02:00
Henrik Rydgård
91d4ded3fd
Add function UnescapeMenuString
...
Turns E&dit into Edit and 'd'. Double ampersands are translated to just a single one,
hence the unescaping part of this.
Useful in the Mac port to deal with desktop UI translation strings with included
Windows hotkeys.
2023-04-23 14:37:09 +02:00
Henrik Rydgård
ef5abac1d3
Fix an oversight when saving replacement textures on scoped storage
...
We ended up not properly mangling the filename when changing extensions
if the file URI is an Android content URI.
Fixes #17320
2023-04-22 00:05:07 +02:00
Henrik Rydgård
c81ec8c74d
List Vulkan present modes in system info, show the current one
2023-04-20 00:21:06 +02:00
haoruiwang
7cbb7a09e5
[what][style][gpu] some coding style refine
2023-04-18 19:18:38 +08:00
Unknown W. Brackets
956d80b93e
UI: Minor cleanup.
2023-04-09 22:39:29 -07:00
Henrik Rydgård
d26700820c
Minor buildfix/cleanup
2023-04-09 22:47:34 +02:00
ahmedmoselhi
5506b7fd08
fix build error: "unknown type name uint32_t"
2023-04-09 20:48:58 +02:00
Henrik Rydgård
f376f3cb5f
Another piece of the fix for #17250 (opensuse build error)
2023-04-09 16:57:39 +02:00
Henrik Rydgård
42efc08e64
Couple buildfixes after the g_display refactoring
...
Should help #17250
2023-04-08 09:25:16 +02:00
Henrik Rydgård
12bd0ed26d
Restore the shared_ptrs
2023-04-07 10:35:01 +02:00
Henrik Rydgård
0ae2c79584
Buildfix
2023-04-07 10:35:01 +02:00
Henrik Rydgård
019a9e2923
MacOS build fixes
2023-04-07 10:35:01 +02:00
Henrik Rydgård
ee6234ecb6
I18N: Switch to getting categories by index instead of by string lookup
...
Also gets rid of the shared_ptr usage, and generally makes things nicer.
Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård
6f9339b011
Add defaults for all int-slider settings too
2023-04-05 10:50:53 +02:00
Henrik Rydgård
4e0babc950
Add a "reset to default" for all float-slider settings
...
Unfortunately, the default values from the configs are not exposed
outside Config.cpp, so there's duplication.
Need to figure out how to do fix that, but it's out-of-scope for this
PR.
2023-04-05 10:50:53 +02:00
Andreas Stieger
822592c6b1
Fix build with GCC13: various standard includes
2023-04-05 00:20:14 +02:00
Henrik Rydgård
d996fb74d4
MSVC: Set language standard to c++17.
...
Noticed that we were getting some new warnings after merging the
constexpr stuff.
2023-04-02 17:55:15 +02:00