22527 Commits

Author SHA1 Message Date
Henrik Rydgård
4b35e9e278 Reset the UI state properly in NativeInit. Fixes #9771 2017-08-08 15:58:25 +02:00
Henrik Rydgård
2de5e2b5c0 Android: Fix bug where the surface size could be wrong after task switching and automatic recreation 2017-08-08 13:41:45 +02:00
Henrik Rydgård
7b4cf8516b Make some decls private 2017-08-08 13:30:34 +02:00
Henrik Rydgård
3be5682247 Disable codepath that requires vibration permission which we don't have 2017-08-08 13:22:36 +02:00
Henrik Rydgård
7a3a620ff2 Always shut down audio, regardless of why the task is being destroyed. Might help #9771 2017-08-08 13:03:23 +02:00
Henrik Rydgård
cefb57d778 Misc cleanup 2017-08-08 13:01:09 +02:00
Henrik Rydgård
5627d82891 Format string fixes in DPI logging 2017-08-08 11:40:56 +02:00
Henrik Rydgård
e268da823a Android: Add some missing codepaths when using Vulkan, might fix audio/controller issues on task switching 2017-08-08 11:31:13 +02:00
Henrik Rydgård
5e4e23fd11 Merge pull request #9886 from hrydgard/android-scaling-fixes
Android scaling fixes
2017-08-08 11:01:10 +02:00
Henrik Rydgård
6ee8cb5f2e Review fixes, thanks unknown 2017-08-08 10:14:20 +02:00
Henrik Rydgård
bf91f67a30 Another buildfix 2017-08-07 20:10:13 +02:00
Henrik Rydgård
e6bf7b5fe0 Buildfixes 2017-08-07 17:09:16 +02:00
Henrik Rydgård
b87ae5d7db Consolidate DPI/sizing handling on Android 2017-08-07 15:55:19 +02:00
Henrik Rydgård
43de028209 updateDisplayMetrics was a poorly defined method, removed it. 2017-08-07 15:07:55 +02:00
Henrik Rydgård
ae64519f05 More splitting of dpi vars 2017-08-07 15:03:07 +02:00
Henrik Rydgård
eaceef9373 Re-enable resizing the window on Android, change onConfigurationChanged flags 2017-08-07 15:02:18 +02:00
Henrik Rydgård
f4cf501cf6 Separate X and Y dpi_scale 2017-08-07 13:37:01 +02:00
Henrik Rydgård
11c75476f7 Turn g_dpi into a float, because why not 2017-08-07 12:16:08 +02:00
Henrik Rydgård
d44309405a Android: Fix scaling issue on configuration changes. Why was that division by 2 there??
Must have been some old left-over debug code.
2017-08-07 11:49:09 +02:00
Henrik Rydgård
ea047fa43a Android: Turn off resizability until we can properly fix the sizing logic. Helps #9866 2017-08-06 20:37:36 +02:00
Henrik Rydgård
35c8a05d29 Minor GPU disassembler update 2017-08-05 18:37:03 +02:00
Henrik Rydgård
76fd568d8c Merge pull request #9876 from hrydgard/android-audio-refactor
Android audio refactor
2017-08-02 10:02:47 +02:00
Henrik Rydgård
3ce8680d9a Make the OpenSL wrapper an object too, to make sure it's always initialized the same. 2017-08-01 15:42:47 +02:00
Henrik Rydgård
a453dc8123 Make a state object for the Android audio wrapper 2017-08-01 15:28:45 +02:00
Henrik Rydgård
107e085ec0 Update submodule lang 2017-08-01 10:48:23 +02:00
Henrik Rydgård
fd5bf0e0a3 Merge pull request #9857 from jbeich/freebsd
Fix crash on FreeBSD x86_64 when starting a game
2017-08-01 10:45:32 +02:00
Henrik Rydgård
2b1ad21bd5 Merge pull request #9874 from unknownbrackets/vol-overflow
Core: Handle 20-bit volumes in SIMD optimizations
2017-08-01 10:44:38 +02:00
Henrik Rydgård
f182b79e15 Merge pull request #9873 from unknownbrackets/fullscreen
Fix and improve fullscreen on 21:9 monitors
2017-08-01 10:40:15 +02:00
Henrik Rydgård
797c0e50fe Merge pull request #9875 from unknownbrackets/ui-scissor
GLES: Set target w/h in buffered rendering
2017-08-01 10:38:31 +02:00
Unknown W. Brackets
7e753ed24a GLES: Set target w/h in buffered rendering.
Otherwise, the flipped scissors don't update on window resize.

