Commit Graph

338 Commits

Author SHA1 Message Date
李通洲
a34d35d705 Add support for iOS ( completely untested ) 2020-01-20 14:43:08 +08:00
李通洲
7cd60549dd Initial support for vulkan on macOS ( MoltenVK ) 2020-01-20 14:42:40 +08:00
Florin9doi
24a8077616 SDL app icon 2020-01-17 21:05:59 +02:00
Unknown W. Brackets
9989c51f21 SDL: Ignore audio switch events in first second.
We get new device events right on start, which makes auto switch away from
the preferred / most recent device otherwise.  Fixes #12536.
2020-01-01 07:47:26 -08:00
Unknown W. Brackets
a1ee226c39 SDL: Switch audio device when plugged in. 2019-10-07 20:16:20 -07:00
Unknown W. Brackets
c30bc4ee7d SDL: Add UI to reset audio device at runtime. 2019-10-07 20:16:19 -07:00
Unknown W. Brackets
8751316051 SDL: Use a configurable output device. 2019-10-07 20:15:25 -07:00
Unknown W. Brackets
141258c366 SDL: Use SDL2 audio API for output. 2019-10-07 20:15:25 -07:00
Unknown W. Brackets
daf07032a6 cmake: Ignore if madbundle.sh fails. 2019-10-07 20:15:25 -07:00
Conn O'Griofa
18edfefa0a SDL: ensure swap interval is set correctly for SDL2 kmsdrm driver
It appears that SDL2's kmsdrm driver ignores the swap interval setting
if the SDL context has not yet been created. Moving the call to after context
creation allows it to work as expected.

Fixes vsync when running ppsspp in a KMS context using the SDL2 kmsdrm driver
(which is especially useful for Raspberry Pi 4 B, but is also needed for other
systems including Raspberry Pi 3B via firmware KMS & Intel Haswell i965 via
KMS on x64).
2019-10-03 07:40:19 +01:00
Henrik Rydgård
63305d5248 SDL: Add back a couple of lines that should have been copied, not deleted. Thanks [Unknown] 2019-09-01 23:00:53 +02:00
Henrik Rydgård
7610220b30 Vulkan: Prepare for adding a second init path for VulkanContext.
Will eventually be used for libretro.
2019-09-01 22:21:19 +02:00
Henrik Rydgård
1d46f40634 SDL/Vulkan: Fix scale problems when maximizing/restoring the window. 2019-09-01 16:22:29 +02:00
Cameron Cawley
ba7ea39a1c Move NKCodeFrom*.h into the relevant platform folders 2019-08-06 16:12:19 +01:00
Unknown W. Brackets
54a393386f SDL: Use whatever display SDL gives us for EGL. 2019-07-06 12:33:37 -07:00
hissingshark
58b473a64c Fix build error 2019-06-11 12:52:05 +01:00
Unknown W. Brackets
edbefa8ee2 SDL: Adjust EGL config choice heuristics.
See #12049:
 * Require EGL_WINDOW_BIT more strongly.
 * Allow EGL_NON_CONFORMANT_CONFIG (but still not EGL_SLOW_CONFIG.)
2019-06-10 17:43:16 -07:00
Silent
bb2ba8086b Improved Show in Folder:
- Not spawning cmd.exe anymore, rather using the same way Chromium does to spawn a shell window with a file focused
- Hid a nonfunctional "Show In Folder" button for UWP builds
2019-05-23 19:59:08 +02:00
Cameron Cawley
427d5f821e SDL: Implement clipboard support 2019-05-15 22:29:40 +01:00
Unknown W. Brackets
f042dc1773 SDL: Make it clear Vulkan check is not an error. 2019-03-23 08:32:51 -07:00
Unknown W. Brackets
3e4faea6ad cmake: Automatically disable Wayland for Raspbian.
Also add a shortcut to b.sh since it has its own toolchain file.
2019-03-23 08:25:39 -07:00
Unknown W. Brackets
ff9911deb5 SDL: Fix compile error when not using FBDEV. 2019-03-23 07:26:47 -07:00
Henrik Rydgård
d7f3f15b85 Add missing line to SDL EGL init (no way this path could have worked anywhere?) 2019-02-27 11:26:31 +01:00
Henrik Rydgård
e715fe0382 EGL errors should cause us to bail. Also downweight alpha in the EGL config chooser. See #11839 2019-02-27 10:33:36 +01:00
Henrik Rydgård
b8e56b361e EGL: Avoid HDR mode. Uses unknownbrackets' changes from #11839. 2019-02-26 08:57:51 +01:00