Commit Graph

24889 Commits

Author SHA1 Message Date
Henrik Rydgård
292d2f44ee GL: Also skip gl calls in ThreadEnd during shutdown on Android. May help #11063 2018-10-21 09:14:02 +02:00
Unknown W. Brackets
fd20d7b09e
Merge pull request #11481 from hrydgard/adreno-int-workarounds
Workaround for bad int behaviour on Adreno / GLES. (no problems in Vulkan).
2018-10-20 07:52:29 -07:00
Henrik Rydgård
ca58bb78dd Turn off gl debug logging again 2018-10-20 16:48:17 +02:00
Henrik Rydgård
aea5f38a15 Fix issue where skipGLCalls_ wasn't respected. May help #11063 2018-10-20 15:59:33 +02:00
Henrik Rydgård
81b781fd4f Revert two accidental minor changes 2018-10-20 13:25:53 +02:00
Henrik Rydgård
842290b6dd Workaround for bad int behaviour on Adreno / GLES. (no problems in
Vulkan).

See #11480, should help #11479.
2018-10-20 13:22:14 +02:00
Henrik Rydgård
42a73e4c76 Fix minor bug in natural.vsh, which caused a gl_error that I ran into when tracing another bug 2018-10-20 12:15:58 +02:00
Henrik Rydgård
c514a27c81
Merge pull request #11475 from pleonex/fix-sigpipe
Ignore broken pipe / SIGPIPE signal to avoid crash
2018-10-17 09:44:14 +02:00
Benito Palacios Sanchez
f5f9708f3b Fix undefined MSG_NOSIGNAL
Only Linux seems to support it.
For other OSes we set to the default value 0x00 to do nothing.
2018-10-16 23:18:57 +02:00
Benito Palacios Sanchez
e221187561 Ignore SIGPIPE signal receiving data to avoid crash
Co-Authored-By: unknownbrackets <checkins@unknownbrackets.org>
2018-10-16 22:57:58 +02:00
LunaMoo
25230a14f2
Merge pull request #11473 from zerojay/master
Added 8Bitdo SN30 Pro (Switch Profile) controller
2018-10-16 02:21:13 +02:00
zerojay
cf15f3dfa2
Added 8Bitdo SN30 Pro (Switch Profile) controller 2018-10-15 18:07:45 -04:00
Henrik Rydgård
c6247d1151 Oh, another gradle update. Why not. 2018-10-11 23:45:17 +02:00
Henrik Rydgård
505464eaa5 Vulkan validation: Fix issue where we forgot to transition image mip levels past 0 away from TRANSFER_DST_OPTIMAL during creation. 2018-10-10 22:56:26 +02:00
Henrik Rydgård
0ad166d204 Make sure to save the config while changing backends using the menu bar. Should help #11465 2018-10-10 21:55:10 +02:00
Henrik Rydgård
31893859cc
Merge pull request #11461 from unknownbrackets/dinput-detect
Windows: Detect DirectInput devices after launch
2018-10-09 07:44:02 +02:00
Unknown W. Brackets
52e2e0763a Windows: Detect DirectInput devices after launch. 2018-10-08 21:21:37 -07:00
Henrik Rydgard
5a224d7a2b Disable CheckFailedGPUBackends() in debug builds, for convenience 2018-10-08 13:34:41 +02:00
Henrik Rydgård
52739a1021
Merge pull request #11453 from unknownbrackets/bof3-flicker
Display: Resched interrupt before vblank threads
2018-10-08 07:53:54 +02:00
Henrik Rydgård
1b8bf31e89
Merge pull request #11454 from unknownbrackets/remote-iso
http: Allow pbp and ppdmp files too
2018-10-08 07:53:10 +02:00
Henrik Rydgård
a0b019d473
Merge pull request #11455 from unknownbrackets/android-resize
Android: Fix Vulkan immersive startup
2018-10-08 07:52:47 +02:00
Unknown W. Brackets
5a5483ca93 Android: Fix Vulkan immersive startup.
Would commonly not actually start with immersive resolution due to race
conditions in setting the resolution and ui visibility.
2018-10-07 16:15:23 -07:00
Unknown W. Brackets
9cb471e5bd Android: Avoid race on surface destroyed.
Avoids a segfault in this scenario.
2018-10-07 16:13:34 -07:00
Unknown W. Brackets
d5d572d38e Android: Consistently use version constants. 2018-10-07 15:24:04 -07:00
Unknown W. Brackets
02b418e711 http: Allow pbp and ppdmp files too.
Also cleanup a bit.
2018-10-07 14:53:38 -07:00
Unknown W. Brackets
014d9ddead Display: Resched interrupt before vblank threads.
Otherwise, we may first schedule to a woken thread, and then immediately
reschedule to the interrupt.  Each reschedule costs ticks, and it doesn't
look like this should cause two reschedules.

