Commit Graph

  • 2196e5765c Used confflags +=, so each option can be enabled individually, if desired Sam Lantinga 2018-11-07 07:52:39 -08:00
  • 44c5d803ba The Debian maintainers aren't using these rules, so enable dynamic loading of shared libraries by default for the Steam Linux Runtime Sam Lantinga 2018-11-07 07:38:11 -08:00
  • 9665a50891 Added Vulkan headers version 1.1.91 Downloaded from https://github.com/KhronosGroup/Vulkan-Headers Sam Lantinga 2018-11-06 16:57:07 -08:00
  • 48917e0e70 wayland: fix resizing and fullscreen toggling For starters, we need to correctly respond to 0,0 configure after unsetting fullscreen. Also, turns out that there should be no drawing calls at all in between eglSwapBuffers and wl_egl_window_resize, as otherwise EGL can already allocate a wrongly sized buffer for a next frame, so handle those together. Sebastian Krzyszkowiak 2018-11-07 01:08:35 +01:00
  • ed694ec61f close_code.h: #error if included without matching begin_code.h Ozkan Sezer 2018-11-06 23:45:50 +03:00
  • a60751b7a7 fix bug #4362 - SDL_syswm.h with SDL_PROTOTYPES_ONLY broken in C++ mode Ozkan Sezer 2018-11-06 20:50:24 +03:00
  • 1dbf7dc2f8 os2: Do a distclean instead of removing files manually in buildbot script. Ryan C. Gordon 2018-11-04 21:11:07 -05:00
  • e45ed114c5 os2: Added a script for the buildbot. Ryan C. Gordon 2018-11-04 20:47:17 -05:00
  • 244b79e194 metal: SDL_RenderReadPixels on macOS synchronizes the render target's texture data if it's managed, before reading from it. Alex Szpakowski 2018-11-04 14:31:56 -04:00
  • c9fed27289 metal: fix the SDL_RENDERER_PRESENTVSYNC flag not being set on the renderer info on macOS, when vsync is used. Alex Szpakowski 2018-11-04 12:31:02 -04:00
  • c2bba9e448 metal: fix the size of the buffer used for constant data. Alex Szpakowski 2018-11-04 12:24:05 -04:00
  • bc57ac27f9 mir: Removed mir client support. Ryan C. Gordon 2018-11-02 21:34:17 -04:00
  • 4026f89d19 Fixed bug 4308 - Prebuilt SDL.dll files not compiled with ASLR support (DYNAMICBASE) Sam Lantinga 2018-11-02 18:07:11 -07:00
  • cc39c7a0cb Fixed bug 4320 - Android remove reflection for HIDDeviceBLESteamController Sam Lantinga 2018-11-02 17:25:00 -07:00
  • 67a94893c0 Fixed bug 4319 - Android remove reflection for PointerIcon Sam Lantinga 2018-11-02 17:22:15 -07:00
  • 47fb450beb Fixed bug 4315 - little Warning in Android_JNI_CaptureAudioBuffer Sam Lantinga 2018-11-02 17:18:03 -07:00
  • 6a9f45f2de Remove machine-specific IncludePath from SDL.vcxproj Cameron Gutman 2018-10-12 22:05:58 -07:00
  • 457390fcf8 metal: avoid an extra buffer allocation and GPU data copy in RunCommandQueue, it's not needed. Improves overall performance. Alex Szpakowski 2018-11-01 20:24:21 -03:00
  • 4e86dfd8d1 metal: remove an obsolete section of a constant buffer. Alex Szpakowski 2018-11-01 19:49:01 -03:00
  • 0d79a8a1b2 fix build using Watcom : Ozkan Sezer 2018-11-01 20:04:24 +03:00
  • 4659e73892 merge fallout: Patched to compile, fixed some compiler warnings, etc. Ryan C. Gordon 2018-11-01 12:31:45 -04:00
  • 62494a2e27 Merge SDL-ryan-batching-renderer branch to default. Ryan C. Gordon 2018-10-31 15:03:41 -04:00
  • eb2536c466 Closing SDL-ryan-batching-renderer branch. Ryan C. Gordon 2018-10-31 14:50:20 -04:00
  • a5ebd4d775 wayland: ask KDE protocol extension to use server-side decorations if possible. Ryan C. Gordon 2018-10-29 10:14:59 -04:00
  • 8340b0f0e2 render: Add floating point versions of various draw APIs. Ryan C. Gordon 2018-10-23 01:34:03 -04:00
  • ff3bb857ff joystick: Add Linux mappings for "Xbox One Wireless Controller (Model 1708)" Steven M. Vascellaro 2018-10-22 10:55:18 -04:00
  • d42728ec10 fix NetBSD C90 build failure Ozkan Sezer 2018-11-01 12:35:00 +03:00
  • 329f2eb99e Fix crash when GL_LoadFunctions()/GLES2_LoadFunctions() fails https://bugzilla.libsdl.org/show_bug.cgi?id=4350 Cameron Gutman 2018-10-31 20:17:53 -07:00
  • aeee424f65 Fixed bug 4349 - SDL_CreateWindow fails with KMS/DRM after upgrading Mesa to 18.2.3 Sam Lantinga 2018-10-31 15:16:51 -07:00
  • 9af581bd75 Fixed bug 4347 - Keyboard LEDs don't work on linux console Sam Lantinga 2018-10-31 15:01:20 -07:00
  • 6c029f127d Added tag release-2.0.9 for changeset c75013b56028 Sam Lantinga 2018-10-31 10:18:05 -07:00
  • c49ecf6f7c rename os2 makefile so that 'make dist' catches it; update it a bit. release-2.0.9 Ozkan Sezer 2018-10-30 20:11:02 +03:00
  • da56cefa8b Fixed bug 4188 - Software renderer SDL_RenderCopyEx blits corrupt image under certain cases Sam Lantinga 2018-10-30 07:00:03 -07:00
  • 950f39e23b Backed out changeset 2944045e695b, SDL_JOYSTICK_HIDAPI is only used on iOS for Steam Controller support, which is not publicly available. Sam Lantinga 2018-10-29 19:58:59 -07:00
  • e542d1a36d winmain: Patched to compile on C89 compilers. Ryan C. Gordon 2018-10-29 20:18:50 -04:00
  • f434a98c26 winmain: Don't use SDL_malloc (or SDL_stack_alloc, which might be malloc). Ryan C. Gordon 2018-10-29 20:00:03 -04:00
  • b43f427fa6 README-ios: added a note about enabling hidapi. Ryan C. Gordon 2018-10-29 15:51:38 -04:00
  • 91820998fc Add and update include guards Micha? Janiszewski 2018-10-28 21:36:48 +01:00
  • df89abb23e Fixed bug 4335 - Android NDK build error Sam Lantinga 2018-10-28 14:17:21 -07:00
  • e381a1599d Updated Android project files and documentation Sam Lantinga 2018-10-28 10:31:06 -07:00
  • 14c55ac890 This change looks okay in the general case. If we run into problems where these events aren't dispatched (initialized on a different thread than the main thread?) we may need to create a separate thread to handle device notifications like we do with the windows joystick subsystem. Sam Lantinga 2018-10-26 20:20:28 -07:00
  • be8ef94f18 hidapi: Don't run a separate event loop for device notifications. Ryan C. Gordon 2018-10-26 14:43:39 -04:00
  • 91da4963d3 Added patch note for SDL_GameControllerGetPlayerIndex() and friends Sam Lantinga 2018-10-26 09:49:27 -07:00
  • b08bdc4401 Don't build SDL_JOYSTICK_HIDAPI by default on iOS If you enable this, you'll need to link with CoreBluetooth.framework and add something like this to your Info.plist: <key>NSBluetoothPeripheralUsageDescription</key> <string>MyApp would like to remain connected to nearby bluetooth Game Controllers and Game Pads even when you're not using the app.</string> Sam Lantinga 2018-10-26 09:27:31 -07:00
  • 14329256cb Generalized the XInput user index into a player index Sam Lantinga 2018-10-25 16:53:14 -07:00
  • 545febcf21 Fixed initializing XInput user index Sam Lantinga 2018-10-25 13:22:34 -07:00
  • 9987ca69f3 Added SDL_JoystickGetXInputUserIndex() Sam Lantinga 2018-10-25 12:54:42 -07:00
  • 4d4e18c4bb Added vi style for the Emscripten joystick code Sam Lantinga 2018-10-25 12:54:39 -07:00
  • 04761d7d6b CMakeLists.txt: set dylib version numbers properly. (bug #2915.) Ozkan Sezer 2018-10-25 11:11:02 +03:00
  • b699ddc0a9 Fixed reinitializing the SDL joystick subsystem on Android Sam Lantinga 2018-10-23 12:40:25 -07:00
  • f0549cc9c9 fix permissions Ozkan Sezer 2018-10-23 09:10:02 +03:00
  • d7fa11204f Change our fullscreen wait logic to only wait if we need to. (thanks Rachel!) Sam Lantinga 2018-10-22 14:55:47 -07:00
  • e6068b5b15 Handle failure to load hidapi gracefully Sam Lantinga 2018-10-22 14:55:45 -07:00
  • c4918db580 Add exception handling to Android hidapi. Sam Lantinga 2018-10-22 14:55:42 -07:00
  • 4a50a04213 wasapi/win32: Sort initial device lists by device GUID. Ryan C. Gordon 2018-10-21 22:40:17 -04:00
  • 1ec56f7302 x11: Fixed incorrect function signature for XkbSetDetectableAutoRepeat. Ryan C. Gordon 2018-10-20 21:35:48 -04:00
  • 1fb20f0ab9 cocoa: Put a mutex around GL_SwapBuffers. Ryan C. Gordon 2018-10-18 23:38:27 -04:00
  • cad0a2f730 cocoa: Fix OpenGL rendering on macOS 10.14 ("Mojave"). Ryan C. Gordon 2018-10-18 12:05:05 -04:00
  • 072e17bf98 cocoa: GL_GetDrawableSize only uses -[NSView convertRectToBacking] for highDPI. Ryan C. Gordon 2018-10-18 11:59:48 -04:00
  • b262b0ebc9 Small stack allocations fall back to malloc if they're unexpectedly large. Ryan C. Gordon 2018-10-22 20:50:32 -04:00
  • eedf2c965d opengles2: Fixed several incorrect things. Ryan C. Gordon 2018-10-06 17:08:04 -04:00
  • 6ecd0b2c35 opengles2: removed useless memcpy. Ryan C. Gordon 2018-10-04 21:10:42 -04:00
  • ef3d970ace opengles2: Fixed incorrect cliprect state. Ryan C. Gordon 2018-10-04 20:22:28 -04:00
  • 208c4b0361 metal: CopyEx transform matrix must be aligned for constant buffer access. Ryan C. Gordon 2018-10-04 20:21:58 -04:00
  • 638d624f5a metal: Don't try to create a zero-byte vertex buffer. Ryan C. Gordon 2018-10-04 20:21:23 -04:00
  • 1ecf4dfc5f render: Added SDL_RenderFlush(). Ryan C. Gordon 2018-10-04 16:34:44 -04:00
  • 09140bd8bc render: Move PSP backend to new interface. Ryan C. Gordon 2018-10-04 16:11:43 -04:00
  • 9fedff997b render: moved software renderer to new interface. Ryan C. Gordon 2018-10-03 23:37:29 -04:00
  • bd08a4e6b1 render: D3D11 now cycles through 8 vertex buffers. Ryan C. Gordon 2018-10-03 19:05:20 -04:00
  • a9094a21a8 render: D3D11 renderer patched to compile. Ryan C. Gordon 2018-10-03 18:23:53 -04:00
  • 6e6f7382a7 render: first (untested!) shot at converting D3D11 renderer to new interfaces. Ryan C. Gordon 2018-10-03 00:52:37 -04:00
  • 0c2e10dce4 render: Make the GL backends cache and defer more state changes. Ryan C. Gordon 2018-10-01 22:53:45 -04:00
  • fcb4681336 render: D3D9 doesn't need to check for stream offset support anymore. Ryan C. Gordon 2018-10-01 13:41:15 -04:00
  • 709f5ee417 render: Set the D3D9 stream source once and choose offsets during draw calls. Ryan C. Gordon 2018-10-01 11:32:08 -04:00
  • 9870746bd9 render: Patched to compile. Ryan C. Gordon 2018-10-01 03:02:54 -04:00
  • 5e644cfdfb render: first shot at moving Direct3D 9 backend to new interface. Untested! Ryan C. Gordon 2018-10-01 01:23:02 -04:00
  • fdc52a65dd render: patched to compile on C89 compilers, other untested code fixes. Ryan C. Gordon 2018-09-29 04:00:38 +00:00
  • daad53af13 opengles1: set some non-zero drawstate defaults. Ryan C. Gordon 2018-09-28 19:48:14 -04:00
  • c20a858da5 render: moved opengles2 over to new interface. Ryan C. Gordon 2018-09-28 19:47:44 -04:00
  • 22475bf3f0 cocoa: Force an OpenGL context update when the window becomes key. Ryan C. Gordon 2018-09-26 20:10:32 -04:00
  • 0d588cc4c9 render: Do state cache improvements for GLES1, too. Ryan C. Gordon 2018-09-25 21:35:09 -04:00
  • d04e55240e render: OpenGL renderer now caches some state, to improve non-batching mode. Ryan C. Gordon 2018-09-25 19:20:31 -04:00
  • 06461bba73 render: Move non-batching flushes to different place. Ryan C. Gordon 2018-09-25 17:04:47 -04:00
  • 43f15e05dd render: opengles renderer actually works now. :) Ryan C. Gordon 2018-09-25 16:17:10 -04:00
  • b2db99cb9f render: First shot at converting opengles renderer to new interfaces. Ryan C. Gordon 2018-09-25 10:41:25 -04:00
  • c01da21756 render: get rid of the predeclared functions in the GL and Metal renderers. Ryan C. Gordon 2018-09-24 12:30:47 -04:00
  • 051d1cfcd1 render: Make opengl backend take advantage of new high-level features. Ryan C. Gordon 2018-09-24 02:08:34 -04:00
  • 8ac5c00a43 render: Add command queue debug logging. Ryan C. Gordon 2018-09-24 02:07:35 -04:00
  • 2241b33f55 render: Update Metal and GL backends to use new high-level features, etc. Ryan C. Gordon 2018-09-23 23:22:56 -04:00
  • cc56de44a4 render: A bunch of high-level improvements. Ryan C. Gordon 2018-09-23 23:20:40 -04:00
  • 8955fb9b31 render: First shot at moving metal backend over to new batching system. Ryan C. Gordon 2018-09-20 16:40:04 -04:00
  • 55cb9966db render: first shot at reworking opengl backend for new batching system. Ryan C. Gordon 2018-09-20 16:36:54 -04:00
  • 5fb67f9f55 render: Move to a batching system for rendering (work in progress). Ryan C. Gordon 2018-09-20 15:46:02 -04:00
  • e0cc19f2d8 testsprite2: report average FPS in blocks of five seconds. Ryan C. Gordon 2018-09-20 15:41:57 -04:00
  • a2f7af9a47 gles2: Make render command queue dynamic. Ryan C. Gordon 2018-09-09 15:09:38 -04:00
  • 0d3275297d gles2: Major renderer optimization. Work in progress! Ryan C. Gordon 2018-09-08 18:26:11 -04:00
  • 7ed7cb5e65 Created SDL-ryan-batching-renderer branch for the WIP renderer rewrite. Ryan C. Gordon 2018-09-25 10:45:37 -04:00
  • 84e7832018 Fix "unresponsible application" issues in Wayland Thomas Perl 2018-08-23 14:47:38 +02:00
  • 568068048f Fixed bug 4324 - Xcode 10 - more cleanup for macOS and iOS projects Sam Lantinga 2018-10-18 15:41:50 -07:00
  • 30def8e26b Fixed bug 4324 - Xcode 10 - more cleanup for macOS and iOS projects Sam Lantinga 2018-10-18 15:40:39 -07:00