Commit Graph

7410 Commits

Author SHA1 Message Date
Sam Lantinga 0727acd6ba Merge commit 'e213f37a450ca6b0746aa3acd2e5e76635e13468' into main 2021-03-22 19:16:01 -07:00
Paul Cercueil c12f46b100 [KMSDRM] Fix segmentation fault
Deference the windata pointer *after* checking that it's non-NULL.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2021-03-22 22:20:01 +03:00
vanfanel 100166d7d7 [KMSDRM] Improve cursor management. 2021-03-22 10:48:02 -07:00
Ryan C. Gordon 3f40396d33
First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
Ryan C. Gordon 3c78c211d5
Update and rename README.txt to README.md
This mostly just makes this look nice in web browsers with small displays,
like cell phones reading the GitHub project page.
2021-03-20 18:46:37 -04:00
Sylvain Becker 599edaaf93
Merge pull request #4212 from Cacodemon345/patch-11
Fix GitHub display of README-android.md
2021-03-20 21:07:32 +01:00
Cacodemon345 1899844952
Fix GitHub display of README-android.md 2021-03-21 01:15:14 +06:00
vanfanel cf7eef37b0 [KMSDRM] Better error handling: no more segfaults on window creation failure. 2021-03-20 11:03:52 -07:00
Vanfanel 4acd1dcad4 [KMSDRM] Improve the way to test if last window is being destroyed. 2021-03-18 11:04:28 -07:00
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