Improves #11414, Breath of Fire 3 frame flicker.
2018-10-07 14:41:08 -07:00
Unknown W. Brackets
ca5adcda71 GPU: Reduce log noise while stepping.
We redisplay the framebuf over and over, which is annoying when you have
debug logging on and are trying to read the log.
2018-10-07 14:40:10 -07:00
Henrik Rydgård
6fd1c0e3d9 Instead of the last commit, don't enable the dual src extension at all on Adreno.
This reverts commit eba6c00a8a.
2018-10-07 12:19:11 +02:00
Henrik Rydgård
eba6c00a8a Experimental commit trying to solve #10421: Blacklist dual src blending on Adreno/Vulkan 2018-10-06 22:57:23 +02:00
Unknown W. Brackets
8a74e6f7b2
Merge pull request #11447 from hrydgard/android-gl-shutdown-fixes
Avoid calling any GL calls during shutdown on Android. Should help #11063
2018-10-06 12:52:43 -07:00
Henrik Rydgård
9e165ed00f
Merge pull request #11449 from Florin9doi/REMOVE_DUP
Remove duplicate library; use the existing one
2018-10-06 21:39:20 +02:00
Henrik Rydgård
f77975d79b Address additional comments. 2018-10-06 21:36:47 +02:00
Henrik Rydgård
a3a94bdd33 Avoid calling any GL calls during shutdown on Android. Should help #11063
The context is already lost and we're really running shutdown when the process is woken
up again. Additionally, orderly shutdown through the button doesn't happen
on the render thread so remove a couple of asserts that are wrong.
2018-10-06 21:31:52 +02:00
Henrik Rydgård
208b0d8a42
Merge pull request #11450 from Florin9doi/androidgitversion
Use androidgitversion version 0.4.5
2018-10-06 19:28:32 +02:00
Florin9doi
dc99d781d7 Use androidgitversion version 0.4.5 2018-10-06 20:17:08 +03:00
Florin9doi
5c52777699 Remove duplicate library; use the existing one 2018-10-06 20:01:28 +03:00
Unknown W. Brackets
5f357984d3
Merge pull request #11448 from hrydgard/android-tv-disable-hwscale
Disable Android HW scale on TV type devices.
2018-10-06 09:05:16 -07:00
Henrik Rydgård
83bf001a31 Disable Android HW scale on TV type devices. 2018-10-06 13:43:11 +02:00
Unknown W. Brackets
80538b093e
Merge pull request #11445 from hrydgard/app-bundle-support
Android build: Enable AAPT2
2018-10-05 15:34:55 -07:00
Henrik Rydgård
65d8b5fc9b Android build: Enable AAPT2 2018-10-05 22:57:27 +02:00
Henrik Rydgård
7b34eaa1fb
Merge pull request #11435 from unknownbrackets/ui-buttons
UI: Implement a glowing border touch control style
2018-10-04 07:57:40 +02:00
Henrik Rydgård
7f38ff783a
Merge pull request #11436 from unknownbrackets/tex-ini
Replacement: Show a warning for bad texture names
2018-10-04 07:47:42 +02:00
Henrik Rydgård
486707b43a
Merge pull request #11441 from hrydgard/note9-vulkan-fix
Vulkan: Apply Themaister's patch, removing illegal pre-transitions of swapchain images. Fixes #11417 (crash on Note 9)
2018-10-03 22:11:27 +02:00
Henrik Rydgård
9b7061b383 Vulkan: Apply Themaister's patch, removing illegal pre-transitions of swapchain images. Fixes #11417 2018-10-03 21:39:16 +02:00
Henrik Rydgård
07e99d614d
Merge pull request #11437 from xebra/step_to_curve
GE Debugger: Step to curved surface.
2018-10-03 14:39:19 +02:00
Henrik Rydgård
669079454a
Merge pull request #11438 from unknownbrackets/wasapi-switch
Allow WASAPI device switching
2018-10-01 09:15:36 +02:00
Unknown W. Brackets
c571924765 Windows: Support WASAPI default device switching.
No support for specifying a certain device.
2018-09-30 21:47:00 -07:00
Unknown W. Brackets
ae5ff4bf71 Windows: Support non-extensible float in WASAPI.
The DualShock 4's headphone jack uses this, for example.
2018-09-30 20:29:44 -07:00
Henrik Rydgård
f7c96651e6 Listen to WASAPI events 2018-09-30 20:29:44 -07:00
Henrik Rydgård
f8ea364371 Cleanup: Split out the WASAPI code into its own file. 2018-09-30 20:29:39 -07:00