Commit Graph

  • fff421f4b8 cmake: fix a bunch of things to properly link without LOADSO enabled. Ryan C. Gordon 2021-08-23 23:59:54 -04:00
  • abba181118 testvulkan: support multiple windows. Ryan C. Gordon 2021-08-23 20:18:57 -04:00
  • 13ec545936 configure: Disable Vulkan support if loadso subsystem is disabled. Ryan C. Gordon 2021-08-23 00:54:13 -04:00
  • 9504bb121d pulseaudio: Fix some function signatures that expect const pointers. Ryan C. Gordon 2021-08-23 00:47:25 -04:00
  • 7e8d054b97 updated config.sub from mainstream. Ozkan Sezer 2021-08-21 11:50:04 +03:00
  • e426bb80cb Fixed bug #4671 - D3D_QueueGeometry: use "count / 3" (Thanks alittlesail!) Sylvain 2021-08-20 07:50:30 +02:00
  • 70c23b25f0 audio: pipewire: Reset hotplug atomic variables on deinit. Oschowa 2021-08-18 13:18:11 +02:00
  • ae5336a3d2 Fixed bug #4669: D3D_QueueGeometry: -0.5f offset position of vertexs This similar to D3D_QueueCopy positions Sylvain 2021-08-19 14:03:10 +02:00
  • 8270172e74 fix -Wshorten-64-to-32 warnings in android builds. Ozkan Sezer 2021-08-19 12:11:10 +03:00
  • ccb06296b9 SDL_windowsevents.c: fix build against older SDKs. Ozkan Sezer 2021-08-19 03:15:02 +03:00
  • f5c0cdea38 testgeometry.c: fix build in c89 mode Ozkan Sezer 2021-08-19 01:28:10 +03:00
  • ca39f6d6cd Sync wiki -> header SDL Wiki Bot 2021-08-18 22:13:05 +00:00
  • 154384a776 Add (uintptr_t) casts Sylvain 2021-08-18 23:59:27 +02:00
  • 08d6a4653e Fix dynapi prototypes Sylvain 2021-08-18 23:57:32 +02:00
  • 93fb5a223e Remove '\brief' markup in header 'SDL_render.h' Sylvain 2021-08-18 23:54:37 +02:00
  • 1670104ad8 Change 'size_indice' to 'size_indices' Sylvain 2021-04-23 12:27:35 +02:00
  • a8f89a01aa Change 'size_indice' to 'size_indices' Sylvain 2021-04-23 12:00:14 +02:00
  • bc2173baf9 Add testgeometry to draw a non uniform triangle --use-texture: an option to load icon.bmp as a texture handle mouse motion: rotate the triangle Sylvain 2021-04-06 21:49:23 +02:00
  • 53bcb3e0e9 Add an option to 'testsprite2' to render slicing into triangles. [--use-rendergeometry mode1|mode2] mode1: Draw sprite2 as triangles that can be recombined as rect by software renderer mode2: Draw sprite2 as triangles that can *not* be recombined as rect by software renderer Use an 'indices' array Sylvain 2021-04-06 21:38:24 +02:00
  • 47db47c1cc Add SDL_HAVE_RENDER_GEOMETRY to compile or not with RenderGeometry support Sylvain 2021-04-06 21:32:02 +02:00
  • b9bd9da78f OpenGLES2: transfert color as 4 bytes, instead of 4 floats Sylvain 2021-04-04 22:34:17 +02:00
  • c6ceaaeb4b METAL: use Uchar4Normalized format to transfert color as 4 bytes, instead of 4 floats Sylvain Becker 2021-04-04 21:32:40 +02:00
  • fd236af8eb Update Xcode project to add SDL_triangle.{c,h} Sylvain Becker 2021-04-02 09:37:25 +02:00
  • eff840bb9b Add OpenGLES implementation Sylvain 2021-04-01 23:30:59 +02:00
  • 32e7910135 Fix warnings Sylvain 2021-04-01 20:27:22 +02:00
  • 6e47f53869 Fix warnings Sylvain 2021-04-01 20:18:05 +02:00
  • 4869a3d294 Add Direct3D9 implementation (not tested) Sylvain 2021-04-01 14:36:31 +02:00
  • 4ba3763897 Save and restore SDL renderer state after transforming triangles to rect Sylvain 2021-04-01 12:43:39 +02:00
  • cd0663e053 Fix declaration-after-statement and remove tabs Sylvain 2021-04-01 11:47:45 +02:00
  • cd4663dfcb Update D3D11 for SDL_RenderGeometryRaw Sylvain Becker 2021-04-01 11:11:12 +02:00
  • 9f59170743 Update METAL backend for SDL_RenderGeometryRaw Sylvain Becker 2021-04-01 10:37:45 +02:00
  • 61d9e9164f For the software renderer, try to reinterpret triangles as SDL_Rect With Dear ImGui + software renderer, it draws: - by default at 250 fps - drops to 70 fps if you show the color picker - drops to 10 fps if put the color picker fullscreen Sylvain 2021-04-01 10:16:27 +02:00
  • cc37c38e30 Add SDL_RenderGeometry based on SDL_RenderGeometryRaw Sylvain 2021-04-01 09:55:00 +02:00
  • e481261173 Move to SDL_RenderGeometryRaw prototype with separate xy/uv/color pointer parameters Sylvain 2021-04-01 09:49:16 +02:00
  • 111c70e141 Use 64 bits precision to prevent overflow when interpolating color / texture with wide triangles Sylvain 2021-03-26 09:09:08 +01:00
  • f73c1eff10 Use normalized texture coordinates Sylvain 2021-03-17 09:58:49 +01:00
  • 5828cc415a Update METAL backend: fix a typo in drawline Sylvain 2021-03-16 21:54:27 +01:00
  • 9eab5195fe Update dynapi files Sylvain 2021-03-16 16:59:18 +01:00
  • 9a8a8e65b8 Update SDL_render_d3d11.c Sylvain Becker 2021-03-16 16:04:33 +01:00
  • a2cd4255c9 Update VisualC projects Sylvain 2021-03-16 15:49:00 +01:00
  • 55277c67bb Update Makefiles OS2 and PSP Sylvain 2021-03-16 15:47:51 +01:00
  • 121114d061 Update METAL compiled shaders Sylvain Becker 2021-03-16 15:44:49 +01:00
  • 2d01573bb9 Add METAL shaders Sylvain Becker 2021-03-16 15:44:33 +01:00
  • 1e77dae7b7 Add METAL implementation Sylvain Becker 2021-03-16 15:44:04 +01:00
  • 1ebef0732a Add D3D11 implementation (not yet tested) Sylvain 2021-03-16 15:15:43 +01:00
  • 3ee511d71c Add software renderer implementation Sylvain 2021-03-16 15:14:58 +01:00
  • 37f78fc1cc Add OpenGL implementation Sylvain 2021-03-16 15:13:15 +01:00
  • faded41ab1 Add OpenGLES2 implementation Sylvain 2021-03-16 15:11:13 +01:00
  • 6e26d320c6 Add sysrender interface Sylvain 2021-03-16 15:09:34 +01:00
  • f22fc4ca35 Add API: SDL_Vertex type and SDL_RenderGeometry Sylvain 2021-03-16 15:07:44 +01:00
  • 53a2608bd2 Renderer opengles2: turn color Uniform into Attribute. all attributes are copied interleaved (based on rmg-nik initial patch+ + minor clean up of data structure + add check for colorswap Sylvain 2021-03-14 22:32:17 +01:00
  • bfa159313b audio: pipewire: Set PW_KEY_NODE_RATE to suggest a rate. This can be used by recent pipewire to avoid resampling. Oschowa 2021-08-18 12:04:38 +02:00
  • bfbab53660 remove warnings from Wundef in SDL_config.h.cmake e 2021-08-16 23:07:30 -03:00
  • 966728db2a include/SDL_video.h: Remove a comma at end of enumerator list YuGiOhJCJ 2021-08-16 06:43:37 +02:00
  • 83bb136619 Restore KMOD_RESERVED for backward compatibility Zack Middleton 2021-08-15 12:41:27 -04:00
  • b161c9ba44 CI: Add Emscripten build Charlie Birks 2021-08-14 16:30:37 +01:00
  • 402b86f2a8 waylandevents: prevent segfault if xkb compose table is not found Aleksey Rybalkin 2021-08-15 14:41:56 +03:00
  • 72f41d1fb1 Added missing parenthesis around SDL_clamp Brick 2021-08-14 21:11:17 +01:00
  • 454943cf3e emscripten: Don't flag window fullscreen on external requests Jānis Rūcis 2021-04-11 16:44:48 +03:00
  • 55af8dcad9 emscripten: use emscripten_set_window_title api Joseph Kogut 2019-02-27 14:16:37 -08:00
  • d8baad7e48 emscripten: use emscripten_get_screen_size api Joseph Kogut 2019-02-27 14:15:40 -08:00
  • abc04270b7 emscripten: Fix framebuffer array creation optimisation Charlie Birks 2020-04-15 15:22:39 +01:00
  • b4f11a3669 emscripten: Drop commented out code from the dummy driver Charlie Birks 2020-04-15 14:48:52 +01:00
  • 0a87075662 Update SDL_config_emscripten.h for upstream Charlie Birks 2021-07-08 12:47:57 +01:00
  • d448896234 Add SDL_config_emscripten.h Sam Clegg 2021-05-19 08:24:33 -07:00
  • fbc364908a Use the new SDL_clamp() macro where sensible David Gow 2021-08-14 22:29:05 +08:00
  • 35c1bbfa49 SDL_stdinc.h: Add an SDL_clamp() function David Gow 2021-08-13 21:43:00 +08:00
  • 07a2d71e90 emscripten: Feed silence to device when paused Charlie Birks 2021-03-30 11:56:38 +01:00
  • dcc5eef0e2 Clarify that one of the PIDs of the Xbox Elite Series 2 controller is used in Bluetooth mode Sam Lantinga 2021-08-14 00:31:46 -07:00
  • 91a55a02de Relative mouse motion is delivered to the window with keyboard focus Sam Lantinga 2021-08-13 23:59:39 -07:00
  • 694771513c Get the window size for the window receiving the mouse motion Sam Lantinga 2021-08-13 23:45:01 -07:00
  • 6a1e1ed9ae Relative mouse mode grab is based on the window with the input focus Sam Lantinga 2021-08-13 23:36:13 -07:00
  • e42e9a12de Fixed build Sam Lantinga 2021-08-13 20:48:56 -07:00
  • 441fbcaa3d Added HIDAPI support for the Xbox Adaptive Controller Sam Lantinga 2021-08-13 20:48:54 -07:00
  • b5e5c1ef48 Added Ctrl-T to toggle topmost mode in test programs Sam Lantinga 2021-08-13 17:53:39 -07:00
  • 4d9efcb55c Fixed flag test for boolean correctness Sam Lantinga 2021-08-13 11:52:25 -07:00
  • b28ed02803 Don't warp the mouse for relative mode when the window doesn't have focus Sam Lantinga 2021-08-13 11:39:41 -07:00
  • 629e9f820a Fixed return value of SDL_GetGrabbedWindow() when we have an internal grab because of mouse relative mode Sam Lantinga 2021-08-13 11:06:43 -07:00
  • 6aa1498b98 This assert wasn't correct, we set the internal grab for mouse relative mode as well. Sam Lantinga 2021-08-13 11:03:19 -07:00
  • 105f120615 checkkeys: Create a renderer for window display on Wayland David Gow 2021-08-13 21:25:35 +08:00
  • 907943a236 Added support for the Xbox One S Controller with 5.x series firmware Sam Lantinga 2021-08-12 17:51:08 -07:00
  • 1e92135297 Improve portability of SDL_Convert51ToStereo_AVX Joshua Root 2021-08-13 07:58:48 +10:00
  • 9bf6557585 Correctly check for bswap builtins before using Joshua Root 2021-08-13 06:36:49 +10:00
  • 7aec0b90ee SDL_hidapi_xboxone.c: fix bogus 'uninitialized' warning from clang. Ozkan Sezer 2021-08-13 01:56:56 +03:00
  • cec5a129f5 Fixed libudev hotplug notifications in the HIDAPI driver Sam Lantinga 2021-08-12 15:49:33 -07:00
  • 6eb4ebb502 Simplified the HIDAPI Xbox One controller initialization Sam Lantinga 2021-08-12 15:49:33 -07:00
  • 25cd749adb x11: Don't change mode if we are already in the correct mode Simon McVittie 2021-08-12 15:12:04 +01:00
  • 584b89abe6 Added support for the color LED on the Xbox Elite Series 2 controller Sam Lantinga 2021-08-12 08:17:10 -07:00
  • 64882b2466 Added support for the Xbox One Elite 2 Controller with 5.x series firmware Sam Lantinga 2021-08-12 08:17:08 -07:00
  • ed6eb07e79 SDL_wasapi.c: fixed build against older SDKs. Ozkan Sezer 2021-08-12 01:40:50 +03:00
  • 68ca35c318 wayland: fix memleak in output listener Andrei Alexeyev 2021-08-11 21:40:46 +03:00
  • e9179314c4 joystick/linux: fix memleaks; streamline joylist item removal Andrei Alexeyev 2021-08-11 21:27:42 +03:00
  • 44a76710d1 Don't disable clang avx instrinsics on win32 if __AVX__ is defined. Ozkan Sezer 2021-08-11 12:55:50 +03:00
  • ae7ee2a59c wayland: Ignore stateless/sizeless configs when starting in fullscreen mode Ethan Lee 2021-08-11 09:59:43 -04:00
  • ac32c522ad Try using the built-in WASAPI audio rate conversion Sam Lantinga 2021-08-10 18:11:09 -07:00
  • cb1e20b058 Added KMOD_SCROLL to track the scroll lock state Sam Lantinga 2021-08-10 17:50:17 -07:00
  • 609cea1eb8 Enable SSE3 intrinsics when building with Visual Studio Sam Lantinga 2021-08-10 17:14:06 -07:00
  • d5ad6f6e6a Clarified that you should never have side-effects in the parameters to SDL_min/SDL_max Sam Lantinga 2021-08-10 16:51:03 -07:00
  • bb91d7a5ea regenerated configure script Ozkan Sezer 2021-08-11 01:56:40 +03:00
  • 056a42f199 Sync wiki -> header SDL Wiki Bot 2021-08-10 22:20:06 +00:00