Commit Graph

  • 31fe061ab5 Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-20 20:57:27 +00:00
  • f59c66a97f testcamera: Allow app to flip between a front and back camera. Ryan C. Gordon 2024-02-19 23:52:43 -05:00
  • 6296677bc9 camera: Fixed Android hotplug. Ryan C. Gordon 2024-02-19 23:52:13 -05:00
  • 6c080717f2 camera: Reset permissions to undecided when closing camera. Ryan C. Gordon 2024-02-19 23:51:30 -05:00
  • db8caa029b camera: Added new function with gendynapi.py. Ryan C. Gordon 2024-02-19 22:38:23 -05:00
  • 70b89ab70d camera: Added SDL_GetCameraDevicePosition. Ryan C. Gordon 2024-02-19 14:19:57 -05:00
  • b1ed49772c camera: Replace testcamera.c with testcameraminimal.c Ryan C. Gordon 2024-02-19 12:20:11 -05:00
  • bdcddf4810 camera: Disconnected cameras become zombies that feed blank frames. Ryan C. Gordon 2024-02-19 12:18:00 -05:00
  • 2613e3da24 camera: Rewrote Android support. Ryan C. Gordon 2024-02-18 00:50:32 -05:00
  • 848dcf8a5f main: Fixed compiler warning on Android. Ryan C. Gordon 2024-02-18 00:49:20 -05:00
  • 47313bba32 camera: SDL_GetCameraDevices should not report "no devices" like an error. Ryan C. Gordon 2024-02-18 00:47:03 -05:00
  • f3485a47b3 android: Add src/main/ files to Android.mk Ryan C. Gordon 2024-02-13 16:15:59 -05:00
  • 8db2a3b27a camera: Add an optional property that reports if a camera is back or front. Ryan C. Gordon 2024-02-07 09:17:01 -05:00
  • 0b8617f71d test: Fixed CMake to build testcameraminimal correctly on WinRT. Ryan C. Gordon 2024-02-06 01:51:41 -05:00
  • 99d1337de2 camera: Reenabled macOS/iOS support, with rewritten CoreMedia implementation. Ryan C. Gordon 2024-02-06 01:19:12 -05:00
  • f8fa08d2b1 camera: Fix compiler warnings on some platforms. Ryan C. Gordon 2024-01-31 21:47:33 -05:00
  • 22dbc0f32f camera: Patched to compile after rebasing to latest in main. Ryan C. Gordon 2024-01-31 15:32:03 -05:00
  • 7191a97fe3 camera: Windows support, through the Media Foundation API! Ryan C. Gordon 2024-01-31 15:07:07 -05:00
  • 3dca8a03da camera: Removed some debug logging. Ryan C. Gordon 2023-12-22 10:12:48 -05:00
  • 67708f9110 camera: Emscripten support! Ryan C. Gordon 2023-12-22 01:23:49 -05:00
  • 182f707284 include: Fixed doxygen comments on new camera APIs. Ryan C. Gordon 2023-12-17 19:28:32 -05:00
  • 2cdff93578 v4l2: Corrected SDL_UDEV_AddCallback return check after #8694. Ryan C. Gordon 2023-12-17 15:45:13 -05:00
  • 0b5875825e camera: framerate support. Ryan C. Gordon 2023-12-17 13:38:36 -05:00
  • 9ae39d52de camera: Add sources to Xcode and Visual Studio projects. Ryan C. Gordon 2023-12-16 21:36:04 -05:00
  • 87e7046fca camera: Public API functions should say "Format" not "Spec" to match audio. Ryan C. Gordon 2023-12-16 16:12:19 -05:00
  • f87d536229 camera: Added more accurate timestamps. Ryan C. Gordon 2023-12-16 16:00:15 -05:00
  • d3e6ef3cc6 camera: Massive code reworking. Ryan C. Gordon 2023-12-15 11:45:11 -05:00
  • 3d2d5d18f3 pixels: Packed-pixel YUV formats can legit report bits-per-pixel. Ryan C. Gordon 2023-12-15 11:11:24 -05:00
  • 8e1758260c surface: Fixed a typo in a comment. Ryan C. Gordon 2023-12-15 10:57:54 -05:00
  • cb10c80aaf camera: Reworked to operate with a driver interface, like other subsystems. Ryan C. Gordon 2023-12-01 10:59:13 -05:00
  • 2ad44bd162 camera: Made a pass over all the sources, cleaning up for SDL3 style, etc. Ryan C. Gordon 2023-11-28 23:03:19 -05:00
  • 7ae955ce68 camera: Renamed everything from "video capture" to "camera", wired to CMake. Ryan C. Gordon 2023-11-27 23:05:54 -05:00
  • f49ce4a15d camera: Renamed "video_capture" files to "camera" and moved to own subdir. Ryan C. Gordon 2023-11-27 19:27:58 -05:00
  • 4d000ae3bd audio: Change references to streams[i] to previously-calculated stream. Ryan C. Gordon 2024-02-20 15:29:07 -05:00
  • 751917cb6f Fix null pointer dereference in SDL_BindAudioStreams() Mathieu Eyraud 2024-02-20 19:31:27 +01:00
  • 8b6eae2d4f cmake: Split and store the libdecor version as individual parts Frank Praznik 2023-12-28 13:04:41 -05:00
  • 8073f4aa1d Pass the real error from D3D12_CreatePipelineState() back to the application Sam Lantinga 2024-02-20 06:24:20 -08:00
  • 376ef4e418 Fixed the WGI driver picking up Xbox controllers handled by RAWINPUT Sam Lantinga 2024-02-20 06:19:20 -08:00
  • cb3a1a82d5 SDL_memcpy.c, SDL_memmove.c, SDL_memset.c: don't use gcc builtins if !HAVE_LIBC Ozkan Sezer 2024-02-20 01:23:18 +03:00
  • bb4ec5250f Added support for non-gamepad controllers to the GameInput driver Sam Lantinga 2024-02-17 22:32:44 -08:00
  • f63f99bd2d Setup to handle the guide button once we get an updated GameInput SDK Sam Lantinga 2024-02-17 21:52:53 -08:00
  • ae8a910781 Added infrastructure for reporting GameInput touchpads Sam Lantinga 2024-02-17 21:21:54 -08:00
  • ae4aa25082 Get the real GameInput device name if possible Sam Lantinga 2024-02-17 20:10:41 -08:00
  • 419aebebda Added infrastructure for reporting GameInput sensors Sam Lantinga 2024-02-17 19:40:42 -08:00
  • 85ac0381b7 IGameInputDevice::GetDeviceInfo() can never return a null pointer Sam Lantinga 2024-02-17 19:18:04 -08:00
  • fbe4153214 The HIDAPI driver takes precedence over the GameInput driver Sam Lantinga 2024-02-17 19:13:04 -08:00
  • 4a59b17de2 Added infrastructure for querying battery status for GameInput Sam Lantinga 2024-02-17 19:09:29 -08:00
  • fd9a4eff9f Updated GameInput device info to match other joystick drivers Sam Lantinga 2024-02-17 17:52:48 -08:00
  • 8f0f14c312 Added automatic gamepad mapping for the GameInput driver Sam Lantinga 2024-02-17 17:41:30 -08:00
  • eb9a7d97f9 The GameInput driver handles Xbox controllers Sam Lantinga 2024-02-17 16:43:07 -08:00
  • 698b7deaa2 Removed GAMEINPUT_JoystickEffectDataType_HapticFeedback Sam Lantinga 2024-02-17 16:33:45 -08:00
  • f35ede7281 Generalized the idea of joystick driver priority Sam Lantinga 2024-02-17 15:41:18 -08:00
  • 7f33464bed opengles2: Call glClearColor() with r,g,b,a, not r,g,g,a Robert Edmonds 2024-02-17 15:51:45 -05:00
  • fee140bdfe Added the option for GameInput support to the Win32 SDL build Sam Lantinga 2024-02-17 14:07:42 -08:00
  • 534f753e20 GameInput backend for SDL (Gamepad-only for now) Nikita Krapivin 2024-01-25 01:26:01 +05:00
  • 7ed1f3554d Define HAVE_LIBC for the platforms with a C library Sam Lantinga 2024-02-17 11:31:06 -08:00
  • ed615e92b7 Updated automated test now that getting an invalid property isn't an error Sam Lantinga 2024-02-17 09:30:50 -08:00
  • dc7baa415e Show the window after creating the renderer Sam Lantinga 2024-02-17 09:21:30 -08:00
  • ff01d0b568 Fixed building without HAVE_LIBC on Windows Sam Lantinga 2024-02-17 08:12:10 -08:00
  • 8ce786d2b6 Property query functions don't set an error if they return the default value Sam Lantinga 2024-02-17 07:59:04 -08:00
  • 202886f873 Make use of the HDR light range when playing HDR video Sam Lantinga 2024-02-16 20:05:11 -08:00
  • 317099b01f Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-17 03:51:21 +00:00
  • cb38649490 Added SDL_PROP_DISPLAY_HDR_WHITE_LEVEL_FLOAT Sam Lantinga 2024-02-16 17:36:11 -08:00
  • 631b05b211 Drop stray trailing whitespace for android-project Michał Janiszewski 2024-02-16 00:19:13 +01:00
  • 6472e36264 x11: Minor cleanup in new mouse cursor selection code. Ryan C. Gordon 2024-02-16 08:37:23 -05:00
  • b986bc8be9 emscripten, wayland, x11: Share the table of CSS cursor names Simon McVittie 2024-02-16 12:20:21 +00:00
  • 7dbd6669c3 wayland: Move calls to WAYLAND_wl_cursor_theme_get_cursor out of the switch Simon McVittie 2024-02-16 11:41:01 +00:00
  • 40a6c1c0a7 wayland: Use CSS/freedesktop cursor name "default" as a fallback Simon McVittie 2024-02-16 11:18:46 +00:00
  • 791646535a wayland: Reference CSS cursor name vocabulary Simon McVittie 2024-02-16 11:20:25 +00:00
  • cb9565354c x11: Use XcursorLibraryLoadCursor to load system cursors when available. Ryan C. Gordon 2024-02-16 02:06:32 -05:00
  • d451fcd7a7 Fixed HDR video content being too bright on Apple platforms Sam Lantinga 2024-02-15 16:39:13 -08:00
  • c09daf8388 Removed unused variables Sam Lantinga 2024-02-15 14:10:58 -08:00
  • 6efe5f30ed don't let SDL_render.c:render_drivers[] have an empty initializer list. Ozkan Sezer 2024-02-15 20:55:04 +03:00
  • aae2d22852 Check the SDL_VIDEO_RENDER_??? macros with #if instead of #ifdef Ozkan Sezer 2024-02-15 20:55:02 +03:00
  • 8ddddd36cd audio: Deal with race conditions against default device changes. Ryan C. Gordon 2024-02-15 14:11:36 -05:00
  • 4eae38580f cocoa: Remove resize hack when changing the window backing scale Zeroing the window width and height was necessary in SDL2 to short-circuit the resize event deduplication code when the window backing scale changed, but not the logical size. This is no longer necessary in SDL3, as it will explicitly check for scale changes on resize events and dispatch pixel size/scale changed events as appropriate, even if the window's logical size hasn't changed. Frank Praznik 2024-02-14 17:21:09 -05:00
  • f9ba0e1dbd wayland: Don't store wl_output pointers in mode driver data Frank Praznik 2024-02-14 10:27:42 -05:00
  • 5e1d9d19a4 audio: Don't use SDL_BindAudioStream inside SDL_OpenAudioDeviceStream(). Ryan C. Gordon 2024-02-13 15:23:27 -05:00
  • 5e6ae85b63 Update the draggable state when the hit test callback changes Sam Lantinga 2024-02-13 09:26:08 -08:00
  • 4d4c24acdd Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-13 17:07:23 +00:00
  • bc984f78bf android: Remove blocking permission request code. Async only in SDL3! Ryan C. Gordon 2024-02-12 19:46:03 -05:00
  • af61cfd5e0 android: Added SDL_AndroidRequestPermissionAsync. Ryan C. Gordon 2024-02-12 15:26:09 -05:00
  • 310f21bf84 video: Ensure that all references to a destroyed fullscreen window are removed Frank Praznik 2024-02-13 09:42:54 -05:00
  • f2695856d6 Use SDL string functions Sam Lantinga 2024-02-12 19:51:48 -08:00
  • 725c79f3ac Fixed building with SDL_LEAN_AND_MEAN Sam Lantinga 2024-02-12 19:34:10 -08:00
  • 734d6fa1f3 Fixed documentation of SDL_PROP_WINDOW_CREATE_EXTERNAL_GRAPHICS_CONTEXT_BOOLEAN Sam Lantinga 2024-02-12 18:53:26 -08:00
  • ead3cbafd7 Fixed documentation for SDL_HINT_WINDOWS_CLOSE_ON_ALT_F4 (thanks @AntTheAlchemist!) Sam Lantinga 2024-02-12 18:32:29 -08:00
  • 814a94c349 Fixed error: unused variable 'axes' [-Werror,-Wunused-variable] Sam Lantinga 2024-02-12 11:18:11 -08:00
  • b39246936b Added SDL_cocoashape* to Xcode project Sam Lantinga 2024-02-12 11:17:54 -08:00
  • f4d97bdb14 Update mouse transparency when the window shape changes Sam Lantinga 2024-02-12 10:49:45 -08:00
  • 42cdbf6b21 Explicitly retain and release NSObjects in C structures Sam Lantinga 2024-02-12 10:20:06 -08:00
  • 87c07a79c0 Changed property name from '-' to '_' Sam Lantinga 2024-02-12 09:55:12 -08:00
  • 59f1e66adc Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-12 17:55:23 +00:00
  • dca2721b91 Removed SDL_HINT_VIDEO_EXTERNAL_CONTEXT Sam Lantinga 2024-02-11 19:37:16 -08:00
  • 2f7c24e4be Removed SDL_HINT_RENDER_SCALE_QUALITY Sam Lantinga 2024-02-11 19:07:07 -08:00
  • 20051f805f Removed SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4 Sam Lantinga 2024-02-11 18:12:08 -08:00
  • 7cb1ca60ec Removed SDL_HINT_RENDER_OPENGL_SHADERS Sam Lantinga 2024-02-11 18:08:30 -08:00
  • 9920e062d5 Removed SDL_HINT_THREAD_STACK_SIZE Sam Lantinga 2024-02-11 18:04:56 -08:00
  • 9e505252c0 Renamed SDL_HINT_PS2_DYNAMIC_VSYNC SDL_HINT_RENDER_PS2_DYNAMIC_VSYNC Sam Lantinga 2024-02-11 18:03:09 -08:00
  • a538936821 Renamed SDL_HINT_LINUX_JOYSTICK_DEADZONES to SDL_HINT_JOYSTICK_LINUX_DEADZONES Sam Lantinga 2024-02-11 17:57:25 -08:00