Henrik Rydgård
f23dd7635c
Merge pull request #12882 from hrydgard/vulkan-fix-renderpass-opt
...
Vulkan: Don't merge render passes where the second one begins with a clear.
2020-05-11 00:18:59 +02:00
Henrik Rydgård
a34c773b13
Vulkan: Don't merge render passes where the second one begins with a clear.
...
God of War optimization survives this check, thankfully.
Force Unleashed doesn't, but meh, it's not as bad there anyway.
2020-05-10 23:10:57 +02:00
Unknown W. Brackets
03fc86a147
UI: Return to game settings after restart.
...
This is more convenient. Also restarts the game if needed.
Added a way to pass args to Android here as well, and fixed displaying an
error if the shortcut file doesn't exist on Android (like if you deleted
it after creating the shortcut.)
2020-05-09 13:53:42 -07:00
Unknown W. Brackets
dddaa57392
Windows: Fix GL reinit on backend switch.
2020-05-09 12:20:42 -07:00
Henrik Rydgård
15a785cacb
Merge pull request #12840 from unknownbrackets/android-osk
...
Android: Don't cache env in text drawer
2020-04-20 09:12:02 +02:00
Unknown W. Brackets
418e881f14
Android: Don't cache env in text drawer.
...
For PPGe, the thread is changing on lost, so we can't use the cached env.
2020-04-19 15:40:48 -07:00
Henrik Rydgård
e62c669f10
GLES: Disable range culling on old Tegras, they seem to misbehave (see issue #12838 ).
...
This is a blind fix - couldn't find my old Shield Portable :(
2020-04-19 18:43:20 +02:00
LunaMoo
a0fef4136a
Fix SDK requirements of Atlas and Zim tools.
2020-04-05 16:56:08 +02:00
Aaron Kling
a7f2415469
libretro: Fix Android builds
...
Text Drawer functionality is not available in libretro as it
depends on standalone jni calls. InputBox is also standalone only
gui functionality.
2020-04-03 09:59:16 -05:00
Henrik Rydgård
e8d6a605eb
Merge pull request #12748 from orbea/libpng
...
cmake: Improve building with the system libpng.
2020-04-01 12:57:52 +02:00
Henrik Rydgård
3838a1c94f
Support drawing around notches on Android displays. Fixes #12261
2020-03-31 00:47:01 +02:00
iota97
d89a858dcd
Rember cheat scroll position
2020-03-26 10:59:08 +01:00
Unknown W. Brackets
3bc59b0ef7
Windows: Fix strange build error.
2020-03-23 08:14:36 -07:00
Unknown W. Brackets
89595e0d8f
UI: Translate HAT and left analog the same way.
...
Before, we were resetting our HAT state for each axis we got, so we'd act
like you pressed the arrow more times for each axis your device has.
A similar thing was possible if you had multiple pads.
2020-03-23 07:58:24 -07:00
orbea
c8c7889f0f
cmake: Improve building with the system libpng.
...
This also now requires at least libpng16 instead of libpng17.
v2: Require libpng17 on arm platforms.
v3: Fix the android and windows travis builds.
2020-03-22 18:43:51 -07:00
Unknown W. Brackets
b9795057cf
Osk: Correct UCS2 conversion.
...
String end was calculated incorrectly.
2020-03-22 18:34:03 -07:00
Henrik Rydgård
1ad65c7c7a
Remove some more uint16_t
2020-03-22 21:28:06 +01:00
Henrik Rydgård
d6ba1b7f99
More correctly handle UCS2 encoding.
2020-03-22 19:29:25 +01:00
Henrik Rydgård
bb30169c88
Address feedback
2020-03-22 19:20:23 +01:00
Henrik Rydgård
d1196f2fc0
Support a few more wstring functions on non-windows platforms, due to the armips assembler.
2020-03-22 17:03:49 +01:00
Henrik Rydgård
75cdc11fdb
Text input: Clearly use 16-bit chars like the PSP, don't rely on wchar_t.
2020-03-22 16:44:19 +01:00
Henrik Rydgård
0faa3f2ce3
Merge pull request #12743 from unknownbrackets/ui-minor
...
UI: Disable render dup frames where it can't work
2020-03-22 11:37:19 +01:00
Unknown W. Brackets
da9158b34b
UI: Allow startup without UI assets.
...
On platforms where we render fonts, it is at least somewhat usable without
assets. A much better experience than a segfault.
On other platforms, it'll probably be mostly unusable, but you can already
get that with an old/wrong assets file.
2020-03-21 21:35:43 -07:00
Unknown W. Brackets
c65bfdffc6
UI: Avoid crash when atlas metadata is missing.
...
See #12722 .
2020-03-21 21:10:20 -07:00
Unknown W. Brackets
3b05e839e1
UI: Disable render dup frames where it can't work.
...
Fixes #12724 .
2020-03-21 18:33:54 -07:00
Henrik Rydgård
b3c111399e
Merge pull request #12725 from unknownbrackets/ppge-text
...
Qt: Correct DPI accounting in font rendering
2020-03-18 09:59:29 +01:00
Unknown W. Brackets
22c8ef0b07
Qt: Correct DPI accounting in font rendering.
...
Like Android, we'll increase the font size at higher DPI.
2020-03-17 20:25:37 -07:00
orbea
ee918a4535
cmake: Disable discord-rpc for libretro builds.
2020-03-17 12:32:07 -07:00
Henrik Rydgård
ccd62e7612
Merge pull request #12708 from unknownbrackets/i18n-lock
...
Core: Use a lock for i18n categories
2020-03-15 17:30:06 +01:00
M4xw
fe32ad88fb
Core: Add some libnx calls for Switch.
2020-03-15 07:56:38 -07:00
Unknown W. Brackets
7404592431
Core: Use a lock for i18n categories.
...
Also for the missed key log.
2020-03-14 22:57:20 -07:00
Henrik Rydgård
d0e2aa3a4f
Merge pull request #12702 from unknownbrackets/ppge-text
...
PPGe: Use TextDrawer for save UI if available
2020-03-11 17:26:50 +01:00
Unknown W. Brackets
51b94a9c9c
Core: Quiet some warnings.
2020-03-10 22:19:59 -07:00
Unknown W. Brackets
08a6047768
PPGe: Show ellipsis for overly long lines.
...
To match PPGE_LINE_USE_ELLIPSIS when using TextDrawer.
2020-03-10 21:30:53 -07:00
Unknown W. Brackets
6652fe261f
PPGe: Use TextDrawer for save UI if available.
...
This should result in better spacing for non-Latin characters, and less
missing letters. Basically the same benefits as for the UI.
2020-03-10 21:30:53 -07:00
Unknown W. Brackets
fbf4769ea6
PPGe: Support 8-bit text bitmaps from TextDrawer.
2020-03-10 21:30:50 -07:00
Unknown W. Brackets
5141dc7e91
PPGe: Allow overriding text drawer DPI scale.
2020-03-10 21:29:01 -07:00
Unknown W. Brackets
70b07f20c9
Qt: Cleanup differences in text hashing.
...
We don't want to use just adler to cache strings. Also, port over the DPI
handling to be consistent. Not tested.
2020-03-10 21:29:01 -07:00
Unknown W. Brackets
85d2702304
UI: Refactor TextDrawer to provide bitmaps too.
2020-03-10 21:28:46 -07:00
Henrik Rydgård
d527e5913f
Merge pull request #12697 from unknownbrackets/http
...
http: Correct new thread executor
2020-03-10 09:54:58 +01:00
Unknown W. Brackets
bf83bb1e47
http: Correct new thread executor.
...
It needs to be able to handle N new threads, oops.
2020-03-09 19:57:15 -07:00
Henrik Rydgård
819c62e21e
Android: Fix upside-down joystick navigation (due to an old sin).
...
(Android's joystick Y axis is upside down, and we should have corrected it on the Java
side instead of in all our mappings everywhere).
2020-03-10 01:04:26 +01:00
Unknown W. Brackets
a3e12f4242
Android: Process input prompts more clearly.
...
This way, the processing is generally inline or explicitly a callback.
There's also less parsing issues since all the parsing is centralized.
2020-03-08 20:45:01 -07:00
Unknown W. Brackets
efceb031ce
UI: Make System_InputBox API asynchronous.
...
Doing this as a precursor to cleaning up the Android madness.
2020-03-08 18:59:17 -07:00
Unknown W. Brackets
09dc2ea3eb
Merge pull request #12686 from hrydgard/vulkan-inflight-frames-leak-fix
...
Vulkan: Fix minor vulkan resource leak if inflight frames isn't max.
2020-03-08 12:41:49 -04:00
Henrik Rydgård
b0b9e24d4e
Vulkan: Fix minor vulkan resource leak if inflight frames isn't max.
2020-03-08 17:14:14 +01:00
Henrik Rydgård
6fc073ffa7
UI: Simple joystick navigation. Fixes #10996 .
2020-03-08 16:52:15 +01:00
Henrik Rydgård
34456773c6
Comment fix
2020-03-08 16:27:01 +01:00
Henrik Rydgård
c176c6c114
Also move out the global stuff from view.cpp/h to root.cpp/h
2020-03-08 15:16:32 +01:00
Henrik Rydgård
271f79ea63
UI: Break out the hierarchy functions into ui/root.cpp/h
2020-03-08 14:49:29 +01:00