Example: when toggling fullscreen.
2017-07-30 14:44:38 -07:00
Unknown W. Brackets
f35fa998a6 Core: Handle 20-bit volumes in SIMD optimizations.
It was previously only accounting for 17 bits of volume, by mistake.
This was introduced in v1.0.0.

May help #9379.
2017-07-30 11:48:01 -07:00
Unknown W. Brackets
cc88435b48 Windows: Support multi-display full screen.
For when you have an ultrawide monitor, or I guess even multiple.
2017-07-30 09:14:36 -07:00
Unknown W. Brackets
d6affac72d GPU: Correct 1080p/720p crop for ultrawide/similar.
If the display is 1280x1080 or 2560x1080, we don't want to stretch width.
2017-07-30 08:32:49 -07:00
Unknown W. Brackets
626102e84a Windows: Use system API to toggle fullscreen.
Instead of having a special Host API for Windows only.
2017-07-30 07:51:53 -07:00
Jan Beich
e33acdc5e9 Common: fix MAP_32BIT after 9f24203ef8f6
9f24203ef8f6 added 0x20000000 as a default fallback address hint which
unconditionally disabled MAP_32BIT. FreeBSD cannot use the hints
because without adjusting RLIMIT_DATA lower addresses are reserved for
brk(2) style heap. So, don't try to use hints with MAP_32BIT.
2017-07-26 15:25:54 +00:00
Henrik Rydgård
f8213a914a Update lang submodule 2017-07-24 16:05:35 +02:00
Henrik Rydgård
033676ca4d Vulkan debug mode: In case of missing validation layers, warn, don't error out. 2017-07-13 23:36:53 +02:00
Henrik Rydgård
2d5e7c834c Merge pull request #9839 from wodencafe/nyko_core_controller
Add support for NYKO CORE Gamepad
2017-07-10 00:25:06 +02:00
wodencafe
b9ed5827a5 Update gamecontrollerdb.txt
Add support for NYKO CORE Gamepad
2017-07-09 17:11:47 -05:00
Henrik Rydgård
fbe06c5a24 Merge pull request #9837 from unknownbrackets/jit-rip
x64: Avoid clobbering jr dest in cases
2017-07-09 10:58:40 +02:00
Unknown W. Brackets
3dacd323c8 x64: Avoid clobbering jr dest in cases. 2017-07-08 16:40:06 -07:00
Unknown W. Brackets
79a6690a30 x64: Fix coreState rip checks. 2017-07-08 16:39:26 -07:00
Henrik Rydgård
a9f70d1c5a Merge pull request #9834 from hrydgard/remove-rip-addressing
x86-64: Add ability to run without RIP addressing between generated code and global data
2017-07-07 16:52:43 +02:00
Henrik Rydgård
8d86463b1a More RIP fixes 2017-07-07 15:46:14 +02:00
Henrik Rydgård
f7fea57bb6 More RIP addressing in software skinning.. 2017-07-07 15:12:57 +02:00
Henrik Rydgård
837118d230 More RIP elimination 2017-07-07 15:07:56 +02:00
Henrik Rydgård
86396ba39b Turning off the "close memory finder" lets us find more RIP addressing... 2017-07-07 15:07:53 +02:00
Henrik Rydgard
8872057a2d x86-64: Linux ABI fix 2017-07-07 14:22:35 +02:00
Henrik Rydgård
dad5ca45f2 Delete some unnecessary loads. These loads are done properly inside trigCallHelper. 2017-07-07 14:15:10 +02:00
Henrik Rydgård
d312086a61 32-bit fixes 2017-07-07 13:57:37 +02:00