Commit Graph

246 Commits

Author SHA1 Message Date
Henrik Rydgård
9f2005113b Add a function to the dev menu to intentionally lose the VK device. To be used for debugging recovery. 2023-05-29 15:16:27 +02:00
Henrik Rydgård
dfb446f89d Allow other backends than Vulkan to have GPU memory stats. Implement for GL. 2023-05-24 14:33:01 +02:00
Henrik Rydgård
67a35d3476 Merge pull request #17356 from unknownbrackets/minor-cleanup
Cleanup some more string formats, mostly in debugger
2023-05-23 08:29:23 +02:00
Henrik Rydgård
05b6bbdc56 Add a trivial profiling tool to the OpenGL backend - meaasure the time it takes to run a frame of commands.
Accessed from the in-game dev menu just like the Vulkan frame profiler.

With this we can easily see that actually submitting the GL commands is often the bottleneck on old
devices like a Galaxy S3.
2023-05-17 14:38:11 +02:00
Unknown W. Brackets
46101581c0 Core: Cleanup disasm buffer usage. 2023-04-29 09:07:25 -07:00
Henrik Rydgård
c81ec8c74d List Vulkan present modes in system info, show the current one 2023-04-20 00:21:06 +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
48993f4f4b Control: Add debug display, do assorted fixes. 2023-03-31 20:12:48 +02:00
TotalCaesar659
00d5658ff2 Revert "Scoped Storage" translatability 2023-03-14 17:37:51 +03:00
Henrik Rydgård
a592971209 Add translation strings for dark theme and "Scoped Storage" 2023-03-13 16:51:07 +01:00
Henrik Rydgård
aaa83897fe Some code moving, tweaks 2023-03-12 16:18:49 +01:00
Henrik Rydgård
25fbfd7a89 Finish up OpenGL compressed texture format checks. Show in dev screen 2023-03-12 12:20:10 +01:00
Henrik Rydgård
ef4f17e998 Resurrect the Vulkan memory visualizer, but now it's global stats and pushbuffer stats. 2023-02-27 01:11:11 +01:00
Henrik Rydgård
8b431b39ba Wrap the display globals in a struct (#16998)
* Wrap the display globals in a struct

Makes it easier to search/replace these, for future refactorings.

* Some renaming

* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)

* Attempt at buildfixing ios

* UWP buildfix
2023-02-25 13:09:44 +01:00
Unknown W. Brackets
09eb509df4 Common: Expose CPU extension list directly.
A bit silly to rely on the specific string formatting of a summary.
2023-01-29 15:13:44 -08:00
Henrik Rydgård
7672556e5c Better pipeline descriptions in shader viewer (shorter in overview, longer after click) 2023-01-09 11:22:35 +01:00
Unknown W. Brackets
b9fe48f42d Crash: Lookup block numbers more efficiently.
We only care about the first one in these places anyway.  Also make sure
we don't try to match an invalid block number.
2022-12-20 21:02:52 -08:00
Henrik Rydgård
91e7cc6976 Make "DPI" translatable 2022-12-17 22:14:21 +01:00
Henrik Rydgård
ee19db091f Add accessor for UseFlags 2022-12-13 18:27:45 +01:00
Henrik Rydgård
427cae67cb Enable some wordwrapping in shader viewer, show variant bitmask 2022-12-13 16:28:59 +01:00
Henrik Rydgård
155f73f72d Fix Hz strings for translation, LCD persistence too 2022-12-11 18:13:16 +01:00
Henrik Rydgård
01beb52f90 Consolidate translation strings 2022-11-24 22:12:01 +01:00
Henrik Rydgård
ed68304b63 Move some settings around, delete a dupe 2022-11-24 22:03:17 +01:00
Henrik Rydgård
f6fcc9e9a7 Add a way to view the "GPU_USE_" flags at runtime. Useful for sanity checking on-device. 2022-11-23 16:17:41 +01:00
Henrik Rydgård
575560f679 Enable game backgrounds on more screens 2022-11-22 22:53:54 +01:00