Commit Graph

  • c95edd9450 Fixed spacing Sam Lantinga 2022-06-13 06:36:39 -07:00
  • 33f8a4ddca Sync wiki -> header SDL Wiki Bot 2022-06-13 13:29:04 +00:00
  • 6258f2ef3f Fixed spacing Sam Lantinga 2022-06-13 06:27:01 -07:00
  • 7321537971 cmake: Fix static linking to dependencies with "-" in library name Simon McVittie 2022-06-13 11:51:41 +01:00
  • bdf141335c autotools: fixed d3d12 detection result report. Ozkan Sezer 2022-06-12 23:22:20 +03:00
  • 9a0367675f windows: Get better name for the physical display, for Vista and later. Ryan C. Gordon 2022-06-12 15:28:49 -04:00
  • 1963cccce1 CMake: Fix XCode CMake config file. (#5787) Pierre Wendling 2022-06-12 09:48:57 -04:00
  • b84ce0d484 Fix typo Matthew Morrison 2022-06-11 20:07:26 -05:00
  • fd8cafc72e Rename variables in SDL_egl.c to be more intuitive Cameron Cawley 2022-06-11 17:11:55 +01:00
  • e09551bc80 Fix WinRT build Eric Wasylishen 2022-06-09 02:22:21 -06:00
  • 2830895740 testgles2.c: refresh cached SDL_GL_GetDrawableSize() on SDL_WINDOWEVENT_SIZE_CHANGED, not SDL_WINDOWEVENT_RESIZED Eric Wasylishen 2022-06-08 23:49:05 -06:00
  • ab81a559f4 Windows DPI scaling/highdpi support Eric Wasylishen 2022-06-07 02:01:27 -06:00
  • df36f926fc testautomation: add video_setWindowCenteredOnDisplay test Eric Wasylishen 2022-06-05 14:44:30 -06:00
  • 448e05e3c8 add DPI_AWARENESS_CONTEXT_UNAWARE_GDISCALED define Eric Wasylishen 2022-06-05 12:51:57 -06:00
  • 1b797957c1 SDL_windowsvideo.c: add HIGHDPI_DEBUG ifdef, print DPI awareness at startup if defined Eric Wasylishen 2022-06-05 12:36:58 -06:00
  • 1488c40812 WM_DPICHANGED: remove some dead code, add comment Eric Wasylishen 2022-06-05 12:01:32 -06:00
  • 60ef11b3cb Fix Watcom compile errors Eric Wasylishen 2022-06-03 00:21:36 -06:00
  • d3b970d4d5 HighDPI: remove SWP_NOSIZE in WIN_SetWindowPosition Eric Wasylishen 2022-05-29 21:56:37 -06:00
  • 51ebefeeee Support PMv2 DPI awareness, add SDL_HINT_WINDOWS_DPI_AWARENESS Eric Wasylishen 2022-02-28 00:43:43 -07:00
  • 81d3adddbf events: Fix spurious early returns from SDL_WaitEvent()/SDL_WaitEventTimeout() Cameron Gutman 2022-06-11 12:59:33 -05:00
  • b3260e7eb3 Remove macro definition for SDL_ERRBUFIZE Nhalrath 2022-06-11 23:34:20 +08:00
  • 4a3277b0f9 wayland: Always commit window constraints before entering fullscreen Frank Praznik 2022-05-19 15:13:02 -04:00
  • 78698a0ba2 wayland: Use a separate frame callback for setting the surface damage region Frank Praznik 2022-05-17 12:37:16 -04:00
  • 146ea9b0e1 wayland: Only set the surface opaque region if EGL transparency is disabled Frank Praznik 2022-05-16 18:18:55 -04:00
  • a20516d4f3 wayland: Swap emulated mode dimensions in more cases Frank Praznik 2022-05-16 10:35:56 -04:00
  • e1c8350439 wayland: Add a hint to disable video mode emulation under Wayland Frank Praznik 2022-05-15 10:35:59 -04:00
  • e9d3dcea73 wayland: Unify integer and fractional output scaling Frank Praznik 2022-05-14 18:32:05 -04:00
  • 4fde7dd830 wayland: Refactor the Wayland mode emulation and viewport logic Frank Praznik 2022-05-14 14:42:52 -04:00
  • ce5763230b The backlight event is "change", not "add" or "remove" Sam Lantinga 2022-06-10 12:42:45 -07:00
  • 68544be44b Added support for the Nintendo Online controllers Sam Lantinga 2022-06-10 11:31:59 -07:00
  • b75cd2b36d x11: Force window back to expected size after SDL_SetWindowBordered. Ryan C. Gordon 2022-06-10 14:12:03 -04:00
  • 51db775442 updated windows watcom exports file after last commit. Ozkan Sezer 2022-06-10 06:23:20 +03:00
  • 9202df0472 Implemented SDL_GameControllerGetFirmwareVersion() for HIDAPI PS5 controllers Sam Lantinga 2022-06-09 18:11:34 -07:00
  • e5a3acd6bd ime: fcitx: Retrieve cursor position and selection Guldoman 2022-05-05 04:01:05 +02:00
  • dd7bed9ebc ime: ibus: Retrieve cursor position and selection Guldoman 2022-05-05 03:10:35 +02:00
  • d11702ce29 ime: wayland: Make use of SDL_TEXTEDITING_EXT Guldoman 2022-05-05 02:34:16 +02:00
  • 74bcc5a0a3 stdlib: Add SDL_utf8strnlen Guldoman 2022-05-05 02:23:05 +02:00
  • c7f4103807 Special case for k_eControllerType_XInputSwitchController in the raw input path Sam Lantinga 2022-06-09 13:47:29 -07:00
  • e6cb082232 Fixed the default mapping on Windows for the HORI Fighting Commander Sam Lantinga 2022-06-09 13:20:38 -07:00
  • 0a93ac1294 Work around the lack of clock() on PS Vita Cameron Cawley 2022-05-08 18:06:47 +01:00
  • 25367efcba Add missing library needed for locale functions on PS Vita Cameron Cawley 2022-05-08 17:36:22 +01:00
  • 6f69bbc541 D3D11: Fix SDL_TEXTUREACCESS_TARGET not working if SDL_HAVE_YUV was 0 chalonverse 2022-06-08 12:38:43 -07:00
  • 8303c5d0a3 Added missing SDL_zero for renderTargetViewDesc chalonverse 2022-06-08 12:37:36 -07:00
  • 6bd49fc00c revert mode changes from commit d58d637ac Ozkan Sezer 2022-06-08 21:58:10 +03:00
  • d58d637ac6 Added support for the Qanba Obsidian Arcade Joystick on Linux Sam Lantinga 2022-06-08 11:07:36 -07:00
  • 526f417587 updated configury to silence ac2.7x warnings with minor rearrangement. Ozkan Sezer 2022-06-08 20:51:04 +03:00
  • 51d6d60f11 Updated to autoconf 2.71 Sam Lantinga 2022-06-08 10:14:36 -07:00
  • e201f338d7 ci: enable CMake test for Emscripten Charlie Birks 2022-06-08 14:54:47 +01:00
  • 0fcfaf9e94 emscripten: use MAIN_THREAD_EM_ASM for the fb/cursor proxying Charlie Birks 2022-06-08 14:20:50 +01:00
  • b9c2ad8395 Added additional check for HAVE_D3D12_H and missing SDL_VIDEO_RENDER_D3D12 in SDL_config.h.cmake chalonverse 2022-06-07 22:19:58 -07:00
  • 298ad937c0 cmake: wrap SDL_STATIC_PIC in double quotes (aka never trust user input) Anonymous Maarten 2022-06-08 01:10:12 +02:00
  • ad272ac690 Set POSITION_INDEPENDENT_CODE property on SDL2 for CMake 3.0 Anonymous Maarten 2022-06-08 00:32:15 +02:00
  • e8d89ce28f < should be <= chalonverse 2022-06-07 16:31:27 -07:00
  • 7a335df9cf Updated CMakeLists.txt and configure.asc/script so that it checks for the required Windows SDK version before it enables the d3d12 renderer. Also fixed reported warnings in some builds. chalonverse 2022-06-07 16:11:25 -07:00
  • 5abd676917 Allow empty default values to the dep_option macro Anonymous Maarten 2022-06-07 04:28:55 +02:00
  • 2cc2260435 Fixed bug #5768 - SDL_RenderGeometry's software backend failed to render when texture coordinates are reversed Sylvain 2022-06-07 16:30:01 +02:00
  • 168b97ca32 Updated Xcode project with SDL_guid.c and controller_type.c Sam Lantinga 2022-06-07 00:33:59 -07:00
  • 7e71d08ab2 regenerated configure script. Ozkan Sezer 2022-06-07 04:02:50 +03:00
  • ef4e0e921a Sync wiki -> header SDL Wiki Bot 2022-06-07 00:44:04 +00:00
  • 4082821822 DirectX 12 Renderer (#5761) chalonverse 2022-06-06 17:42:30 -07:00
  • 63e12cf601 SDL_windows_main.c: replace CopyMemory() with SDL_memcpy() Ozkan Sezer 2022-06-06 22:55:56 +03:00
  • ec0204d243 x11: Don't use GetXftDPI() when XRandR can tell us the DPI per-output. Ryan C. Gordon 2022-06-06 14:38:26 -04:00
  • 61115aebd3 update dynapi after the loongarch support patch Ozkan Sezer 2022-06-06 19:29:56 +03:00
  • 7cd165e2d9 Sync wiki -> header SDL Wiki Bot 2022-06-06 15:51:04 +00:00
  • 50d8642fa3 Add optimiztion function with LSX in LoongArch yuanhecai 2022-06-06 20:18:38 +08:00
  • 17f63e53f8 Add loongarch support yuanhecai 2022-05-31 19:10:05 +08:00
  • 9703f23663 SDL_SetHintWithPriority: actually, this test is good. Ryan C. Gordon 2022-06-06 10:54:16 -04:00
  • 30cf26e089 Show the firmware version in testgamecontroller Sam Lantinga 2022-06-06 06:48:54 -07:00
  • 5f25a6ea78 Revert "SDL_SetHintWithPriority: better test if hint value has changed." Ryan C. Gordon 2022-06-06 09:36:20 -04:00
  • c391bdc160 SDL_SetHintWithPriority: better test if hint value has changed. Ryan C. Gordon 2022-06-06 09:31:35 -04:00
  • 55a07d91fa SDL_SetHintWithPriority: Allow setting NULL hints. Ryan C. Gordon 2022-06-06 09:30:43 -04:00
  • a236bf4f25 x11: Hook up display hotplug notifications. Ryan C. Gordon 2022-06-06 02:13:37 -04:00
  • 6b4bd5a759 test_harness: Report if zero tests to run. Ryan C. Gordon 2022-06-05 09:34:12 -04:00
  • 46624b4e1d Removed two distracting gcc-11 warnings Christoph Reichenbach 2022-06-05 06:53:15 +00:00
  • 3807e95029 Sync wiki -> header SDL Wiki Bot 2022-06-05 00:24:04 +00:00
  • 3a20274ddf Refactoring: move GUID operations out of Joystick Christoph Reichenbach 2022-06-04 20:16:28 +00:00
  • 4e07d4722d Build warning fixes for gcc-11.3 Christoph Reichenbach 2022-06-04 13:03:51 +00:00
  • b359282a5c regenerated configure script Ozkan Sezer 2022-06-04 12:58:00 +03:00
  • 20c76599f9 Fix MinGW SDK redist: sdl2-config.cmake needs to set SDL2_FOUND Anonymous Maarten 2022-06-04 03:11:23 +02:00
  • fd3f381021 Initialize SDL_STATIC_PIC from CMAKE_POSITION_INDEPENDENT_CODE Anonymous Maarten 2022-06-04 03:16:27 +02:00
  • 65a3453b7f build: Compile with large inode number support where possible Simon McVittie 2022-05-26 16:02:15 +01:00
  • 3604ae1d1b Sync wiki -> header SDL Wiki Bot 2022-06-04 01:52:04 +00:00
  • 423141bfca Added a function to get the controller firmware version Sam Lantinga 2022-06-03 18:49:41 -07:00
  • d6143ab369 Add -Wl,-Bstatic to "sdl2-config --static-libs" output Anonymous Maarten 2022-06-03 23:53:05 +02:00
  • 799d39a302 Make the sdl2-config script relocatable Anonymous Maarten 2022-06-03 23:08:22 +02:00
  • 142a3630d3 updated watcom makefiles after 17410887d0 Ozkan Sezer 2022-06-04 01:10:00 +03:00
  • 17410887d0 Separated controller type data into a C file Sam Lantinga 2022-06-03 15:02:31 -07:00
  • 2b59cb900e Added mingw package support directory to the distribution archive Sam Lantinga 2022-06-03 12:51:00 -07:00
  • f858d1305a ci: test installed packages using CMake Anonymous Maarten 2022-06-03 19:24:20 +02:00
  • 96e3733a18 cmake: make Xcode's sdl2-config.cmake compatible with the one from autotools Anonymous Maarten 2022-06-03 20:13:57 +02:00
  • 5a8ccf4522 cmake: make VisualC's sdl2-config.cmake compatible with the one from autotools Anonymous Maarten 2022-06-03 20:13:38 +02:00
  • 5ec2d46f47 cmake: make SDL2Config.cmake compatible with autotools' sdl2-config.cmake Anonymous Maarten 2022-06-03 20:12:52 +02:00
  • 9ff8f29f43 cmake: Add mini-SDL2 CMake project to test SDL2 prefixes Anonymous Maarten 2022-06-03 20:07:43 +02:00
  • 67792767f5 cmake: Add CMake configuration files, meant for the prebuilt MinGW SDK Anonymous Maarten 2022-06-03 20:06:09 +02:00
  • 246f3ba52c cmake: rewrite autotools' sdl2-config.cmake.in with IMPORTED targets + no more -lmingw32 Anonymous Maarten 2022-06-03 19:57:21 +02:00
  • 6f3474db2d autotools: export relative path of an installed sdl2-config.cmake to the prefix root Anonymous Maarten 2022-06-03 19:58:25 +02:00
  • 8e13cc309e cmake: add 'compatible interface properties' to allow enforcing SDL2 sharedness Anonymous Maarten 2022-05-30 00:46:00 +02:00
  • 1087eaad7e cmake: install SDL2::SDL2test when configuring with SDL2_TEST enabled Anonymous Maarten 2022-05-27 01:40:11 +02:00
  • ae2cc29f8b Make sure initial state is set correctly for the D3D renderer Sam Lantinga 2022-06-03 09:44:34 -07:00
  • 345efdcb10 Wait for all the threads to actually finish before exiting Sam Lantinga 2022-06-03 08:46:08 -07:00