Commit Graph

  • ff50cc0958 SDL_log10 Ethan Lee 2018-01-17 11:53:09 -05:00
  • 5f5aae7d8d Set rpath instead of changing environment for RPi Credit goes to Adrian Perez de Castro for the improvement. "Guillermo A. Amaral" 2018-02-07 14:12:26 -08:00
  • 20bc9a6dca Fixed bug 4060 - Alternative DualShock 4 v2 controller GUID Sam Lantinga 2018-02-07 14:07:54 -08:00
  • 4d92f16e26 Description: fix installation of shared library for Android Author: Boris Pek <tehnick-8@yandex.ru> Last-Update: 2018-01-10 Sam Lantinga 2018-02-07 14:03:24 -08:00
  • 0efdf226de wayland: Add support for xdg-shell protocol (unstable v6). Ryan C. Gordon 2018-02-07 13:13:55 -05:00
  • adba52788c cmake: Minor cleanup (reuse a string we already calculated). Ryan C. Gordon 2018-02-07 13:07:59 -05:00
  • 326b4ae577 Send Apple TV remote input as key events unless it's opened as a joystick, to match Android behavior. Sam Lantinga 2018-02-06 16:43:31 -08:00
  • 5537585efa Replaced SDL_HINT_APPLE_TV_REMOTE_SWIPES_AS_ARROW_KEYS with SDL_HINT_TV_REMOTE_AS_JOYSTICK which controls whether remotes on iOS and Android are interpreted as joysticks (the default) or as return/escape/arrow keys. Sam Lantinga 2018-02-06 15:03:38 -08:00
  • 2c08c2b899 Added SDL_IsAndroidTV() Sam Lantinga 2018-02-06 15:03:35 -08:00
  • 77806a272c SDL Changes to support clean reads CR: saml Sam Lantinga 2018-02-05 11:40:39 -08:00
  • 127e43ed2d Fixed building on tvOS Sam Lantinga 2018-02-01 15:46:51 -08:00
  • 992ad33eaf Added SDL_HINT_IOS_HIDE_HOME_INDICATOR to determine how the home indicator on the iPhone X is handled. Sam Lantinga 2018-02-01 15:21:01 -08:00
  • 67abefdf01 Fixed building on platforms without __sighandler_t Sam Lantinga 2018-01-30 18:12:25 -08:00
  • 49ae998d51 Fixed ISO C99 compatibility SDL now builds with gcc 7.2 with the following command line options: -Wall -pedantic-errors -Wno-deprecated-declarations -Wno-overlength-strings --std=c99 Sam Lantinga 2018-01-30 18:08:34 -08:00
  • 1b5f04bdc1 Fixed misleading indentation Sam Lantinga 2018-01-30 16:53:24 -08:00
  • 819ee1e1cc Removed armeabi from the SDL build API list, since it's not supported by the latest Android SDK Sam Lantinga 2018-01-27 12:07:05 -08:00
  • fde11a4abc Fixed bug 4065 - SDL_wave.c fail to compile in armeabi with ndk r16b Sam Lantinga 2018-01-27 12:05:26 -08:00
  • 2173d3e946 Fixed bug 3985 - SDL_CreateWindow() has stopped changing screen mode when SDL_WINDOW_FULLSCREEN is used Sam Lantinga 2018-01-25 11:12:20 -08:00
  • 002d771dc4 testoverlay2: use SDL_atoi, not atoi. Ryan C. Gordon 2018-01-22 09:46:48 -05:00
  • 4ef584cdec android: Fixed compiler warning about nested '/*' comments. Ryan C. Gordon 2018-01-22 09:45:16 -05:00
  • 06639321b9 wasapi: Fixed some compiler warnings. Ryan C. Gordon 2018-01-22 09:36:40 -05:00
  • 03f8b2992b Added a hint SDL_HINT_APPLE_TV_REMOTE_SWIPES_AS_ARROW_KEYS to prevent turning Apple TV remote swipes into arrow key events Sam Lantinga 2018-01-17 17:24:15 -08:00
  • 1fb115e6b3 EGL: Request sRGB framebuffer in correct place. Dawid Gan 2018-01-16 21:29:32 +01:00
  • 3d45bb837a Make rpi video cross-compiler friendly. * Stops using fixed path to find GLES/EGL libs. * Tries pkg-config to locate bcm_host. "Guillermo A. Amaral" 2018-01-17 13:17:10 -08:00
  • 5339a6c805 Fixed formatting, added actual count to SDL error message Sam Lantinga 2018-01-17 13:12:39 -08:00
  • 39986e1a07 Vulkan: Allow SDL_Vulkan_GetInstanceExtensions to be called with a larger array than necessary. John Bartholomew 2018-01-14 13:34:50 +00:00
  • 7fd8671850 Mir: Handle close window events Marius Gripsgard 2018-01-13 01:58:11 +01:00
  • e287d48cf0 Fixed bug 4043 - SDL_windowswindow.c incorrect icon height Sam Lantinga 2018-01-15 10:29:53 -08:00
  • d1a82c24d7 Restored borderless window behavior where DOTA created a borderless window the size of the desktop and expected it to behave like a fullscreen desktop window. Sam Lantinga 2018-01-10 18:00:51 -08:00
  • cedec6290d Android: resolve symlinks in SDL_AndroidGetInternalStoragePath (thanks Henrique Gemignani and cigumo!) Alex Szpakowski 2018-01-10 19:56:51 -04:00
  • 134a3fc30a Added availability check to fix compiler warning for symbol only available on tvOS 11.0 and newer Sam Lantinga 2018-01-10 10:42:40 -08:00
  • 9f3768824b metal: set max texture size based on device capability. Alex Szpakowski 2018-01-07 22:00:37 -04:00
  • de055cbcff metal: Fix pipeline states to use the pixel format of the current render target, instead of a hard-coded format. Alex Szpakowski 2018-01-07 16:57:32 -04:00
  • af0762058b metal: Add support for YUV/NV12 texture formats. Alex Szpakowski 2018-01-06 18:54:12 -04:00
  • 1f6ee4943d metal: use a private instead of managed buffer for the renderer's non-changing constant data. Alex Szpakowski 2018-01-04 22:16:42 -04:00
  • 9c20051195 metal: Implement fast hardware clearing when possible, by deferring the start of a render pass until a clear or draw operation happens. Alex Szpakowski 2018-01-04 19:29:33 -04:00
  • 865821287c Fixed spacing in copyright headers Sam Lantinga 2018-01-03 11:31:42 -08:00
  • 713e41ec7f Fixed bug 4018 - Implement SDL_GetWindowBordersSize() under Windows/Win32/WinAPI Sam Lantinga 2018-01-03 10:58:58 -08:00
  • 88de0432b2 Fixed bug 4013 - Wayland: fix videoquit on multimonitor system Sam Lantinga 2018-01-03 10:49:26 -08:00
  • 89c28b3a57 Fixed bug 4012 - Wayland: invalid direction on mouse wheel Sam Lantinga 2018-01-03 10:43:01 -08:00
  • 540ade46bf Fixed bug 4011 - Wayland: fix free cursor Sam Lantinga 2018-01-03 10:07:27 -08:00
  • a9072159b2 Updated copyright for 2018 Sam Lantinga 2018-01-03 10:03:25 -08:00
  • 175097b723 metal: Misc. improvements. Alex Szpakowski 2018-01-03 00:43:01 -04:00
  • ead5bca2aa metal and moltenvk: fix highdpi. Alex Szpakowski 2018-01-02 21:44:28 -04:00
  • b8299e80dc configure script: Implement testing for build-time Metal SDK support. Alex Szpakowski 2018-01-02 19:06:14 -04:00
  • bfc13303db Fixed direction of y adjustment for new orthographic projection in the metal renderer Sam Lantinga 2018-01-02 14:32:15 -08:00
  • df064d1ac6 Fixed metal renderer pixel centers when drawing Sam Lantinga 2018-01-02 14:11:10 -08:00
  • 4b06a8bbe9 metal: Fix a typo preventing iOS compilation... Alex Szpakowski 2018-01-01 23:06:08 -04:00
  • b2fa720234 metal: Clean up manual reference counting. Fixes some memory leaks. Alex Szpakowski 2018-01-01 23:03:50 -04:00
  • 1296896cd6 windows: Remove references to GetVersionExA (thanks, Andrew Pilley!). Ryan C. Gordon 2018-01-01 19:16:51 -05:00
  • bac2d33f26 iOS: fix build Alex Szpakowski 2018-01-01 19:40:29 -04:00
  • 1eae9d188d metal: Use sampler state objects instead of shader-declared samplers for linear vs nearest filtering. Alex Szpakowski 2018-01-01 19:37:16 -04:00
  • a0e694d0ca metal: Add support for custom blend modes. Alex Szpakowski 2018-01-01 18:06:27 -04:00
  • c33a6b3ce4 metal: implement SDL_RenderCopyEx, and fix a memory leak in SDL_CreateTexture. Alex Szpakowski 2017-12-31 21:06:16 -04:00
  • 1b25da8df6 metal: Use the existing cocoa code for creating a Metal view on macOS. Fixes the renderer size when the window is resized. Alex Szpakowski 2017-12-31 15:30:08 -04:00
  • dd08a43e22 macOS: Fix MoltenVK Metal view resizing, and allow the metal view to be used without vulkan. Alex Szpakowski 2017-12-31 15:21:25 -04:00
  • b08677c255 winrt: Add mmdevapi.lib dependency to WinRT8.1 builds, for WASAPI support. Ryan C. Gordon 2017-12-31 03:51:17 -05:00
  • 124a23fbf8 winrt: workaround for pre-UWP builds. Ryan C. Gordon 2017-12-31 03:36:54 -05:00
  • 6e7a3f85de windows: Use WaitForSingleObjectEx() always Ryan C. Gordon 2017-12-31 03:35:41 -05:00
  • 4dc2db7ece wasapi: Patched to compile on non-UWP WinRT builds. Ryan C. Gordon 2017-12-31 03:34:16 -05:00
  • cf933edac7 winrt: Disabled Windows Phone 8.0 builds. Ryan C. Gordon 2017-12-31 03:17:18 -05:00
  • abe806a38f winrt: bumped SDL's shipping version number in winrtbuild.ps1 Ryan C. Gordon 2017-12-31 03:13:33 -05:00
  • e73a40e4b9 metal: Respect the vsync flag on macOS 10.13+. Alex Szpakowski 2017-12-30 22:39:55 -04:00
  • fcba10a87d metal: use a projection matrix instead of manually transforming vertices into clip space on the CPU. Alex Szpakowski 2017-12-30 20:32:22 -04:00
  • c748bae9d4 metal: only 4 (instead of 5) vertices are needed to draw rectangles and textures, and only 3 (instead of 5) vertices are needed to cover the screen for the 'full-screen quad' when clearing. Alex Szpakowski 2017-12-30 18:48:07 -04:00
  • 9beee70510 xcode: Add Metal and QuartCore to everything as a weak_framework. Ryan C. Gordon 2017-12-30 14:40:39 -05:00
  • 3e28cab7c4 macOS: Make sure the desktop's display mode is always in SDL's list of display modes. Alex Szpakowski 2017-12-29 22:13:40 -04:00
  • e7ea3f1100 Fixed bug 4001 - Android, prevent error message box to crash Sam Lantinga 2017-12-19 11:19:10 -08:00
  • 06535786e9 Fixed bug 4000 - SDL2 on raspberry: mouse displayed at 0,0 after SDL_ShowCursor Sam Lantinga 2017-12-19 11:17:37 -08:00
  • 4b77134b29 Fixed bug 4003 - HAVE_POLL undefined in SDL_poll.c, making it impossible to use. Sam Lantinga 2017-12-19 11:14:06 -08:00
  • ef7a48c03e Fixed bug 4004 - iOS: don't hide keyboard on RETURN Sam Lantinga 2017-12-19 10:57:21 -08:00
  • 9b0cab6f48 Fixed bug 4005 - Android, SDL_IsGameController() crashes is index is out of range Sam Lantinga 2017-12-19 10:48:29 -08:00
  • 8b2a0b0d48 Fixed default Android D-PAD mapping so the back button is treated as B Sam Lantinga 2017-12-16 10:40:47 -08:00
  • 962fe140fd Fixed handling of the Apple TV remote buttons The menu button on the remote is the back button Sam Lantinga 2017-12-16 10:40:45 -08:00
  • 996fe01ee2 Added support for the ASUS TV500BG Android gamepad Sam Lantinga 2017-12-16 10:40:43 -08:00
  • 60e64eb725 Added Android build script for SDL Sam Lantinga 2017-12-16 10:40:41 -08:00
  • 688dcf69d6 wasapi: switched to event-driven interface. Ryan C. Gordon 2017-12-13 14:35:55 -05:00
  • c7906e913a windows: Fixed a comment. Ryan C. Gordon 2017-12-12 22:25:39 -05:00
  • 9f5ee51953 Moved deployment target values to project settings Sam Lantinga 2017-12-12 22:30:21 -08:00
  • c08bbbd902 Parameterized the All (target platform) build target scripts so they can be used in other projects Sam Lantinga 2017-12-12 21:59:39 -08:00
  • 2554acbc9c Fixed bug 3992 - SDL_GetColorKey doesn't set error message Sam Lantinga 2017-12-12 16:37:23 -08:00
  • 860c315655 Fixed bug 3981 - Inverted logic bug in SDL_renderer "overscan" feature Sam Lantinga 2017-12-12 16:34:16 -08:00
  • aff3beaca5 Fixed bug 3993 - altivec.h include in SDL_cpuinfo.h breaks compilation with -std=c++11 Sam Lantinga 2017-12-12 16:25:43 -08:00
  • 8511ae4e32 Fixed bug 3996 - Corrupted or over-released critical section on SDL_Quit (SDL_event_watchers_lock) Sam Lantinga 2017-12-12 16:10:20 -08:00
  • 46de6618ab Add the ability to set SDL to handle Return as 'hide IME' on Android softkeyboard. (thanks Rachel!) Sam Lantinga 2017-12-12 12:52:23 -08:00
  • 2847b1d85b Added support for Android video textures Sam Lantinga 2017-12-12 12:52:17 -08:00
  • 2006b1f102 Merged latest changes from rel/streaming_client Sam Lantinga 2017-12-12 12:52:09 -08:00
  • da1568c35c Renamed Xcode build targets so it's easier to copy files out of build directories on the command line Also enabled bitcode, which is needed for App Store builds Sam Lantinga 2017-12-12 12:14:55 -08:00
  • d24717a636 Added SDL_uikitmetalview.m to the tvOS project Sam Lantinga 2017-12-12 11:29:00 -08:00
  • 0c6273f8f5 Fixed bug 3999 - Build failed when try to build with configure script for Android Sam Lantinga 2017-12-11 14:44:34 -08:00
  • a2120735b5 Check for immintrin.h before using it in SDL_cpuinfo.h Sam Lantinga 2017-12-11 12:00:12 -08:00
  • ac167a144f Fixed Windows gcc build Sam Lantinga 2017-12-11 11:47:52 -08:00
  • b01e3b7932 The newer compilers generate the property boilerplate automatically Sam Lantinga 2017-12-11 11:34:53 -08:00
  • 6ede3ac8a8 Fixed Mac OS X build Sam Lantinga 2017-12-11 11:02:51 -08:00
  • fa4966bae0 Workaround for bug 3931 - spurious SDL_MOUSEMOTION events with SDL_HINT_MOUSE_RELATIVE_MODE_WARP 1 since Windows 10 Fall Creators update Sam Lantinga 2017-12-10 09:17:33 -08:00
  • a845d73a24 Added SDL_WinRTGetDeviceFamily() to find out what type of device your application is running on (thanks Daniel Knobe!) Sam Lantinga 2017-12-10 09:10:02 -08:00
  • 37f351acfe Added the Metal framework to several iOS tests Sam Lantinga 2017-12-10 09:09:27 -08:00
  • 288bf64698 Backed out using pixel texture coordinates, it had weird visual side effects Sam Lantinga 2017-12-09 19:48:38 -08:00
  • eba0fa2295 Fixed normalized coordinates when the viewport is set Sam Lantinga 2017-12-09 19:41:08 -08:00
  • d938403c4a Added support for linear sampling and pixel coordinates in the metal renderer Sam Lantinga 2017-12-09 15:00:41 -08:00