Commit Graph
3489 Commits
Author SHA1 Message Date
iota97 5cf6621191 Show game crashed 2022-02-24 12:25:04 +01:00
iota97 1d37ec48a4 Allow to set default background color in a theme 2022-02-18 21:02:07 +01:00
iota97andHenrik Rydgård 3f505f760c Disable darkening background, also allow to over saturate up to 2 2022-02-18 14:24:46 +01:00
Henrik Rydgård ce2995f952 Add UI Tint/Saturation settings
Does the color tinting in the vertex shader.
2022-02-18 14:23:57 +01:00
Henrik RydgårdandGitHub e88ddbb42a Merge pull request #15394 from iota97/theme
Allow custom UI themes
2022-02-17 10:45:13 +01:00
Henrik Rydgård 1f71a69be2 Unhide "Cache ISO in RAM" on ARM platform. Not the right block level. We should probably check for available RAM instead. 2022-02-15 13:18:56 +01:00
iota97 561870dc25 Merge item and button style, remove hightlighed and few other fixes 2022-02-14 13:57:22 +01:00
iota97 7860aea62f Fix disabled bg 2022-02-14 11:30:37 +01:00
iota97 f4b5c16e1b Allow translation 2022-02-14 07:59:18 +01:00
iota97 e5843160fe Add themes to assets 2022-02-14 07:37:56 +01:00
iota97 65b7b65bcd Adress feedback 2022-02-12 18:30:55 +01:00
iota97 1c313da541 Keep comment up to date 2022-02-11 19:30:25 +01:00
iota97 9ac07a10f6 Forgot pragma, silly me 2022-02-11 13:16:37 +01:00
iota97 5e1062678f Allow custom UI themes 2022-02-11 12:42:38 +01:00
Unknown W. Brackets 8418287a87 Vulkan: Avoid crash on double DeviceLost.
This caused Android to crash when switching to OpenGL, because the
destructor would try to deinit again.  There weren't any objects, but
draw_ was no longer valid.
2022-02-06 23:34:44 -08:00
Unknown W. Brackets 2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets 48b597a1b9 Display: Move core counters/stats to HW file.
This separates things better, so not everything is pulling in HLE.
2022-01-30 11:53:48 -08:00
Unknown W. Brackets ad2e380987 Display: Move listeners to separate HW file.
Mixing this in with the HLE management funcs was messy.
2022-01-30 09:41:08 -08:00
Unknown W. Brackets 43819fcd16 UI: Cleanup some reference warnings. 2022-01-29 22:36:08 -08:00
Henrik Rydgård 1bc60f6003 UWP buildfix 2022-01-26 14:33:09 +01:00
Henrik Rydgård 30756acf9d Quick hack attempt around build failures 2022-01-26 13:28:59 +01:00
Henrik Rydgård 8dc8fae16d Vulkan: Add support for listing all the available surface formats in system info.
Enabling the EXT_swapchain_colorspace extension lets the driver expose
all the formats it really supports.

Used this to discover that my Galaxy S21 supports Display-P3 which is a wider
gamut than sRGB. Might be able to do some color boosting mode for fun.

Or, use this stuff to play around with HDR?
2022-01-25 19:22:49 +01:00
iota97 a0f0a0655c Clean up hardware tasseletion setting 2022-01-21 16:55:53 +01:00
Henrik Rydgård 6fd082f141 Show the software rendering option on all platforms
It's improved greatly in performance thanks to Unknown's hard work,
and is becoming a lot more usable. It's not JIT-optimized on ARM yet,
but it's fast enough for some 2D games.

