Commit graph

24015 commits

Author SHA1 Message Date
Henrik Rydgård
8fe5223dd0
Merge pull request #10781 from hrydgard/preserve-config
Android: Reload the config after getting storage permission, and ask immediately.
2018-03-24 14:18:37 +01:00
Henrik Rydgård
fb15208777 Android: Reload the config after getting storage permission, and ask immediately. Should help #10670 2018-03-24 12:52:51 +01:00
Henrik Rydgård
198d921a9b
Merge pull request #10737 from unknownbrackets/savestate
SaveState: Keep an undo for each slot by default
2018-03-24 10:18:18 +01:00
Henrik Rydgård
da8d5fa280
Merge pull request #10767 from aliaspider/temp
fix cmake build for mingw and msvc.
2018-03-24 09:24:53 +01:00
aliaspider
f94e9b1e74 set _WIN32_WINNT to 0x0601 in stdafx.h 2018-03-23 22:54:12 +01:00
Henrik Rydgård
7761d2366b Android: Prevent a text bitmap size from becoming 0 on '\r\n'. Fixes #10764 (unless there are more platforms where it's broken...) 2018-03-23 10:48:54 +01:00
Henrik Rydgård
fb798cf6b2 Win32 textdrawer: Fix rare crash affecting Patapon 2 in savedata manager. See 10764. 2018-03-23 10:27:08 +01:00
aliaspider
3fbb340450 fix most write-strings warning. 2018-03-23 04:21:46 +01:00
aliaspider
198c946218 remove unnecessary NULL assignment. 2018-03-23 04:14:10 +01:00
aliaspider
54d9406713 fix mingw and msvc cmake builds. 2018-03-23 03:18:13 +01:00
aliaspider
23dae72bce prevent reads of uninitialized memory. 2018-03-22 22:25:04 +01:00
aliaspider
8fcf93e462 vulkan: perform delete callbacks first since they can also queue
deletes.
2018-03-22 22:23:28 +01:00
aliaspider
15c4406df7 add missing inclues. 2018-03-22 22:14:19 +01:00
aliaspider
a5b5308d88 fix return value / plug leak. 2018-03-22 22:12:19 +01:00
aliaspider
fc9a5ff65c prevent use-after-free. 2018-03-22 22:10:05 +01:00
aliaspider
2d1128db76 fix va_list reuse without a va_copy. 2018-03-22 22:04:49 +01:00
Henrik Rydgård
9849ceadc4
Merge pull request #10751 from Florin9doi/ANDROID_ROTATION
Landscape Auto for Android
2018-03-21 11:33:44 +01:00
Henrik Rydgård
826e8a689e
Merge pull request #10742 from crocket/master
Map SDL controller's `back` button to Sony DualShock 4 V2's share button
2018-03-21 10:49:07 +01:00
Henrik Rydgård
9c68e2c410 Revert "Update glslang to the latest version" to fix #10748
Should take a real look sometime.

This reverts commit d4a4844bff.
2018-03-21 09:13:54 +01:00
Henrik Rydgård
5d524c3eef
Merge pull request #10757 from hrydgard/uwp-enable-flushcache
Enable FlushInstructionCache on UWP, it's been allowed finally.
2018-03-20 21:53:20 +01:00
Henrik Rydgård
f76e5e70a7 Enable FlushInstructionCache on UWP, it's been allowed finally.
Minor warning fixes, UWP buildfix

Retarget UWP project to latest SDK.
2018-03-20 20:30:33 +01:00
Florin9doi
8f38c7949c Landscape Auto for Android 2018-03-19 23:09:25 +02:00
Henrik Rydgård
78488a4ea6 Android: Restore auto screen orientation.
Fixes #10708

