Commit Graph

7151 Commits

Author SHA1 Message Date
Vanfanel
8638674a87 [KMSDRM] Correct comment typo. 2021-03-18 11:04:28 -07:00
vanfanel
82ff6045fa [KMSDRM] Unload GL/EGL libs and destroy GBM only when we are destroying the last window. 2021-03-18 11:04:28 -07:00
vanfanel
c35e71892e [KMSDRM] All non-vulkan windows have to be marked as OPENGL, not only the first created one. 2021-03-18 11:04:28 -07:00
vanfanel
281a7bdbb3 [KMSDRM] Make the gbm_init flag a viddata member to avoid GBM re-init when several displays are connected. 2021-03-18 11:04:28 -07:00
Ozkan Sezer
e5821bf276 regenerated configure. 2021-03-18 00:10:00 +03:00
Vanfanel
e6b87005c1 Fix tests configuration and building when only GLVND full OpenGL implementation is present. 2021-03-17 12:33:22 -07:00
Vanfanel
7d1b9c9f15 [KMSDRM] Remove unneeded function calls and improve comments for future reference. 2021-03-17 11:29:13 -07:00
Ryan C. Gordon
db2ad6fa73
git-pre-push-hook: remove ".git" from URL. 2021-03-17 13:36:38 -04:00
Ryan C. Gordon
e7e519a466
dsp: Refuse to initialize if there aren't any Open Sound System devices.
This prevents the dsp target from stealing the audio subsystem but not
being able to produce sound, so other audio targets further down the list
can make an attempt instead.

Thanks to Frank Praznik who did a lot of the research on this problem!
2021-03-17 13:04:05 -04:00
Ankith
559be8aab4 fix invalid out of bounds UTF8 handling 2021-03-16 18:51:28 -07:00
Ankith
07fc1bb883 Fix invalid UTF-8 handling of extra bytes 2021-03-16 18:51:28 -07:00
Vanfanel
96cc49857d [Build system] Report differentiated glx and glvnd OpenGL implementation detection. 2021-03-16 18:35:39 -07:00
Vanfanel
e14fb54e3f [KMSDRM] Undo SDL_CreateRenderer() modifications aimed at create opengles2 when KMSDRM is in use because it's a harmful solution. 2021-03-16 11:07:54 -07:00
Ryan C. Gordon
7a2a1a85e9
documentation: initial script to merge header comments and the wiki.
This is a work-in-progress, but the idea is it can convert between our
wiki and the SDL header's doxygen comments, so we can attempt to keep them
in sync.

This might be a fool's errand, but I'm optimistic it'll work enough that we
can clean up little issues as we go, as long as we have some discipline
about how we write documentation. If nothing else, it's going to result in
a solid spring-cleaning of both the wiki and the headers!
2021-03-16 13:49:35 -04:00
Vanfanel
108bb5aabe [KMSDRM] Modify SDL_CreateRenderer() to create an opengles2 renderer when the KMSDRM backend is being used and no renderer name has been specified. 2021-03-15 18:47:22 -07:00
vanfanel
e213f37a45 [KMSDRM] Enable full OpenGL detection (MESA/libglvnd) on both the make and cmake buildsystems. 2021-03-15 18:47:22 -07:00
Sam Lantinga
5f596d1a1e Merge commit 'b98b5adcaea159fc6a9753f808875acf7d3ee945' into main 2021-03-15 09:00:44 -07:00
Sam Lantinga
b1b93df8a6 Merge commit '8ba735c208388159477bf0ccb06a8573a273fb02' into main 2021-03-15 09:00:42 -07:00
Sam Lantinga
aa00fe4b2f Merge commit '3853531f6d11d1824b6a0ce0212c06e79483d22d' into main 2021-03-15 09:00:40 -07:00
Sam Lantinga
7acafda73d Merge commit '9996cecc726a8d8900fd817d58f9505b3490d1bc' into main 2021-03-15 09:00:39 -07:00
Sam Lantinga
30bef5dcc3 Merge commit '5f7eb88ae0990f89ec3a4bf697ec03aafee1a9a8' into main 2021-03-15 09:00:37 -07:00
Sam Lantinga
00f93e4082 Merge commit 'b49e0953b14be38cdeada86df84a59c92e38aeff' into main 2021-03-15 09:00:35 -07:00
Sam Lantinga
4a39d89611 Merge commit '1957ffd21ab5a3be6f347def510fcb8f985d3b8b' into main 2021-03-15 09:00:33 -07:00
Sam Lantinga
3313c67c01 Merge commit '34de3b57a101f8d885041add5e21311a153bb1bf' into main 2021-03-15 09:00:32 -07:00
Sam Lantinga
2bd0a71821 Merge commit 'dacf6cfbaa8c66ea6150f95aadad2954f116836c' into main 2021-03-15 09:00:30 -07:00
Sam Lantinga
082394c6b9 Merge commit 'a5f3ea14487f1a36b1d421d02e86f25704f8bdc8' into main 2021-03-15 09:00:25 -07:00
Sam Lantinga
7ca94f5998 Merge commit '4fbd60b81714f8f93946520147cb0c1f05faee64' into main 2021-03-15 09:00:23 -07:00
Sam Lantinga
713a04721c Merge commit 'cd3809c03e6d41a73cdb7c4a2e84c56e3d45cd7a' into main 2021-03-15 09:00:22 -07:00
Sam Lantinga
61589463de Merge commit '9e23c65237b480c74a0a2537b9927f6e52ca22aa' into main 2021-03-15 09:00:20 -07:00
Sam Lantinga
b53f06ccf8 Merge commit '72bcf546f90423f05eda0fa08510e340683ff6f4' into main 2021-03-15 09:00:18 -07:00
Sam Lantinga
5b34a265be Merge commit '3d22731d94d6259255ef3fd5006c8c6c80e377b4' into main 2021-03-15 09:00:16 -07:00
Sam Lantinga
d84df04fd1 Merge commit '51345623e888d7bc4131cd8f015c339f757ea68a' into main 2021-03-15 09:00:15 -07:00
Ryan C. Gordon
b98b5adcae
wasapi: Don't use the system's resampler. 2021-03-15 10:21:36 -04:00
Esme
8ba735c208 Include arm_neon.h in mingw targeting ARM Windows.
The llvm-mingw project includes cross-compilers targeting ARM: https://github.com/mstorsjo/llvm-mingw/releases

