Commit graph

22542 commits

Author SHA1 Message Date
Henrik Rydgard
56cd991833 All: Only recompute the vertex shader ID when dirty 2017-08-14 11:36:06 +02:00
Henrik Rydgard
f01da87ab2 D3D11: Make better use of the dirty flags to avoid state calls 2017-08-14 11:36:03 +02:00
Henrik Rydgard
4e55654522 Add some missing VIEWPORTSCISSOR dirtying. 2017-08-14 11:35:11 +02:00
Unknown W. Brackets
aa2269020a Dirty viewport state on framebuf resize. 2017-08-14 11:14:26 +02:00
Henrik Rydgard
1098bf7342 All: Only convert viewportscissor state if dirty 2017-08-14 11:14:26 +02:00
Henrik Rydgard
712c36b98b Dirty RASTER_STATE when switching between rect and non-rect primitives (culling) 2017-08-14 11:14:26 +02:00
Henrik Rydgard
e439055a32 All: Only convert raster state if dirty 2017-08-14 11:14:26 +02:00
Henrik Rydgard
e2b179d6e2 All: Only convert depth stencil state if dirty 2017-08-14 11:14:26 +02:00
Henrik Rydgard
e4567c694c All: Only convert blend state if "dirty" 2017-08-14 11:14:26 +02:00
Unknown W. Brackets
3960a4d791 Ensure everything is dirty on frame start. 2017-08-14 11:14:26 +02:00
Henrik Rydgård
945f57af39 Update lang, add language name for Laotian 2017-08-08 20:16:37 +02:00
Henrik Rydgård
ec7e634215 Fix space stripping in a few more string input methods. Helps #9795 2017-08-08 16:42:05 +02:00
Henrik Rydgård
8ba5d7ec1e Strip spaces from pasted IP addresses. Helps #9795. Fix accidental typo 2017-08-08 16:34:46 +02:00
Henrik Rydgård
edf0606bf7 Disable the x86-64 Android build until it can be debugged. Works around #9814 (all such devices can run the x86 build instead) 2017-08-08 16:02:29 +02:00
Henrik Rydgård
3ad571a922 Merge pull request #9889 from hrydgard/android-misc-fixes
Android misc fixes
2017-08-08 15:59:33 +02:00
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 9f24203ef8
9f24203ef8 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