See #12543
2022-01-21 09:41:36 +01:00
Unknown W. Brackets b0dbdb4dda UI: Reset ZIP install errors for new ZIPs. 2022-01-17 09:15:39 -08:00
iota97 8b79025507 Avoid confusion for translator 2022-01-10 20:04:47 +01:00
Cameron Cawley 5adf188ea1 UI: Mention SDL in the credits when it's being used alongside Qt 2022-01-09 23:36:20 +00:00
Unknown W. Brackets d7e71543f7 UI: Use comparison screenshot as frame dump icon.
This makes it easier to tell a big list apart.
2022-01-08 16:12:48 -08:00
Unknown W. Brackets a397bf811b UI: Fix some sign/size comparison warnings.
Mostly size_t vs int.
2022-01-06 20:40:29 -08:00
Henrik Rydgård df2f0df155 Make the Vulkan GPU log profiler a runtime developer setting.
I keep forgetting to disable the define on commit, this is a better
solution.
2021-12-19 22:50:14 +01:00
Henrik RydgårdandGitHub 2851065889 Merge pull request #15237 from unknownbrackets/path-case
Path: Check for PSP case insensitively
2021-12-17 09:35:19 +01:00
Unknown W. Brackets 3e73ce87ee Path: Check for PSP case insensitively.
This allows a game to look up ms0:/psp/ eve with the PSP special case path
handling.
2021-12-16 15:06:15 -08:00
Henrik Rydgård c07068f89b Fix text wrapping on PromptScreen by improving the layout 2021-12-13 22:42:03 +01:00
Henrik RydgårdandGitHub e1ff73061a Merge pull request #15223 from hrydgard/multi-atlas
Split off the fonts from the atlas
2021-12-12 09:10:27 +01:00
Unknown W. Brackets 63e623ecb2 Build: Fix some format truncation warnings.
Generally all should be safe already, but better to be sure.
2021-12-11 10:45:27 -08:00
Henrik Rydgård d4237fd542 Split the atlas into three, well two, but two different cases for the fonts.
Platforms that can use OS fonts don't need font_atlas.zim but they do
need ascii font for debug, so does use asciifont_atlas.zim.
2021-12-10 23:22:08 +01:00
Henrik Rydgård e10b53def3 Fix an ordering issue causing us to hit some asserts 2021-12-10 21:00:45 +01:00
Unknown W. Brackets 8b5173350f ThreadManager: Make TaskType a property of a Task. 2021-12-05 21:01:49 -08:00
Henrik Rydgård 0ab207adb1 Display the graphics API on logoscreen on more platforms 2021-11-30 10:11:18 +01:00
Unknown W. Brackets b8ab7f39df jit: Lock around changes to the jit pointer. 2021-11-28 10:04:22 -08:00
Henrik Rydgård f991f6a789 Remove the old allocator visualizer. Keep the setting but hide it. Other feedback 2021-11-23 08:55:12 +01:00
Henrik Rydgård 4f85b8b2ef Threading: Remove a level of indirection from Promise and Mailbox.
Makes using small copyable or POD objects in these more efficient, and if you want
to you can just put a pointer or smart pointer in there, which will
effectively do the same thing as the old setup.
2021-11-20 22:40:10 +01:00
Henrik RydgårdandGitHub 20c3c8f291 Merge pull request #14848 from iota97/dpad-size-fix
Fix DPAD size calculation
2021-11-20 15:58:56 +01:00
Henrik RydgårdandGitHub 25034fdc55 Merge pull request #15151 from iota97/chat-touch
Prevent chat menu touch to fall throght
2021-11-20 15:48:43 +01:00
Henrik Rydgård 98cd023cf9 On desktop, change an empty current directory to "/" on startup.
Just avoids some confusion.
2021-11-20 14:48:51 +01:00
iota97 c9deeae6f1 Prevent chat menu touch to fall throght 2021-11-19 16:12:26 +01:00
Unknown W. Brackets a871550d32 UI: Switch to font texture for debug stats. 2021-11-15 07:04:17 -08:00
Henrik Rydgård 161a32b4a2 On Android 11 and later, let's not fallback to OpenGL at all.
Not meaningful since Vulkan is stable and widely used now and we really
don't do anything crazy when drawing the menu.

See #15079
2021-11-09 23:06:10 +01:00
Henrik Rydgård df9be770d6 Add tip to Lazy texture caching button. Replaces #14183 2021-11-09 22:54:47 +01:00
Henrik RydgårdandGitHub 4161b500ab Merge pull request #15021 from unknownbrackets/ui-font-atlas
UI: Support a second texture for just fonts
2021-11-09 22:51:09 +01:00