Currently, compilation fails with this configuration, because neon features are used as long as __ARM_NEON is defined, but arm_neon.h was not included.
2021-03-15 10:11:51 +03:00
Cacodemon345
3853531f6d Fix CMake script on Linux 2021-03-15 10:11:01 +03:00
Haelwenn (lanodan) Monnier
9996cecc72 Set ALT_OGL to libOpenGL.so.0 instead of libOpenGL.so.1 2021-03-15 10:10:38 +03:00
Cacodemon345
5f7eb88ae0 Load libOpenGL.so.1 if libGL.so.1 is not found 2021-03-14 17:37:55 -07:00
Ozkan Sezer
b49e0953b1 regenerated configure 2021-03-14 14:10:50 +03:00
Ozkan Sezer
1957ffd21a fixed a typo in SDL_ceilf() 2021-03-14 11:04:28 +03:00
Cacodemon345
34de3b57a1 Fix CMake script on FreeBSD 2021-03-13 18:40:27 -08:00
Cacodemon345
dacf6cfbaa Fix compilation with iconv on FreeBSD 2021-03-13 18:39:42 -08:00
nia
a5f3ea1448 netbsdaudio: Handle ioctls failing
A user reported that the mpv video player hangs after attempting to
set an unsupported number of channels with the SDL audio output,
because it thinks it's successfully opened the device. This makes
the failure graceful.
2021-03-13 18:37:21 -08:00
Frank Praznik
4fbd60b817 audio: pipewire: Remove the nickname portion of sink/source names
Removes the node nickname from sink/source nodes as it doesn't provide any useful information and names now match those used in Pulseaudio, so any stored configuration data will be compatible between the two audio backends.
2021-03-13 18:36:47 -08:00
kenmays
cd3809c03e SDL: Updated patches for HAIKU
Revert change
2021-03-13 18:36:01 -08:00
kenmays
9e23c65237 SDL: Updated patches for HAIKU 2021-03-13 18:36:01 -08:00
kenmays
72bcf546f9 SDL: Updated patches for HAIKU 2021-03-13 18:36:01 -08:00
Sylvain Becker
3d22731d94
Merge pull request #4175 from 1bsyl/br_blit_rgb555_to_rb1555
Fixed bug 3727 - Blit from RGB555 to ARGB1555
2021-03-11 20:10:07 +01:00
Sylvain
51345623e8
Fixed bug 3727 - Blit from RGB555 to ARGB1555 2021-03-11 20:06:09 +01:00
Ozkan Sezer
9d46bd25c7 revert commit 81cdb1bb0d (unifont license issue.) 2021-03-11 17:00:10 +03:00
Ryan C. Gordon
3a1317ed47
Minor tweak to workflow settings.
There was an (innocently intended, I assume!) "make X great again" joke in a previous commit message, and I'd like this not to be the first thing people see on our GitHub project page, so I added some whitespace to the end of this file.

Apologies to any that were bothered by that, it was an accident!
2021-03-09 15:54:25 -05:00