51811 Commits

Author SHA1 Message Date
Ömercan Kömür
09832d09fb Update Makefile.cores 2019-12-18 20:56:59 +03:00
twinaphex
168395af74 (libretro-common) Update 2019-12-18 18:25:54 +01:00
twinaphex
60b182b821 Promote tpool as libretro-common component 2019-12-18 18:21:03 +01:00
twinaphex
587a56026e Disable HAVE_UPDATE_CORES for Steam too 2019-12-18 18:13:05 +01:00
twinaphex
3e8e6d35d6 (tpool.c) Code style nits 2019-12-18 18:11:18 +01:00
twinaphex
9a7a8efb39 Hide this setting behind HAVE_UPDATE_CORES 2019-12-18 17:45:14 +01:00
Twinaphex
4db4d5e8bc
Merge pull request #9869 from hasenbanck/frame-conversion
FFMPEG core frame based color conversion
2019-12-18 15:55:24 +01:00
Nils Hasenbanck
d046594591 Fix ffmpeg core memory leak when using pthreads. 2019-12-18 15:05:01 +01:00
Nils Hasenbanck
417d1b7de7 Color space conversion using frame based MT.
Using a ordered ring buffer and a thread pool, the color space
conversion is not multi-threaded based on frames. I tried
to implement slice based threading, but libswscale did produced
highly distorted pictures without obvious reason.

This approach introduces some more "lag" when decoding and skipping,
but shouldn't be affect the user negatively, since movie
watching is not lag sensitive, as long as the A/V is synchronized.

Change default to software decoding.

SW decoding is the most robust and fasted method of decoding right now.
Users should enable hw based decoding if their system requires it
and it's actually beneficial for them.

Fix deadlocks when seeking and decrease RAM usage.

Decrease memory allocation by reusing AVFrames.
2019-12-18 11:46:49 +01:00
Twinaphex
a88e6f4e1f
Merge pull request #9867 from jdgleaver/ozone-fullscreen-thumbs
(Ozone) Add fullscreen thumbnail viewer
2019-12-17 22:24:17 +01:00
Hans-Kristian Arntzen
96723c6f70 Vulkan/Android: Workaround weird WSI return codes in landscape mode.
Android WSI wants you to use preTransform, and if it is not used
correctly, Android 10 will return VK_SUBOPTIMAL_KHR, and we would create
a new swapchain every frame.

This workaround just ignores this error, since it's not really an error.
A more "proper" fix is to use prerotate and modify the MVP matrices,
which might help certain devices with crummy display processors.
2019-12-17 19:08:20 +01:00
Twinaphex
5062374c72
Merge pull request #9868 from jdgleaver/database-fix
Fix database entry display
2019-12-17 15:25:26 +01:00
jdgleaver
76bb0031cb Fix database entry display 2019-12-17 14:07:35 +00:00
jdgleaver
8ba17dd985 (Ozone) Add fullscreen thumbnail viewer 2019-12-17 11:41:01 +00:00
Hans-Kristian Arntzen
4437cd1eac Attempt to workaround odd crashes in glslang.
I accidentally managed to reproduce an issue which has been plaguing
users for a while, where glslang throws an assert after closing a game
(and starting a new one).

pthread_setspecific was somehow failing with an EINVAL call, despite the
key never having been freed. I suspect some kind of corruption happening
when dynamic libraries are unloaded, but I doubt this is a bug in either
RetroArch or glslang per-se.

My workaround here is to tear down all TLS use in glslang after we're
done compiling. Somehow this works around the problem for me, and I
don't really see another viable fix. Valgrind does not say anything about the
issue, so doubt it's memory corruption either.

I had to fix a minor TLS leak in glslang as DetachProcess does not free
the PoolIndex TLS.
2019-12-16 22:27:13 +01:00
Twinaphex
3cfed7ba01
Merge pull request #9677 from orbea/travis
travis: Log configure arguments + use before_script.
2019-12-16 14:40:17 +01:00
Twinaphex
e9a264217a
Merge pull request #9860 from Themaister/master
Android/Vulkan: Recreate swapchain on orientation change.
2019-12-15 16:51:55 +01:00
Themaister
15ffffa835 Android/Vulkan: Recreate swapchain on orientation change.
ANativeWindow getWidth/Height does not detect any changes when using
Vulkan, so use the old onContentRectChanged callback to get notified
when size changed. Use those values instead when figuring out how large
swapchain to create.