This reverts commit 53a351c29d.
2018-03-19 20:12:37 +01:00
Henrik Rydgård
24b9fb6ea9 Buildfix 2018-03-19 18:14:57 +01:00
Henrik Rydgård
f1359af0b0 Vulkan: Improve handling of shader compile failures (don't crash) 2018-03-19 17:46:58 +01:00
Henrik Rydgård
1888d828ec Vulkan: Workaround for bug in Adreno shader compiler affecting color tests.
This comparison should pretty much work as well as the old one, I
believe, if not faster.

Should help #10695
2018-03-19 17:33:08 +01:00
Henrik Rydgård
7ce5f8d29c Delete some mistaken logging code 2018-03-19 14:44:20 +01:00
Henrik Rydgård
efad648de2
Merge pull request #10746 from hrydgard/vulkan-pipeline-cache-fixes
Vulkan: De-duplicate pipelines when storing cache
2018-03-19 11:36:20 +01:00
Henrik Rydgård
3e5757d7d7 Minor improvement in pipeline-to-string (debug) 2018-03-19 11:19:10 +01:00
Henrik Rydgård
8f87a9f5c5 Vulkan: De-duplicate pipelines when storing cache
The new variety of renderpasses with different transitions causes
duplication. Hopefully drivers are smart enough to re-use work
between similar pipelines as much as possible...
2018-03-19 11:18:37 +01:00
Henrik Rydgård
1dabccb453 Vulkan: Minor logic fixes in the transition elimination 2018-03-18 13:14:20 +01:00
Henrik Rydgård
ce18364a15
Merge pull request #10743 from hrydgard/vulkan-renderpass-barrier-2
Vulkan: Further barrier optimizations
2018-03-18 13:02:08 +01:00
Henrik Rydgård
452e299473
Merge pull request #10740 from hrydgard/vulkan-renderpass-barrier
Vulkan: Merge some barriers into "subpass dependencies".
2018-03-18 12:29:21 +01:00
Henrik Rydgård
3e7723ea6d Vulkan: Use finalLayout to optimize away barriers before framebuffer copies. 2018-03-18 12:09:02 +01:00
Henrik Rydgård
2d3655ea23 Vulkan: Get rid of more explicit barriers by merging the finalLayout color transitions into renderpasses. 2018-03-18 12:03:23 +01:00
crocket
b7fa253192 Map SDL controller's back button to Sony DualShock 4 V2's share button
It turns out that `back` button is actually `select` button on PSP.
I confirmed this by clicking touchpad in a game.

`select` button maps to `share` button on Sony DualShock 4 V2.
2018-03-18 19:52:08 +09:00
Henrik Rydgård
6d5f0665fe Add a super focused workaround for the Mali bug, see #10723
Minimizes the performance penalty.
2018-03-18 11:20:45 +01:00
Henrik Rydgård
216bab8a4a Vulkan: Fix a barrier to be more permissive, there's no outstanding writes from the GPU to wait for. 2018-03-18 09:57:17 +01:00
Henrik Rydgård
f43935b030 Merge framebuffer layout pre-transitions into render pass subpass dependencies.
With this, drivers should be able to completely get rid of layout
transitions into render passes that use CLEAR, at least.
2018-03-18 09:55:36 +01:00
Henrik Rydgård
33a1e6a080 Vulkan Clear-renderpass merging: If a copy step is found that reads from the affected buffer, don't merge the clear into the later renderpass. 2018-03-18 09:44:00 +01:00
Henrik Rydgård
648b4eac51 Shrink the vertexCount field in DeferredDrawCall to the 16 bits required. 2018-03-18 09:42:05 +01:00
Unknown W. Brackets
5020182660 SaveState: Default undo slots off on mobile.
It's still a pretty useful feature on mobile (considering mistaps), but
it also eats a bunch of storage so it can always be turned back on.
2018-03-17 23:18:26 -07:00
Unknown W. Brackets
862b553c66 SaveState: Show undos in save data manager. 2018-03-17 23:18:25 -07:00
Unknown W. Brackets
2ee8dd7752 SaveState: Keep an undo for each slot by default. 2018-03-17 23:18:25 -07:00
Henrik Rydgård
ad42ec5473 Inner interpreter: Add support for the Gran Turismo hack. 2018-03-17 23:57:50 +01:00
Henrik Rydgård
a966403def Add another SDL game controller config, fixing #10724 2018-03-17 23:42:10 +01:00
Henrik Rydgård
0ee058320a Pass new vulkan validation layers. Fix math in FindTransferFramebuffers. 2018-03-17 23:39:02 +01:00
Henrik Rydgård
778beb6cd9
Merge pull request #10736 from unknownbrackets/loading
Module: Hash functions only once during loading
2018-03-17 22:24:58 +01:00
Unknown W. Brackets
892c439fcf Module: Clarify insertSymbols usage. 2018-03-17 13:58:56 -07:00
Unknown W. Brackets
f14f2efa79 Module: Hash functions only once during loading.
This fixes the loading speed regression from #10501.
2018-03-17 13:36:37 -07:00