Commit Graph

  • a37f2aed7e Hook up Android_ScreenDensity to convert pixels to screen coordinates on Android Sam Lantinga 2023-01-25 10:22:43 -08:00
  • 9bbc402b81 Take the display scale into account in SDL_GetWindowSizeInPixels() Sam Lantinga 2023-01-25 10:20:44 -08:00
  • 162e40c982 Use densityDpi instead of density to more closely match what the UI scale is Sam Lantinga 2023-01-25 10:17:54 -08:00
  • 6dc135413a Create a static SDL_test library on Android Sam Lantinga 2023-01-25 10:16:24 -08:00
  • 330ad80014 cocci: fix game pad event types Anonymous Maarten 2023-01-25 22:02:31 +01:00
  • 79cca812cb include: make SDL_RenderPresent thread safety notes less verbose. Ryan C. Gordon 2023-01-25 13:15:34 -05:00
  • 43e3daace3 Sync SDL3 wiki -> header SDL Wiki Bot 2023-01-25 18:02:19 +00:00
  • 197340ea1c Sync wiki -> headers. Ryan C. Gordon 2023-01-25 12:58:29 -05:00
  • 01cba48d18 wikiheaders: Add a \threadsafety tag to document threading details. Ryan C. Gordon 2023-01-24 22:13:25 -05:00
  • 73dc327c84 Android get the display Density Sylvain 2023-01-25 14:55:50 +01:00
  • 6a27188023 SDL_DisplayMode now represents physical pixels and has added a display scaling factor Sam Lantinga 2023-01-25 03:36:35 -08:00
  • a1e101e898 Fixed formatting for Haiku cc files Sam Lantinga 2023-01-25 03:03:41 -08:00
  • 6240252736 Updated documentation with the SDL_WINDOW_ALLOW_HIGHDPI flag removal Sam Lantinga 2023-01-25 01:28:37 -08:00
  • 4696c9556b SDL 3.0 is going to be high DPI aware and officially separates screen… (#7145) Sam Lantinga 2023-01-25 01:23:17 -08:00
  • 78cc95e34e Rename internal GetDisplayDPI to GetDisplayPhysicalDPI Sylvain 2023-01-25 08:35:55 +01:00
  • 724d92fd65 Rename SDL_GetDisplayDPI to SDL_GetDisplayPhysicalDPI to avoid confusion with logical DPI Sylvain 2023-01-25 08:32:16 +01:00
  • d496d187c5 Document that the pitch value may be zero for surfaces that will be filled in by the application later. Sam Lantinga 2023-01-24 22:49:33 -08:00
  • e3bada6fbd wikiheaders: We never updated the config when we moved to include/SDL3. :O Ryan C. Gordon 2023-01-24 19:42:03 -05:00
  • ecffa93f39 ci: test vita piglet/pvr gles support Anonymous Maarten 2023-01-22 20:36:59 +01:00
  • edf8db0466 cmake: removed unused code Anonymous Maarten 2023-01-24 04:53:59 +01:00
  • 5f995579e9 vita: add missing static libraries for using gles with pib Anonymous Maarten 2023-01-24 03:57:48 +01:00
  • bb3a60bce5 cmake: move include(sdlfind.cmake) to main cmake script Anonymous Maarten 2023-01-23 03:04:35 +01:00
  • 3e3debf9de vita: allow GLES support without GL support Anonymous Maarten 2023-01-24 23:52:48 +01:00
  • 3cb819ac48 vita: fix PVR_PSP2 (GLES) + gl4es4fita (GL) Anonymous Maarten 2023-01-22 21:02:35 +01:00
  • ec3234ea21 editorconfig: trim trailing spaces from yml's Anonymous Maarten 2023-01-23 20:18:48 +01:00
  • 14eb8db152 Fixed build Sam Lantinga 2023-01-24 14:01:01 -08:00
  • a06a593aa6 Renamed SDL_GetGamepadNumTouchpads and SDL_GetGamepadNumTouchpadFingers to match the new convention Sam Lantinga 2023-01-24 13:47:30 -08:00
  • fcf5b99068 Update vsproj search paths (libsdl-org/SDL#7139) Jesse Chounard 2023-01-24 13:30:15 -06:00
  • 58e8cf599c README-migration.md: fix SDL_WINDOWEVENT_CLOSE renamed name. Ozkan Sezer 2023-01-24 20:05:50 +03:00
  • 052b14eb65 Add SDL_ConvertAudioSamples() helper function Sylvain 2023-01-23 08:24:49 +01:00
  • 7b50bae524 Renamed SDL events for clarity Sam Lantinga 2023-01-23 17:54:09 -08:00
  • 74697bc351 group init flag defines into an enum (#7137) Lokathor 2023-01-23 23:04:43 -07:00
  • d020dd89ba Support MIN/MAX blend on opengles2 ds-sloth 2023-01-22 17:16:13 -05:00
  • b6646f4de5 Use nanosecond timestamp for sensors (thanks @1bsyl!) Sam Lantinga 2023-01-23 05:33:56 -08:00
  • 34bb0735d8 video: Don't resize moved fullscreen windows if the display mode switch failed Frank Praznik 2023-01-22 15:10:22 -05:00
  • 8f8746cc1b video: Return an error on failure to set the video mode Frank Praznik 2023-01-22 15:06:30 -05:00
  • b379c910d4 SDL_CPUPauseInstruction RISCV-64 version proposal. David Carlier 2023-01-22 21:01:22 +00:00
  • 38697e832a Support MIN/MAX blend on OpenGL + ES ds-sloth 2023-01-22 12:27:52 -05:00
  • b1f365374b Add code snipped to migrate from AudioCVT interface Sylvain 2023-01-22 21:51:40 +01:00
  • cb01b35c4e testresample.c: use SDL_DestroyAudioStream() Sylvain 2023-01-22 21:49:27 +01:00
  • 0770c55e8d cocci: remove SDL_INIT_NOPARACHUTE Anonymous Maarten 2023-01-22 20:14:35 +01:00
  • 967ebd78e6 cocci: also fix up SDL_CreateRenderer calls with non-default render indices Anonymous Maarten 2023-01-22 20:04:40 +01:00
  • 9c8642ded9 Removed SDL_INIT_NOPARACHUTE Sam Lantinga 2023-01-22 09:14:12 -08:00
  • e4fdf42097 Update README-migration.md Sylvain 2023-01-16 09:49:04 +01:00
  • bd793b6d75 Update testresample.c Sylvain 2023-01-16 09:45:48 +01:00
  • 6ad51558d4 Update testaudiostream_audio.c Sylvain 2023-01-16 09:45:34 +01:00
  • 64bc0a1612 Remove AudioCVT interface in favor of SDL_AudioStream Sylvain 2023-01-16 09:45:02 +01:00
  • 9211c0b639 Update SDL_vitagles_pvr.c raphasamp 2023-01-22 08:09:24 -03:00
  • fb11918758 Blacklist Konami Amusement Controllers From HIDAPI. PARTY MAN X 2023-01-21 19:37:22 -06:00
  • bd1115fa33 Make sure subsystems are noted as initialized during initialization Sam Lantinga 2023-01-20 17:06:49 -08:00
  • c4db0725e4 Enable paddles on the Xbox Elite controller when connected over USB Sam Lantinga 2023-01-20 09:31:22 -08:00
  • 5d5d39b190 video: Don't resize moved, fullscreen windows when mode switching is being emulated Frank Praznik 2023-01-19 14:02:09 -05:00
  • 5ba9e07366 wayland: Remove fullscreen window moving code Frank Praznik 2023-01-19 13:04:18 -05:00
  • 6c06f5ce93 wayland: Set APPLICATION scancode name to Menu Guldoman 2023-01-19 21:12:51 +01:00
  • 14695a714f Set the default priority level of SDL_LOG_CATEGORY_ERROR to SDL_LOG_PRIORITY_ERROR Sam Lantinga 2023-01-19 08:04:40 -08:00
  • 4becca4fc9 Clarify that SDL_GetJoystickFromInstanceID() and SDL_GetGamepadFromInstanceID() return NULL if the associated device hasn't been opened yet. Sam Lantinga 2023-01-19 07:42:04 -08:00
  • c8dfc6b475 Fixing window being incorrect size when using win+shift+arrow to move new big picture mode between displays Sam Lantinga 2023-01-19 07:43:01 -08:00
  • 423a82cd4b wayland: Enforce or override libdecor minimum window size Frank Praznik 2023-01-16 13:39:26 -05:00
  • 9b861d2ea4 add support for libsamplerate's "linear" resampling mode Fabian Greffrath 2023-01-16 15:17:26 +01:00
  • 80f51eeb1f testautomation: add an option to list all test suites and tests Sylvain 2023-01-16 10:50:52 +01:00
  • 69253c542a SDL_test_harness: fix memory leak when generated seed Sylvain 2023-01-16 10:28:16 +01:00
  • 1a47cf5448 Revert "gen_audio_resampler_filter: Use SDL_PI_F" Sylvain 2023-01-16 10:04:22 +01:00
  • 41221777ba gen_audio_resampler_filter: Use SDL_PI_F Sylvain 2023-01-16 09:23:16 +01:00
  • 4156e6f52e SDL_CreateAudioStream: check for invalid parameters Sylvain 2023-01-16 09:21:24 +01:00
  • 08963dc183 testdrawchessboard.c: draw a diagonal line for visually checking highdpi functionality Eric Wasylishen 2023-01-12 00:17:58 -07:00
  • 67c91353e0 Handle DPI scaling in SDL_GetWindowSurface Eric Wasylishen 2023-01-11 19:45:01 -07:00
  • 6d11515873 cmake: make sdl3.pc relocatable Anonymous Maarten 2023-01-15 20:01:58 +01:00
  • 0a1479d58c cmake: fix sdl3.pc for Nintendo 3DS + add to test matrix Anonymous Maarten 2023-01-15 17:39:07 +01:00
  • fc72ee5775 haiku: cast pointer to SDL_FunctionPointer Anonymous Maarten 2023-01-14 15:25:22 +01:00
  • 8238a128c3 Fixed build on Steam Link hardware Sam Lantinga 2023-01-13 16:37:56 -08:00
  • decbbb0499 Updated API for SDL_JoystickID sign change Sam Lantinga 2023-01-13 14:20:59 -08:00
  • bf53183c8b Fixed building on Raspberry Pi Sam Lantinga 2023-01-13 14:20:57 -08:00
  • 0ed4589ed2 Merge commit '0785f272fd9eb9c2cb366b074b09417aeea3f3c6' into main Sam Lantinga 2023-01-13 14:20:17 -08:00
  • 3db5ea6b80 Merge commit 'a3ae26ddd0a34ee3f5f39311dbdf420b24d95939' into main Sam Lantinga 2023-01-13 14:20:15 -08:00
  • e9406686ee Merge commit '67ddb4c5a21564edb228c51fc3c8d77aafdca618' into main Sam Lantinga 2023-01-13 14:20:12 -08:00
  • 0475d65635 Merge commit '40f0744b73603630d78a50c3c0026aa0aed64069' into main Sam Lantinga 2023-01-13 14:20:10 -08:00
  • 9a7d6b0e40 Merge commit '3d67b8d026f396af72dc0ac0d59e61449a8198c9' into main Sam Lantinga 2023-01-13 14:20:08 -08:00
  • f6d1fe9d0e Merge commit 'b60084eb0b8ca4e96d2c927e4667801236f14c74' into main Sam Lantinga 2023-01-13 14:20:06 -08:00
  • bfa3c0e972 Merge commit '180afcdf3998e5175b744d3f2d87147802809450' into main Sam Lantinga 2023-01-13 14:20:04 -08:00
  • 27059107c5 Merge commit 'c9647b4ad00ad01ba3262b74548d7e8be934ed15' into main Sam Lantinga 2023-01-13 14:20:02 -08:00
  • 0785f272fd Add type argument to non-dynamic LOAD_LIBUSB_SYMBOL macro Anonymous Maarten 2023-01-13 19:31:18 +01:00
  • a3ae26ddd0 cmake: convert spaces in PTHREAD_CFLAGS to ';' Anonymous Maarten 2023-01-13 19:01:36 +01:00
  • 67ddb4c5a2 Fixed PS2 build Sam Lantinga 2023-01-13 10:00:16 -08:00
  • 40f0744b73 Use filesystem drivers Francisco Javier Trujillo Mata 2023-01-13 16:30:20 +01:00
  • 3d67b8d026 cmake: convert spaces in USB_CFLAGS to ';' Anonymous Maarten 2023-01-13 18:40:49 +01:00
  • b60084eb0b cmake: don't quote INOTIFY_INCLUDE_DIRS Anonymous Maarten 2023-01-13 18:33:51 +01:00
  • 180afcdf39 Revert "wayland: Don't try to restore non-resizable windows" Frank Praznik 2023-01-12 20:44:16 -05:00
  • c9647b4ad0 Use the symbolic names of the audio and video driver hints Sam Lantinga 2023-01-12 17:25:15 -08:00
  • 76e0d6a577 Merge commit '23beef4fc7e0d218e02ebbcd363adae63254c54d' into main Sam Lantinga 2023-01-12 16:21:58 -08:00
  • ef9a2593ee Merge commit 'cfe2050c042ca9bd1cdb76092dabcbe5f2cc44df' into main Sam Lantinga 2023-01-12 16:21:56 -08:00
  • 7d454a4420 Merge commit '7c16fe6d69c487c1148dd0dab6c4fd820bc69ec7' into main Sam Lantinga 2023-01-12 16:21:54 -08:00
  • 4fc01c7a66 Merge commit '7516bd349c81fc113d6474dee3271dfe8439e27c' into main Sam Lantinga 2023-01-12 16:21:52 -08:00
  • d3d14ff61d Merge commit '0da24479da05f5410a8583efce7194c074f0522d' into main Sam Lantinga 2023-01-12 16:21:49 -08:00
  • c9ea823345 Merge commit '99ec05e2b8c517fa23adb657a66609890f335dc2' into main Sam Lantinga 2023-01-12 16:21:47 -08:00
  • 72408ebc2a Merge commit 'e35c3872dc6a8f7741baba8b786b202cef7503ac' into main Sam Lantinga 2023-01-12 16:21:45 -08:00
  • d11fb83680 Merge commit '50f2eb7d41fbba7c82630e55ead4ecf9c32f4c69' into main Sam Lantinga 2023-01-12 16:21:43 -08:00
  • 746efe4597 Merge commit '8e4a39b41cf6ca9da29977a17b975f106e257593' into main Sam Lantinga 2023-01-12 16:21:41 -08:00
  • c02056a0b6 Merge commit '5f39dd8a2f5418c47354f5a46c2106a16c8875c4' into main Sam Lantinga 2023-01-12 16:21:39 -08:00
  • 23beef4fc7 We no longer need explicit SDL_ENABLE_SYSWM_* while building SDL Sam Lantinga 2023-01-12 15:55:52 -08:00
  • cfe2050c04 Default to enable/disable SDL_syswm subsystems based on enabled video drivers while building SDL Sam Lantinga 2023-01-12 15:55:02 -08:00