Tested trivially on Galaxy S9+ Exynos model.
2019-12-15 16:46:41 +01:00
twinaphex
79ce997156 Fix potential bug with analog deadzones - should be fabs 2019-12-15 16:21:27 +01:00
Twinaphex
15838c2850
Merge pull request #9858 from ToadKing/emscripten-upgrades
fix bug in emscripten input code
2019-12-15 15:40:00 +01:00
Francisco José García García
0545c42db9 (Vita) Fix duplicate symbols with some cores 2019-12-15 11:05:22 +01:00
Toad King
f3001c9bba fix bug in emscripten input code 2019-12-14 20:57:10 -06:00
Twinaphex
42aa83b2a5
Merge pull request #9857 from ToadKing/emscripten-upgrades
changes to support upgraded emscripten SDK
2019-12-15 03:32:13 +01:00
Toad King
15e8be4074 changes to support upgraded emscripten SDK 2019-12-14 20:24:41 -06:00
ThePhxRises
3c27300a4e [VITA] Enable touch regardless of MiniVitaTV 2019-12-14 20:50:17 +01:00
ThePhxRises
65f406a39e [VITA] MiniVitaTV Support
Set kernel model manually with sceCtrlIsMultiControllerSupported()
2019-12-14 20:50:17 +01:00
Twinaphex
0d06dfa948
Merge pull request #9854 from frangarcj/upstream
(VITA) Fixes for non working cores and VITA2D (GXM) Improvements
2019-12-14 16:07:03 +01:00
Francisco José García García
b4be7b0c74 (Vita) Several improvements to vita2d driver 2019-12-14 14:11:47 +01:00
Francisco José García García
9ad874eef8 (Vita) Add new function to draw textured arrays of vertices 2019-12-14 14:11:47 +01:00
Francisco José García García
d52f3ba3e9 (Vita) Fix clipping and reduce number of calls 2019-12-14 14:11:46 +01:00
Francisco José García García
3d44faf6c3 (Vita) New set viewport function 2019-12-14 14:11:46 +01:00
Francisco José García García
8ad3cb14f8 (Vita) Changes for new tint shaders 2019-12-14 14:11:46 +01:00
Francisco José García García
0be7e96437 (Vita) Disable lto 2019-12-14 14:11:46 +01:00
Francisco José García García
d1aa7dbedc Disable not compilable sqrtfv_neon 2019-12-14 14:11:46 +01:00
Francisco José García García
eef7611cf1 Fix for duplicated error symbol 2019-12-14 14:11:46 +01:00
Francisco José García García
758b3ad2cc (VITA) Make VITA2D the default driver 2019-12-14 14:11:46 +01:00
hizzlekizzle
b468aa8c01
Merge pull request #9852 from realnc/swap-interval-drc
Support DRC even when using a vsync swap interval higher than 1
2019-12-13 22:16:25 -06:00
Nikos Chantziaras
31d86e6e78
Update CHANGES.md 2019-12-13 23:29:43 +02:00
Nikos Chantziaras
1617cd7e2a
Support DRC even when using a vsync swap interval higher than 1 2019-12-13 23:27:23 +02:00
Twinaphex
ac318f2c8c
Merge pull request #9851 from rsn8887/master
Fix radial analog deadzone scaling
2019-12-13 20:32:41 +01:00
rsn8887
42d02565af Fix radial analog deadzone scaling 2019-12-13 13:29:28 -06:00
Twinaphex
18d3eba614
Merge pull request #9842 from rsn8887/master
Implement proper analog button deadzone
2019-12-13 19:15:52 +01:00
Twinaphex
3171c71639
Merge pull request #9850 from jdgleaver/dropdown-list-fix
Fix 'currently selected item' indicator in dropdown lists
2019-12-13 12:11:10 +01:00
jdgleaver
32444f8188 Fix 'currently selected item' indicator in dropdown lists 2019-12-13 10:49:52 +00:00
Twinaphex
73729e7a33
Merge pull request #9848 from BarryJRowe/master
Fixed a segfault and an issue with AI Service overlay's image mode.
2019-12-13 07:04:25 +01:00
Barry Rowe
c6f55eeb94 Fixed a segfault and an issue with AI Service overlay's image mode. 2019-12-12 16:31:18 -08:00
Twinaphex
5e156b9d73
Merge pull request #9847 from jdgleaver/xmb-fullscreen-thumbs
(XMB) Add fullscreen thumbnail viewer
2019-12-12 20:08:20 +01:00
jdgleaver
004d100ed8 (XMB) Add fullscreen thumbnail viewer 2019-12-12 17:01:37 +00:00
Twinaphex
1f866dbad4
Merge pull request #9844 from Jamiras/cheevos_pce_cd_memory
support for extended PC-Engine memory map
2019-12-11 21:08:46 +01:00
Twinaphex
127e07c210
Merge pull request #9845 from jdgleaver/ozone-thumb-tweaks
(Ozone) Minor thumbnail optimisations
2019-12-11 21:08:34 +01:00