Commit Graph

26548 Commits

Author SHA1 Message Date
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
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
c363c16af9
Merge pull request #12665 from unknownbrackets/frameskip
GPU: Use old frame when presenting a skip
2020-03-01 23:35:01 +01:00
Unknown W. Brackets
cebcfb1bbd GPU: Use old frame when presenting a skip.
If we flip using a skipped frame, we may show an even older frame causing
weird flickering.
2020-03-01 13:55:28 -08:00
Henrik Rydgård
63f06cdd91 Address some feedback, thanks unknown 2020-03-01 18:41:09 +01:00
Henrik Rydgård
cc739ebbee
Merge pull request #12664 from iota97/toggle-hotfix
Fix toggle costructor
2020-03-01 18:37:40 +01:00
iota97
1cc5022b19 Fix toggle 2020-03-01 18:17:16 +01:00
Unknown W. Brackets
98df4bbec3 GPU: Allow choosing number of inflight frames. 2020-03-01 08:53:46 -08:00
Henrik Rydgård
5597752a5b
Merge pull request #12663 from unknownbrackets/vsync
Vulkan: Allow alt speed above 60 with vsync
2020-03-01 17:14:35 +01:00
Unknown W. Brackets
566e46d70c Vulkan: Allow alt speed above 60 with vsync.
Enabling frameskip when needed.  Also don't enable frameskip when it's not
needed, such as OpenGL on Windows with >100% alt speed.
2020-03-01 07:44:06 -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
6b3cc36b00
Merge pull request #12661 from hrydgard/vulkan-check-for-16bit-format-support
Vulkan check for 16bit format support. Fixes running under MoltenVK.
2020-03-01 14:53:10 +01: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
eeafba129f
Merge pull request #12656 from hrydgard/atlas-external-metadata
Don't hardlink texture atlas metadata into the executable
2020-03-01 12:07:45 +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
7e9578e49d Get rid of atlas tables. 2020-03-01 12:04:51 +01:00
Henrik Rydgård
bb01db1a91 Update atlas building scripts 2020-03-01 12:04:50 +01:00
Henrik Rydgård
db24b5ac39 Modify atlas generator to output binary metadata 2020-03-01 12:04:50 +01:00
Henrik Rydgård
b1e83df521
Merge pull request #12623 from iota97/sticky-combo
Add toggle flag to combo button
2020-03-01 11:50:14 +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
Henrik Rydgård
76e0d02059
Merge pull request #12657 from unknownbrackets/debugger
Debugger: Stop remote server in full shutdown
2020-03-01 09:16:16 +01:00
Henrik Rydgård
07cf86a0dd
Merge pull request #12658 from unknownbrackets/sdl-resize
UI: Respect resize flag during graphics init
2020-03-01 09:14:27 +01:00
Unknown W. Brackets
bc90faebf7 D3D9: Allow vsync change at runtime. 2020-02-29 22:48:58 -08:00
Unknown W. Brackets
6f86b6fdbe D3D11: Respect vsync setting.
Fixes #12493.
2020-02-29 22:48:58 -08:00
Unknown W. Brackets
2a3fd05651 Vulkan: Present using FIFO for vsync.
This allows the setting to be changed at runtime in Vulkan too.

Should help #10105.
2020-02-29 22:48:59 -08:00
Unknown W. Brackets
3c1e8abcfe GPU: Centralize vsync interval logic.
We already do unthrottle checking here.
2020-02-29 22:27:00 -08:00
Unknown W. Brackets
8afcb2416d UI: Respect resize flag during graphics init. 2020-02-29 19:31:58 -08:00
Unknown W. Brackets
b37a906649 Debugger: Stop remote server in full shutdown.
Hopefully helps #12630, we shouldn't have tied it to graphics.
2020-02-29 18:45:14 -08:00
Unknown W. Brackets
417796c67e
Merge pull request #12655 from hrydgard/remove-lowmem-atlas
Remove support for "lowmem" UI atlas.
2020-02-29 14:15:35 -05: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
558a1011bb
Merge pull request #12647 from shenweip/psmf
Check whether the audio is actually played in psmf player
2020-02-29 18:54:00 +01:00
Henrik Rydgård
1460d94849 And 2017 again... 2020-02-29 18:52:10 +01:00
Henrik Rydgård
f1c4b91abe
Merge pull request #12654 from hrydgard/more-atlas-code-cleanup
Delete unused support for ETC1 texture compression
2020-02-29 18:38:02 +01:00
Henrik Rydgård
d35fd5040d Delete unused support for ETC1 texture compression 2020-02-29 17:50:35 +01:00
Henrik Rydgård
b4111a9628
Merge pull request #12653 from hrydgard/atlas-tool-rework
Atlastool/zimtool: Make it easy to build these on Windows (prebuilt submodule of freetype2)
2020-02-29 17:48: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
Henrik Rydgård
c51793ee63
Merge pull request #12633 from vnctdj/rapidFire
Rename rapid fire touch control
2020-02-29 11:21:03 +01:00
Henrik Rydgård
974095ac10 Log shader contents to VERBOSE instead of DEBUG. 2020-02-29 10:46:04 +01:00
Henrik Rydgård
75410abb82 Update gradle again 2020-02-29 10:38:14 +01:00
Henrik Rydgård
3a00e135f9
Merge pull request #12652 from hrydgard/game-load-speedup
ScanForFunctions: Speed up game loading by only trying to insert the newly found functions into the symbol map.
2020-02-29 10:32:42 +01:00