Sam Lantinga
63f307fe1f
Remove SDL_config.h from the public headers
...
The SDL headers are no longer dependent on the build configuration.
Fixes https://github.com/libsdl-org/SDL/issues/6643 and https://github.com/libsdl-org/SDL/issues/6641
2022-11-26 04:48:36 -08:00
Sam Lantinga
b6b29fd071
Updated Metal shaders
2022-11-25 16:07:09 -08:00
Sam Lantinga
cc1f9eb983
Use Apple's nomenclature for macOS and iOS
...
Fixes https://github.com/libsdl-org/SDL/issues/6621
2022-11-25 16:00:06 -08:00
Frank Praznik
873ec097ea
x11: Remove deprecated/defunct X11 hints
...
SDL_HINT_VIDEO_X11_FORCE_EGL was deprecated in favor of the more general SDL_HINT_VIDEO_FORCE_EGL, and Xinerama and Xvidmode support was previously removed from SDL, rendering their associated hints nonfunctional.
2022-11-25 13:46:47 -08:00
Sam Lantinga
346eeba210
Removed SDL_GetRevisionNumber()
...
Fixes https://github.com/libsdl-org/SDL/issues/6620
2022-11-25 13:36:14 -08:00
slime
ac8fbb7040
Remove SDL_CalculateGammaRamp.
2022-11-25 13:28:56 -08:00
slime
52f4cc843d
Remove SDL_SetWindowBrightness and SDL_SetWindowGammaRamp.
2022-11-25 13:28:56 -08:00
Ozkan Sezer
ab8df9096c
fix copy/paste typo in previous commit.
2022-11-25 23:20:00 +03:00
Ozkan Sezer
f3fe8ea7ad
fix CI windows errors again (because of unused stdio reader callbacks.)
2022-11-25 23:15:02 +03:00
Ozkan Sezer
de0cca91d4
fix CI windows errors because of SDL_RWFromFP()
2022-11-25 22:55:30 +03:00
Ozkan Sezer
0b8309da0c
renamed SDL PI constants to SDL_PI_D and SDL_PI_F.
2022-11-25 22:35:24 +03:00
Sam Lantinga
05139f4a2e
Removed SDL_RWFromFP from the public API
...
This will blow up if the SDL library and the application have a different C runtime, which can easily happen on Windows.
2022-11-25 10:46:26 -08:00
Sam Lantinga
670f1df469
Removed SDL_stdinc.h dependency on HAVE_M_PI, added SDL_M_PIl (double) and SDL_M_PIf (float) instead
2022-11-25 10:33:37 -08:00
Sam Lantinga
fa3814ddf1
Removed SDL_rwops.h dependency on stdio.h
2022-11-25 09:55:42 -08:00
Michael Fitzmayer
67f31a19a8
Add bitdraw.h, remove non-working stub class
2022-11-24 13:12:36 -08:00
Sylvain Becker
4f780c7319
SDL_mfijoystick.m: remove VLA, so that projects can be built with error on vla
2022-11-24 16:07:03 +01:00
Frank Praznik
836eb22442
wayland: Fix build when not using the shared Wayland libraries
...
Explicitly include the Wayland protocol headers when statically linking against the Wayland libraries or older system headers might be used instead of the local versions.
2022-11-24 03:00:56 -08:00
Sam James
3e7952ce8a
Avoid use of deprecated egrep/fgrep
...
GNU grep 3.8 emits a deprecation warning on use of egrep/fgrep.
Signed-off-by: Sam James <sam@gentoo.org >
2022-11-24 02:58:20 -08:00
Joshua Root
239423e205
vulkan_metal.h: Make compatible with ObjC ARC
...
Fixes #6598
2022-11-23 17:37:38 -08:00
Frank Praznik
f47169fcba
wayland: Fix libdecor_dispatch signature
...
The function returns an int, not a bool.
2022-11-23 15:16:37 -08:00
Sam Lantinga
003fd11de8
Regenerated dynamic API after SDL_syswm.h update
2022-11-23 14:34:21 -08:00
Sam Lantinga
b0840eb32e
Updated SDL_syswm.h for SDL 3.0
...
* The header is no longer dependent on SDL build configuration
* The structures are versioned separately from the rest of SDL
* SDL_GetWindowWMInfo() now returns a standard result code and is passed the version expected by the application
* Updated WhatsNew.txt and docs/README-migration.md with the first API changes in SDL 3.0
2022-11-23 14:05:59 -08:00
Joshua Root
53ca1f7702
SDL_mfijoystick.m: fix build with Xcode < 9
...
Fixes #6601 .
2022-11-23 12:47:46 -08:00
Joshua Root
f8cebeea59
Check build-time SDK in LoadMainMenuNibIfAvailable
...
Fixes building against OS X 10.7 SDK.
2022-11-23 12:27:50 -08:00
Joshua Root
d2910904fb
SDL_cocoaopengl.h: ensure CVDisplayLinkRef is defined
...
The typedef seems to be pulled in coincidentally with newer SDKs, but
older ones need to import the header explicitly.
2022-11-23 12:21:31 -08:00
Ozkan Sezer
dcad446066
fix dynapi after SDL_GDKSuspendComplete addition.
2022-11-23 23:04:25 +03:00
Sam Lantinga
d5ff71d685
Updated dynamic API after 040a17a50f
2022-11-23 11:55:02 -08:00
Ciro Mondueri
896e200d94
adds GDK suspend/resume basic handling ( #6596 )
...
(cherry picked from commit f6144dfe03 )
2022-11-23 11:54:16 -08:00
pionere
450f184f7d
use SDL_InvalidParamError in the thread 'classes'
2022-11-23 14:27:26 -05:00
Joshua T. Fisher
61188d4972
Allow Foreign Windows to call SDL_Vulkan_CreateSurface on MacOS ( #6436 )
2022-11-23 11:13:33 -08:00
Cameron Cawley
4ee4e49e49
Select the best pixel formats for use in the software renderer
2022-11-23 11:08:40 -08:00
Ryan C. Gordon
712457ec28
Merge pull request #6321 from Daft-Freak/no-ie
...
Delete emscripten CanvasPixelArray (IE10/11) support
2022-11-23 14:03:35 -05:00
Ryan C. Gordon
dcd9e21966
Merge branch 'main' into wip/angle-egl
2022-11-23 14:01:17 -05:00
Ryan C. Gordon
3983c98ece
Merge branch 'main' into no-ie
2022-11-23 13:46:27 -05:00
Rémy Tassoux
a94d2e929d
Prevent the delay conversion result from being truncated to 32bits
2022-11-23 10:44:53 -08:00
Rémy Tassoux
7d5ffbdab7
Use CREATE_WAITABLE_TIMER_HIGH_RESOLUTION flag in SDL_Delay on Windows 10 version 1803 and later
2022-11-23 10:44:53 -08:00
Sam Lantinga
a635a485bc
Re-added WinRT support until we're sure that it's no longer being used
2022-11-23 10:41:43 -08:00
Ryan C. Gordon
c2f26087c8
Merge branch 'main' into em-webgl-selector-hint
2022-11-23 13:22:23 -05:00
Yevhen Babiichuk (DustDFG)
a05b2fbeee
Use alias types for which members of event structs instead of plain types
...
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com >
2022-11-23 10:19:13 -08:00
Susko3
8f991d7576
Define TOUCHEVENTF_PEN if not defined
2022-11-23 10:09:08 -08:00
Susko3
42796c56a9
Differentiate between Windows Ink (pen) and regular touch input
2022-11-23 10:09:08 -08:00
Ozkan Sezer
34231f5ba0
reverted opengles removal.
2022-11-23 18:50:02 +03:00
Ozkan Sezer
016b757311
reverted jack audio backend removal.
2022-11-23 06:50:20 +03:00
Ethan Lee
ecc4b8773c
wasapi: Removed WinRT PrivateAudioData members
2022-11-22 17:12:56 -05:00
Ethan Lee
57458588ee
wasapi: Merge wasapi_win32.c into wasapi.c
2022-11-22 16:46:12 -05:00
Ozkan Sezer
dc2a3e06e9
removed WinRT support.
2022-11-22 23:36:24 +03:00
Ozkan Sezer
7df102d220
reverted sndio backend removal.
2022-11-22 22:04:10 +03:00
Sam Lantinga
3b318f981e
Removed G29 from controller_type.c
...
We don't want the G29 to show up as a gamepad, Steam will create a virtual Xbox controller for it, which breaks racing games.
(cherry picked from commit dce6ed56d7 )
2022-11-22 10:57:45 -08:00
Sam Lantinga
189f71efb3
Revert "Added Linux mappings for the Logitech G29 in PS3 and PS4 modes"
...
This reverts commit 33a68f575f .
We don't want the G29 to show up as a gamepad, Steam will create a virtual Xbox controller for it, which breaks racing games.
(cherry picked from commit e3d430b83e )
2022-11-22 10:57:39 -08:00
Ozkan Sezer
30b1ab2add
removed opengles.
2022-11-22 21:48:40 +03:00