Commit Graph

3454 Commits

Author SHA1 Message Date
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ård
20c3c8f291
Merge pull request #14848 from iota97/dpad-size-fix
Fix DPAD size calculation
2021-11-20 15:58:56 +01:00
Henrik Rydgård
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ård
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
Henrik Rydgård
4d38905474
Merge pull request #15100 from vit9696/master
SDL: Read assets from Resources on macOS like on iOS
2021-11-07 23:21:29 +01:00
Henrik Rydgård
6349704924 Switch texture scaling shaders to a fixed scale model, preparing for the next change. 2021-11-07 13:12:28 +01:00
vit9696
1066224b6f SDL: Read assets from Resources on macOS like on iOS
closes #15041
2021-11-06 09:22:08 +03:00
Henrik Rydgård
b88d676f78 Remove the vertex cache from the OpenGL backend.
It was disabled for a very long time, and now that we've re-enabled it, it
mostly causes problems.

Not feeling like debugging it on weird hardware, I think it's better
to focus energy on other optimizations.
2021-11-06 00:45:43 +01:00
iota97
5adaf87dbe Fix analog resize 2021-10-24 20:33:24 +02:00
Unknown W. Brackets
2bd13c5d9d Debugger: Track reason for entering stepping. 2021-10-23 16:56:15 -07:00
Henrik Rydgård
11eb5fa0c2
Merge pull request #15002 from unknownbrackets/ui-open-memstick
UI: Add button to show memstick folder
2021-10-19 19:55:30 +02:00
Unknown W. Brackets
21ff0b1dfd UI: Correct filtering message without keyboard. 2021-10-19 10:01:52 -07:00
Unknown W. Brackets
8c882e9571 UI: Add more keyboard sysprop checks. 2021-10-19 10:01:52 -07:00
Unknown W. Brackets
8e15f755e6 UI: Add a sysprop for if the device has a keyboard.
Still left some ifdefs because of System_InputBoxGetString(), but
hopefully we can move away from them.  Some devices (like SDL) may only
optionally have a keyboard, so it's a runtime check.
2021-10-19 10:01:52 -07:00
Unknown W. Brackets
d1fdd22990 UI: Add search filtering to settings. 2021-10-19 10:01:52 -07:00
Unknown W. Brackets
1f4cbb7aaa UI: Add game settings tabs in a consistent way. 2021-10-19 10:01:51 -07:00
Unknown W. Brackets
e86b7a3a44 UI: Add button to show memstick folder.
See #13919.
2021-10-19 10:01:27 -07:00
Unknown W. Brackets
08a55d19d5 macOS: Allow opening game folder. 2021-10-19 10:01:27 -07:00
Unknown W. Brackets
450b59809b Qt: Allow opening game folder. 2021-10-19 10:01:27 -07:00
Unknown W. Brackets
eb81d5b30b UI: Support a second texture for just fonts.
Will still allow using fonts between both.
2021-10-19 10:01:17 -07:00
Unknown W. Brackets
25da99a16d Io: Remove setting to disable I/O on thread. 2021-10-12 20:40:26 -07:00
Unknown W. Brackets
9730251132 UI: Remove I/O on thread setting.
Still configurable in the ini if really needed, for now.
2021-10-12 20:40:24 -07:00
Unknown W. Brackets
b1e31d89e1 Audio: Correct protection against time skew. 2021-10-10 15:05:51 -07:00
Henrik Rydgård
e6857388c7 Add input device debug info to touchscreen test screen
(yeah maybe there's a better place but it's fine).

Also make a slight tweak to the detection order which I don't think
matters much.
2021-10-10 11:50:20 +02:00
Unknown W. Brackets
b77695c760 Audio: Protect against time skew.
It might be possible a clock is adjusting backwards slightly after a time
update, and this could've caused sz to become negative.

Based on crash reports.
2021-10-09 08:24:54 -07:00
Henrik Rydgård
89a452c168
Merge pull request #14993 from unknownbrackets/ui-chat-key
UI: Disable focus movement on game start
2021-10-08 18:39:29 +02:00
Unknown W. Brackets
5884a2201d UI: Disable focus movement on game start.
Otherwise, dev tools or chat remain usable while trying to play the game.
This was an unintentional bug from chat UI refactoring.
2021-10-08 09:23:22 -07:00
Unknown W. Brackets
9c92af2b77 UI: Delay between successive mapping in controls. 2021-10-07 18:45:15 -07:00
Henrik Rydgård
efc1293b6c
Merge pull request #14974 from unknownbrackets/ui-savedata
Make savedata description scrollable
2021-10-06 17:08:16 +02:00
Unknown W. Brackets
0f83901838 UI: Keep buttons at bottom for savedata.
Also make them wider, looks like a layout mistake.
2021-10-05 23:55:51 -07:00
Unknown W. Brackets
e8a83269bb UI: Add scroll to savedata viewer for long descs. 2021-10-05 23:50:21 -07:00
Henrik Rydgård
887f6101d5 Remove the "Auto" texture scale factor. It's a performance trap and not really useful. 2021-10-05 20:41:40 +02:00
Henrik Rydgård
16c1713a87 Hide "What's This"? button on Android TV - no browser anyway 2021-10-05 11:38:34 +02:00
Henrik Rydgård
64b8ac603a Fix bug in deleting of directories in memory stick move. Also improve progress reporting. 2021-10-04 23:49:08 +02:00
Henrik Rydgård
08b7d646e8 Show text on the Browse button 2021-10-04 22:46:40 +02:00
Henrik Rydgård
992ad801e7 Add a crude way to blacklist post/texture shaders from certain vendors.
Use it to work around #14530 for now.
2021-09-28 23:39:52 +02:00
Henrik Rydgård
cc43ce0404
Merge pull request #14944 from unknownbrackets/ui-touch-controls
Cleanup UI touch controls button handling
2021-09-28 19:37:29 +02:00
iota97
003a34ccf5 Increase few column width for long translation, make control binding a bit taller 2021-09-28 18:02:37 +02:00
Henrik Rydgård
e384ad90fc
Merge pull request #14945 from unknownbrackets/ui-scroll-memory
UI: Keep scroll position on async load
2021-09-28 16:55:06 +02:00