Commit Graph
1633 Commits
Author SHA1 Message Date
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
Henrik Rydgård 8f623be3ea Merge pull request #12674 from hrydgard/upgrade-glslang
Update the glslang submodule, fix the build afterwards.
2020-03-05 07:49:35 +01:00
Henrik Rydgård 618881c96d Merge pull request #12675 from iota97/atlas-tool
Fix atlas tool build on linux
2020-03-04 21:11:53 +01:00
Unknown W. Brackets 11e828053b http: Avoid detach() in webserver code.
Should make debugger server more viable on Switch.  Also fixes a leak.
2020-03-03 23:08:34 -08:00
Unknown W. Brackets cb1b7b1e43 Core: Bring over some file related Switch changes.
Reducing the distance from the Switch port code.
2020-03-03 22:53:03 -08:00
iota97 7dcb80a7fe Fix atlas tool build on linux 2020-03-03 23:52:56 +01:00
Henrik Rydgård db4511c9f5 Also try to fix the legacy Android build. 2020-03-03 23:26:09 +01:00
Unknown W. Brackets 051a84e9bd GPU: Restart when changing inflight frames setting.
We need to keep the push and pull in step, so changing at runtime is
messy.
2020-03-02 19:21:15 -08:00
Henrik Rydgård fa8968f5c6 Merge pull request #12660 from unknownbrackets/frame-latency
GPU: Add setting to control inflight frame usage
2020-03-02 00:16:48 +01:00
Henrik Rydgård 63f06cdd91 Address some feedback, thanks unknown 2020-03-01 18:41:09 +01:00
Unknown W. Brackets 98df4bbec3 GPU: Allow choosing number of inflight frames. 2020-03-01 08:53:46 -08:00
Unknown W. Brackets a91e206926 GPU: Add setting to control inflight frame usage. 2020-03-01 06:21:27 -08:00
Henrik Rydgård 25dcf8dd8d Warning fixes 2020-03-01 14:15:10 +01:00
Henrik Rydgård 0da04f3694 Vulkan: Support devices that don't properly support 16-bit texture (like MoltenVK).
Fixes #12615.

Will make finishing #10654 worthwhile.
2020-03-01 14:07:13 +01:00
Henrik Rydgård 4c392c6473 Fix bug in atlas gen.
(Due to the squash and some reordering, the previous commit already
includes fixed metadata)
2020-03-01 12:06:47 +01:00
Henrik Rydgård 45d94c4877 Switch all images to dynamic lookup in the atlas by string ID.
SLN fix

It works, but with the wrong images and the wrong characters!

Fix another bug in atlastool's binary output

Get Android building again.

Oops, didn't mean to disable this permanently.

Error checking

Minor cleanup

Gotta tweak my git ignores...

Regenerate metadata
2020-03-01 12:06:47 +01:00
Henrik Rydgård db24b5ac39 Modify atlas generator to output binary metadata 2020-03-01 12:04:50 +01:00
Henrik Rydgård 2ec82951a0 Merge pull request #12659 from unknownbrackets/vsync
Support vsync in all hardware backends, support runtime update
2020-03-01 09:52:14 +01:00
Unknown W. Brackets 3c1e8abcfe GPU: Centralize vsync interval logic.
We already do unthrottle checking here.
2020-02-29 22:27:00 -08:00
Henrik Rydgård aea3cf74f0 Remove support for "lowmem" UI atlas. Had to regenerate unfortunately. 2020-02-29 19:00:52 +01:00
Henrik Rydgård 1460d94849 And 2017 again... 2020-02-29 18:52:10 +01:00
Henrik Rydgård d35fd5040d Delete unused support for ETC1 texture compression 2020-02-29 17:50:35 +01:00
Henrik Rydgård 9a6e9aff11 And fix it on 2019... 2020-02-29 17:13:27 +01:00
Henrik Rydgård e4cf97557a Recreate the VS projects in 2017 2020-02-29 16:56:28 +01:00
Henrik Rydgård d80ec881c1 Code cleanup 2020-02-29 15:24:22 +01:00
Henrik Rydgård 1a1a5a87bd More VS2017 compat 2020-02-29 15:21:41 +01:00
Henrik Rydgård daa55ac074 Reformat the atlastool/zimtool source, fix warnings. 2020-02-29 14:57:37 +01:00
Henrik Rydgård a5af7e9b70 Atlastool/zimtool: Try not to require VS 2019. 2020-02-29 14:48:21 +01:00
Henrik Rydgård 2bf92c5d97 Atlastool/zimtool: Make it easy to build these on Windows (prebuilt submodule) 2020-02-29 12:19:08 +01:00
Unknown W. Brackets 5009698cc0 Core: Use a shared_ptr for i18n categories.
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Henrik Rydgård a4ba5d4859 HttpClient/Buffer: Just some tweaks/sanity checks
After a mysterious crash report by Azuka on Discord.
2020-02-07 00:09:42 +01:00
李通洲 55bb58e13e NativeApp: add System_GetPropertyFloat all the places 2020-02-04 09:20:34 +08:00
李通洲 0a2aa2c3af Qt/macOS: enable HiDPI ( retina display ) support 2020-02-04 09:20:34 +08:00
Florin9doi 2b57d2365f Android satellites info 2020-01-26 09:22:24 +02:00
Florin9doi 5fbf2d7713 Add camera/location support for iOS
Add front camera support for Android
Allow to change the active camera in-game
2020-01-25 16:54:45 +02:00
Henrik Rydgård 81b42df7c2 D3D11: Fix mistake in UI vertex shader for non-textured geometry. Fixes #12587. 2020-01-20 22:54:28 +01:00