Commit Graph
168 Commits
Author SHA1 Message Date
Henrik Rydgård 6560192d8e Support full VSync control in SDL OpenGL.
(Not yet Qt).

Forgot about iOS

SDL headless buildfix

Additional iOS buildfix
2020-07-19 12:07:16 +02:00
Henrik Rydgård 49d9caeb0d SDL: Avoid destroying the surface on resize. 2020-07-18 20:40:20 +02:00
Henrik Rydgård 697c3b8b36 Cleanup log output on swapchain/surface recreation. 2020-07-18 20:35:39 +02:00
Henrik RydgårdandGitHub 3691cc990f Merge pull request #13052 from hrydgard/sdl-resize-fixes
Partly clean up SDL resize code, should help #11974
2020-06-24 01:36:38 +02:00
Henrik Rydgård f9cef5b6b2 Partly clean up SDL resize code, should help #11974 2020-06-24 01:06:01 +02:00
Henrik Rydgård 7180c2a4c2 Enable Vulkan validation in SDL debug builds 2020-06-23 21:57:02 +02:00
Henrik Rydgård 8b98047502 Finish the Linux part of this change 2020-06-22 00:54:51 +02:00
Henrik Rydgård 3d743a5ae7 Buildfixes 2020-06-22 00:01:31 +02:00
Henrik Rydgård 6532c345c8 Simplify the validation interface code, bugfixes 2020-06-21 23:04:51 +02:00
Unknown W. Brackets b46bf8e4e7 SDL: Try to continue if EGL init fails.
Probably we should just stop using EGL on SDL2, but I'm not sure if
that's making things work for some users.  But if EGL init fails, try
to avoid a segfault and skip EGL.

Should help #12474.
2020-05-23 16:26:47 -07:00
Henrik RydgårdandGitHub 2b605f1370 Merge pull request #11876 from AreaScout/master
Fix: touchscreen evens on upcomming SDL2 versions which includes the …
2020-05-17 18:35:39 +02:00
Henrik Rydgård 3f74ffbdf5 Reduce the SDL audio buffer size, 2048 is a bit excessive. Port the changes to the Qt SDL code. 2020-05-17 11:50:34 +02:00
Henrik Rydgård 06c22497b7 SDL: If we get an audio device with a different freq than 44100, that's actually OK. 2020-05-17 10:21:02 +02:00
Henrik Rydgård b6a051dd49 Fix comment 2020-05-16 19:47:12 +02:00
Henrik Rydgård caf8e5496d SDL: Show the actually used sample rate in system info.
Right now it'll always be the requested 44100 though anyway.
2020-05-16 17:46:21 +02:00
Florin9doi bc948b9b94 iOS/macOS : set bundle version 2020-05-01 21:36:55 +03:00
AreaScout e673d74646 Fix: touchscreen evens on upcomming SDL2 versions which includes the same functionality but inside the library 2020-04-27 10:31:21 +00:00
Unknown W. Brackets fd0bf21215 Windows: Prevent applying -1 as inset space. 2020-04-05 17:06:36 -07:00
M4xwandUnknown W. Brackets fe32ad88fb Core: Add some libnx calls for Switch. 2020-03-15 07:56:38 -07:00
Henrik RydgårdandGitHub 875d53a485 Merge pull request #12612 from iota97/sdl-mouse
SDL analog mouse input
2020-03-05 17:23:08 +01:00
iota97 80effb6b68 Let's wait 5 frames 2020-03-05 16:36:26 +01:00
iota97 b8ce079829 Fix wheel up/down and additional mouse button 2020-03-05 15:57:45 +01:00
Unknown W. Brackets cb1b7b1e43 Core: Bring over some file related Switch changes.
Reducing the distance from the Switch port code.
2020-03-03 22:53:03 -08:00
iota97 b0307301e3 Better smoothing and added missing break on MOUSE_WHEEL 2020-03-03 17:17:58 +01:00
iota97 fc1b83fd93 Fixes 2020-02-04 09:54:01 +01:00
iota97 3248d58c4d Switch mode only if needed 2020-02-04 07:47:02 +01:00
iota97 4b28482479 SDL analog mouse input 2020-02-04 05:11:07 +01:00
李通洲 55bb58e13e NativeApp: add System_GetPropertyFloat all the places 2020-02-04 09:20:34 +08:00
Florin9doi c824fabd53 Update macOS system name 2020-01-25 16:54:45 +02:00
Henrik RydgårdandGitHub 1d6d66ac43 Merge pull request #12582 from Florin9doi/sdl_app_icon
SDL app icon
2020-01-24 15:27:10 +01:00
李通洲 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