Commit Graph

24029 Commits

Author SHA1 Message Date
Unknown W. Brackets
7abf9baf38 SDL: Use wstrings in Windows API calls. 2018-03-25 14:18:31 -07:00
Henrik Rydgård
b0a22fb5c7 Redirect the user to download the D3D9 runtime if D3D9 is not available and they don't want to switch to OpenGL.
Maybe should also update the messagebox text somehow...
2018-03-25 00:46:48 +01:00
Henrik Rydgård
0843e2cb98 Fix updating light constants when light type changes (we handle dir/pos lights differently). Fixes #10132 2018-03-25 00:21:03 +01:00
Leo
8e8c21fa0b Added new Natural Colors PP shader (removed blur) (#10782)
Add Natural Colors shader with removed blur.
2018-03-24 20:51:38 +01:00
Henrik Rydgård
84203e8d3d
Merge pull request #10785 from unknownbrackets/skipdraw
GPU: Count clears during frameskip
2018-03-24 19:11:47 +01:00
Unknown W. Brackets
1b8297de31 GPU: Count clears during frameskip.
This allows the GoW hack to still work during frameskip.
Fixes #10668.
2018-03-24 10:58:24 -07:00
Henrik Rydgård
73df7d31db Remove "experimental" tag from Hardware Tessellation 2018-03-24 17:37:17 +01:00
Henrik Rydgård
2a565199b3
Merge pull request #10780 from aliaspider/temp
Libretro port.
2018-03-24 16:28:10 +01:00
Henrik Rydgård
4f8e2adf76 Remove some unnecessary logging. Fixes #10753 2018-03-24 16:10:21 +01:00
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
aliaspider
d1711c5aa4 nits. 2018-03-24 13:39:05 +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
aliaspider
0af6d573bb remove all usage of __LIBRETRO__ 2018-03-24 12:45:20 +01:00
aliaspider
c4f7790618 Libretro port. 2018-03-24 12:44:53 +01:00
aliaspider
686717eb71 add missing include. 2018-03-24 11:40:16 +01:00
aliaspider
ed12b95091 Windows/Vulkan: use the width and height arguments in ReinitSurface when
provided.
2018-03-24 11:09:55 +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