Commit Graph

  • 32e7921f98 cmake: by default, link tests to SDL3.dll on Windows Anonymous Maarten 2023-01-21 01:57:10 +01:00
  • 13c294eec3 cmake: add support for creating Apple frameworks with CMake Anonymous Maarten 2023-01-21 01:08:32 +01:00
  • 93c25e650c cmake: create SDL3::headers for include path + no exported CMake variables Anonymous Maarten 2023-01-21 00:55:44 +01:00
  • 5690dfb65b cmake: don't install Android.mk files for Android Anonymous Maarten 2023-01-21 00:40:03 +01:00
  • 09e2f83e17 cmake: no more SDL3_* cache variables Anonymous Maarten 2023-01-18 18:05:54 +01:00
  • 19d162281c cmake: detect cpu architecture in SDL_DetectCPUArchitecture Anonymous Maarten 2023-01-09 15:06:45 +01:00
  • 9cf34908a1 cmake: pass VERSION to project() + don't use SDL_VERSION Anonymous Maarten 2023-01-09 14:11:54 +01:00
  • 3aa456dead cmake: remove MSCOS_RPATH related FIXME Anonymous Maarten 2023-01-09 13:41:54 +01:00
  • 7c085862e1 SDL_Video.h - audio driver Bruno Sanches 2023-01-30 09:33:08 -03:00
  • d66f27376e Prevent setting an error "invalid display" when the parameter displayID hasn't been set. Sylvain 2023-01-30 10:36:48 +01:00
  • b07f8e987b Fixed checking the return values of SDL_AddBasicVideoDisplay() and SDL_AddVideoDisplay() Sam Lantinga 2023-01-29 21:57:30 -08:00
  • 1ffc09c6e6 Changed SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED to be the same value as SDL_EVENT_WINDOW_SIZE_CHANGED so SDL2 applications continue to work as expected. Sam Lantinga 2023-01-29 21:37:51 -08:00
  • de766fdcd7 Fixed Haiku build Sam Lantinga 2023-01-29 21:35:45 -08:00
  • 87af6c0019 Sync SDL3 wiki -> header SDL Wiki Bot 2023-01-30 03:26:14 +00:00
  • 22c69bccdf Displays are now referenced by instance ID instead of index Sam Lantinga 2023-01-29 13:30:55 -08:00
  • 758c0dd6d8 Rename mouse BUTTON(DOWN|UP) event to BUTTON_(DOWN|UP) Anonymous Maarten 2023-01-30 04:06:08 +01:00
  • 413376cdb3 migration: replace SDL_DisplayMode w and h by screen_w and screen_h Sylvain 2023-01-29 14:54:24 +01:00
  • e22f5ed7d3 wayland: Check that all required dynamic symbols have been successfully resolved at init time Frank Praznik 2023-01-29 12:45:48 -05:00
  • 90795291e4 Remove SDL_GL/Metal/Vulkan_GetDrawableSize(). Sasha Szpakowski 2023-01-28 22:43:03 -04:00
  • 0d0a34f79f iOS: fix the desktop display mode's display scale property. Sasha Szpakowski 2023-01-29 11:37:58 -04:00
  • 7ac43cfb6b Note that version.rc is public domain. Ryan C. Gordon 2023-01-29 11:43:59 -05:00
  • a67b441a10 wayland: Send a pixel sized change event when the drawable size changes Frank Praznik 2023-01-28 21:13:19 -05:00
  • 4667d65f77 Fixes for building on Mac with OpenGL disabled. Aaron Barany 2023-01-28 16:05:11 -08:00
  • df7639f100 Call SDL_OnWindow* handlers after the event has been delivered Sam Lantinga 2023-01-28 15:27:20 -08:00
  • 432af82a88 Don't deliver window events while it's being destroyed Sam Lantinga 2023-01-28 15:24:18 -08:00
  • bf4095359c Removed duplicated window size events, and added SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED Sam Lantinga 2023-01-28 15:22:16 -08:00
  • dfc56cfc0e Fix For issue #6948 (#6991) Matt Durgavich 2023-01-05 11:54:27 -05:00
  • af0ec13fc3 iOS: fix display modes to have accurate pixel sizes and screen scales. Sasha Szpakowski 2023-01-28 17:09:24 -04:00
  • 8814bedc3b Sync SDL3 wiki -> header SDL Wiki Bot 2023-01-28 18:57:14 +00:00
  • 31f464153d SDL_WINDOW_INPUT_GRABBED has been renamed SDL_WINDOW_MOUSE_GRABBED Sam Lantinga 2023-01-28 09:55:27 -08:00
  • e83c54f271 SDL_WINDOW_FULLSCREEN and SDL_WINDOW_FULLSCREEN_DESKTOP are now distinct flags Sam Lantinga 2023-01-28 09:52:31 -08:00
  • 67037f064b macOS: remove obsolete 10.7 and 10.8-specific code. Sasha Szpakowski 2023-01-27 21:45:19 -04:00
  • d293145ec9 macOS: include @1x display modes with the same point-size as @2x modes Sasha Szpakowski 2023-01-27 22:30:03 -04:00
  • ba74e76e56 wayland: Correct mode values to use pixels instead of screen units Frank Praznik 2023-01-26 22:29:38 -05:00
  • 0229091f37 Fixed build Sam Lantinga 2023-01-27 14:24:06 -08:00
  • 24fec13ac1 Add full high DPI information to SDL_DisplayMode Sam Lantinga 2023-01-27 10:46:51 -08:00
  • b23d20cd4d Android: display_mode scale: cast to do a float division Sylvain 2023-01-27 10:15:08 +01:00
  • fc5f363ff7 video: Send the new fullscreen size in screen coordinates Frank Praznik 2023-01-26 22:07:34 -05:00
  • c2d79cb411 Verify that clear ignores the viewport and test a logical size that isn't the same aspect ratio as the window Sam Lantinga 2023-01-26 16:10:13 -08:00
  • d9b53399fe Added an SDL render logical size test Sam Lantinga 2023-01-26 14:49:23 -08:00
  • c708ddd66f Added a SDL render viewport test Sam Lantinga 2023-01-26 13:58:38 -08:00
  • 1c83c1fadd Fixed build warnings in Xcode Sam Lantinga 2023-01-26 12:08:43 -08:00
  • b5e6d0eba9 Added testautomation to the Xcode project Sam Lantinga 2023-01-26 12:08:23 -08:00
  • 56120a132d wayland: Remove duplicate code Frank Praznik 2023-01-26 15:17:38 -05:00
  • 077725d0e3 wikiheaders: Fixed SDL2 wiki link. Ryan C. Gordon 2023-01-26 14:50:52 -05:00
  • 5f8b53820a wikiheaders: Link to the SDL2 wiki in the preamble. Ryan C. Gordon 2023-01-26 10:19:58 -05:00
  • 726d6f9422 wikiheaders: Allow markdown in the wikipreamble string. Ryan C. Gordon 2023-01-26 10:19:23 -05:00
  • c83428475d wikiheaders: Link to the SDL3 wiki in the preamble. Ryan C. Gordon 2023-01-26 14:45:12 -05:00
  • b2cfcbdb64 wayland: Support new high-DPI system Frank Praznik 2023-01-25 21:49:18 -05:00
  • b462027c53 SDL_test_common.c: minor warning fix (SDL_AudioDeviceID is unsigned) Ozkan Sezer 2023-01-26 22:05:47 +03:00
  • 364db52ca3 Moved testautomation data out of SDL_test library Sam Lantinga 2023-01-26 10:23:57 -08:00
  • d5680c5d20 wikiheaders: Allow markdown in the wikipreamble string. Ryan C. Gordon 2023-01-26 10:19:23 -05:00
  • 1069c8931d wikiheaders: Add a \threadsafety tag to document threading details. Ryan C. Gordon 2023-01-24 22:13:25 -05:00
  • 742e356180 test/loopwavequeue.c: minor warning fix (SDL_AudioDeviceID is unsigned) Ozkan Sezer 2023-01-26 18:15:20 +03:00
  • be2afeec84 SDL_loadso.h: add missing SDLCALL to SDL_LoadFunction() Ozkan Sezer 2023-01-26 18:01:10 +03:00
  • 54540a82a0 SDL_atomic.h: Update SDL_CPUPauseInstruction for Watcom. (#7157) Jiří Malák 2023-01-26 15:00:02 +01:00
  • 507fc462db SDL_atomic.h: Update SDL_CPUPauseInstruction for Watcom. (#7157) Jiří Malák 2023-01-26 15:00:02 +01:00
  • 6895e1700f video: Ensure that the closest returned video mode match always has a valid scale value Frank Praznik 2023-01-25 21:59:21 -05:00
  • 5970311353 Fixed build using clang-cl on Windows Sam Lantinga 2023-01-25 14:45:51 -08:00
  • 3bf86c0eca cmake: addititonal check for visibility attributes. Ozkan Sezer 2023-01-26 01:32:32 +03:00
  • 13087405e0 Fixed clang documentation warnings Sam Lantinga 2023-01-25 14:25:13 -08:00
  • 4ec3a5ac27 cmake: only add <LANG>_VISIBILITY_PRESET properties when compiler supports -fvisibility= Anonymous Maarten 2023-01-25 22:27:47 +01:00
  • 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
  • d9d84c8d73 ci: test PVR_PSP2 (gles/gl) and gib (gles) Anonymous Maarten 2023-01-23 20:42:00 +01:00
  • e927e5d440 vita: add missing static libraries for using gles with pib Anonymous Maarten 2023-01-24 04:52:44 +01:00
  • 33ec2a5e94 vita: fix reformatting error in SDL_vtagl_pvr.c Anonymous Maarten 2023-01-23 20:41:23 +01:00
  • a8a5bd3d6b cmake: allow disabling OpenGL support when building with GLES using PSP2-PVR Anonymous Maarten 2023-01-23 20:41:00 +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
  • 038ccd764a Support MIN/MAX blend on opengles2 ds-sloth 2023-01-22 17:16:13 -05:00