Commit Graph

  • 49df65c25a 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
  • d027f3602f xcode: Add Metal and QuartCore to everything as a weak_framework. Ryan C. Gordon 2017-12-30 14:40:39 -05:00
  • 64ec4c3334 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
  • 616827ae64 Fixed bug 4001 - Android, prevent error message box to crash Sam Lantinga 2017-12-19 11:19:10 -08:00
  • b7be5bce33 Fixed bug 4000 - SDL2 on raspberry: mouse displayed at 0,0 after SDL_ShowCursor Sam Lantinga 2017-12-19 11:17:37 -08:00
  • 70082db849 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
  • b92e2f027a Fixed bug 4004 - iOS: don't hide keyboard on RETURN Sam Lantinga 2017-12-19 10:57:21 -08:00
  • fee2469c65 Fixed bug 4005 - Android, SDL_IsGameController() crashes is index is out of range Sam Lantinga 2017-12-19 10:48:29 -08:00
  • e5cfa24182 Fixed default Android D-PAD mapping so the back button is treated as B Sam Lantinga 2017-12-16 10:40:47 -08:00
  • 255362a3ed 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
  • cc30e1eb3d Added support for the ASUS TV500BG Android gamepad Sam Lantinga 2017-12-16 10:40:43 -08:00
  • 95d8396e9d Added Android build script for SDL Sam Lantinga 2017-12-16 10:40:41 -08:00
  • ab4695f48f wasapi: switched to event-driven interface. Ryan C. Gordon 2017-12-13 14:35:55 -05:00
  • 988034fcc7 windows: Fixed a comment. Ryan C. Gordon 2017-12-12 22:25:39 -05:00
  • 684c5847ad Moved deployment target values to project settings Sam Lantinga 2017-12-12 22:30:21 -08:00
  • 35a2eed3c1 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
  • 18577a70dd Fixed bug 3992 - SDL_GetColorKey doesn't set error message Sam Lantinga 2017-12-12 16:37:23 -08:00
  • 87894224b6 Fixed bug 3981 - Inverted logic bug in SDL_renderer "overscan" feature Sam Lantinga 2017-12-12 16:34:16 -08:00
  • 0597bf6e99 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
  • ca7297668a 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
  • 2afc0b7fa5 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
  • e8bbbb37f1 Added support for Android video textures Sam Lantinga 2017-12-12 12:52:17 -08:00
  • bed7fd8066 Merged latest changes from rel/streaming_client Sam Lantinga 2017-12-12 12:52:09 -08:00
  • 527a8eb058 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
  • 638d4fe3f8 Added SDL_uikitmetalview.m to the tvOS project Sam Lantinga 2017-12-12 11:29:00 -08:00
  • e0d0184f09 Fixed bug 3999 - Build failed when try to build with configure script for Android Sam Lantinga 2017-12-11 14:44:34 -08:00
  • f1ec8a5f4c Check for immintrin.h before using it in SDL_cpuinfo.h Sam Lantinga 2017-12-11 12:00:12 -08:00
  • 1b16618b13 Fixed Windows gcc build Sam Lantinga 2017-12-11 11:47:52 -08:00
  • 7ac46a7449 The newer compilers generate the property boilerplate automatically Sam Lantinga 2017-12-11 11:34:53 -08:00
  • 358e4d9c7e Fixed Mac OS X build Sam Lantinga 2017-12-11 11:02:51 -08:00
  • ab06f570a8 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
  • baae74c857 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
  • 3ae9768935 Added the Metal framework to several iOS tests Sam Lantinga 2017-12-10 09:09:27 -08:00
  • c2cc9c166c Backed out using pixel texture coordinates, it had weird visual side effects Sam Lantinga 2017-12-09 19:48:38 -08:00
  • 8aad49238b Fixed normalized coordinates when the viewport is set Sam Lantinga 2017-12-09 19:41:08 -08:00
  • 441d309551 Added support for linear sampling and pixel coordinates in the metal renderer Sam Lantinga 2017-12-09 15:00:41 -08:00
  • 1c43705bab Fixed compiler warning Sam Lantinga 2017-12-09 13:05:56 -08:00
  • f55c998891 Fixed pixel positioning and size for the Metal renderer Sam Lantinga 2017-12-09 12:58:41 -08:00
  • 7dac177cd1 metal: fixed render target support. Ryan C. Gordon 2017-12-09 03:28:23 -05:00
  • 85d12d8f21 metal: Added some comments and FIXMEs. Ryan C. Gordon 2017-12-09 03:27:52 -05:00
  • dbce1341d5 audio: fixed typo in Doxygen comment. Ryan C. Gordon 2017-12-09 03:24:01 -05:00
  • bcf1e62289 Removed duplicate entry for SDL_wasapi.h Sam Lantinga 2017-12-08 16:12:53 -08:00
  • 686fc0937e metal: Cleaned up some reference count politics. Ryan C. Gordon 2017-12-08 18:26:26 -05:00
  • 7cb8b50ad8 hints: Add "metal" to the list of SDL_RENDER_DRIVER hints. Ryan C. Gordon 2017-12-08 17:43:57 -05:00
  • cf3d450313 Added SDL_RenderGetMetalLayer() and SDL_RenderGetMetalCommandEncoder() Sam Lantinga 2017-12-08 14:30:10 -08:00
  • c403c0fa9a Fixed Metal renderer memory leak Sam Lantinga 2017-12-08 13:20:20 -08:00
  • 81a33985e1 metal: Don't check if Metal is available if targeting modern macOS versions. Ryan C. Gordon 2017-12-08 14:03:36 -05:00
  • b733dcc208 Minor cleanup Sam Lantinga 2017-12-08 12:02:23 -08:00
  • 5182c23c6b Fixed minor memory leak in the Metal renderer Sam Lantinga 2017-12-08 11:35:19 -08:00
  • cac4e31261 Added check for failure of D3D_ActivateRenderer() Sam Lantinga 2017-12-08 11:34:32 -08:00
  • 127841f315 Fixed compiler warning Sam Lantinga 2017-12-08 11:33:27 -08:00
  • 1a1cd8c143 Fixed bug 1878 - Scaled texture draws with filtering produce wrapping artifacts. Sam Lantinga 2017-12-08 11:09:05 -08:00
  • 7472963805 configure: List Metal in video drivers. Ryan C. Gordon 2017-12-08 00:49:35 -05:00
  • dc04f290a3 Defer getting the next drawable until we actually start rendering This works better for games where there may be a bunch of simulation logic that needs to be run before the next rendering pass, and prevents blocking if the next drawable is busy. Sam Lantinga 2017-12-08 08:58:02 -08:00
  • 104decd16d Fixed runtime errors on iOS Sam Lantinga 2017-12-07 18:08:51 -08:00
  • ba9c336e04 Fixed building for simulators or older iOS SDKs Sam Lantinga 2017-12-07 17:47:01 -08:00
  • 6deb1e7595 Fixed compiling Metal renderer on iOS Sam Lantinga 2017-12-07 17:12:03 -08:00
  • 1ae73a2be8 Added iOS and OSX versions of the Metal shaders Sam Lantinga 2017-12-07 16:08:47 -08:00
  • b2859af6df Enable building the Metal renderer by default, and weak link the Metal framework so the SDL library is safe to use on older Macs Also generate iOS versions of the Metal shaders Sam Lantinga 2017-12-07 16:08:09 -08:00
  • 79bc65ee91 Initial shot at a renderer target for Apple's Metal API. Ryan C. Gordon 2016-04-21 03:16:44 -04:00
  • 2505a8a1a7 The Metal view is a full SDL_uikitview to support multi-touch Sam Lantinga 2017-12-07 09:35:28 -08:00
  • e42706615a cocoa: Added two missing files from hg changeset bc7ca7cfa6ca. Ryan C. Gordon 2017-12-06 16:37:55 -05:00
  • 52015b0cc8 audio: Port WASAPI to WinRT, remove XAudio2 backend. Ryan C. Gordon 2017-12-06 12:24:32 -05:00
  • 36457bef54 winrt: Patched to compile on Ryan's workstation. :) Ryan C. Gordon 2017-12-06 13:48:51 -05:00
  • 1a87aadb91 Fixed bug 3974 - Fix SDL_WarpMouseInWindow on both KMSDRM and RaspberryPi drivers Sam Lantinga 2017-12-04 20:37:01 -08:00
  • 67b01334a4 Fixed bug 3975 - Add GLES2 support for macOS via ANGLE library Sam Lantinga 2017-12-04 20:35:01 -08:00
  • 6421511caf Removed spurious debug output Sam Lantinga 2017-12-04 20:26:09 -08:00
  • 7751f525ca Fixed SDL_Log not working on windows if the output is being redirected. Olli Kallioinen 2017-12-04 19:28:03 +02:00
  • bd378489d6 Fixed typos (thanks Martin!) Sam Lantinga 2017-12-04 20:21:52 -08:00
  • 8848883b02 Fixed name of eglCreatePbufferSurface function Sam Lantinga 2017-12-03 20:27:08 -08:00
  • fcbcb8e5d6 Fixed bug 3945 - Add eglCreatePbufferSurface function Sam Lantinga 2017-12-03 20:25:55 -08:00
  • 206efbd586 Non-resizable windows need to have their window rect set to the client rect Sam Lantinga 2017-11-28 18:31:18 -08:00
  • fe418b8dcd Use the included Khronos headers on Android so we can create Core OpenGL contexts when building with older SDK Sam Lantinga 2017-11-27 15:07:07 -08:00
  • 25cdefeed7 Fixed bug 3980 - Fix for KMSDRM driver where cursor would not be shown on some gfx hardware because of unsupported cursor size Sam Lantinga 2017-11-24 12:03:28 -08:00
  • 1e2113d9d9 Fixed bug 3979 - Failed to link with "multiple definition of `scalbln'" error on both MinGW and MinGW-w64 by CMake Sam Lantinga 2017-11-24 03:01:07 -08:00
  • 671357d0ef Fixed some compiler warnings Sam Lantinga 2017-11-21 21:58:27 -08:00
  • a1ba20a22f Disabled spurious Visual Studio warnings in the uClibc math code Sam Lantinga 2017-11-21 21:51:33 -08:00
  • 8a4a3f8eae Fixed bug 3976 - SDL drivers may leak driverdata memory due to ignoring return value of SDL_AddDisplayMode Sam Lantinga 2017-11-21 21:30:47 -08:00
  • 782ebaec9f Steam Virtual GamePad config for macOS Ethan Lee 2017-11-20 13:59:43 -05:00
  • 9743c54d72 Fixed bug 3973 - Include of stdint is needed to build on linux, mingw and possibly android Sam Lantinga 2017-11-20 00:06:37 -08:00
  • e40529879f Fixed bug 3959 - cmake build broken by commit 11702 (cf166abbde4a) due to typo Sam Lantinga 2017-11-20 00:03:23 -08:00
  • adf60d0097 Added support for aarch64 memory barrier instruction Sam Lantinga 2017-11-19 23:36:54 -08:00
  • af306d42a3 Fixed bug 3964 - YUV to RGB in video/SDL_yuv.c is broken for any output format of type ABGR8888 or BGR888 Sam Lantinga 2017-11-17 11:03:02 -08:00
  • 8b37f8de62 Fixed building yuv_rgb.h when stdint.h isn't available (thanks Ozkan!) Sam Lantinga 2017-11-17 10:55:58 -08:00
  • d20102e9e1 Fixed building YUV test programs (thanks Ozkan!) Sam Lantinga 2017-11-17 10:54:46 -08:00
  • 44087f9b2f Updated SDL's YUV support, many thanks to Adrien Descamps Sam Lantinga 2017-11-12 22:51:12 -08:00
  • 605298f114 Fixed Android build error on older SDK Sam Lantinga 2017-11-12 10:59:05 -08:00
  • 76d34447b2 Fixed typo in comment Sam Lantinga 2017-11-11 17:21:47 -08:00
  • 72a90896df Only include Intel intrinsics header on x86 and x64 Sam Lantinga 2017-11-11 16:20:00 -08:00
  • b67e85ef8f Replaced the intrinsics header with the single header that includes all intrinsics so we can use AVX, etc. Sam Lantinga 2017-11-10 14:22:21 -08:00
  • 2736c93dc1 macOS: Fix an OS-generated warning printed to stdout on launch in bundled apps. Alex Szpakowski 2017-11-09 22:24:09 -04:00
  • 068706b64f Back out the following commits which are causing Dota 2 Exclusive Fullscreen to fail on AMD-based Macs. The details of why this is being reverted are at: https://bugzilla.libsdl.org/show_bug.cgi?id=3949 Sam Lantinga 2017-11-08 14:17:23 -08:00
  • 8a7639fd1f Fixed bug 3943 - General SDL_HINT_VIDEO_DOUBLE_BUFFER hint support Brandon Schaefer 2017-11-07 09:10:32 -08:00
  • 3a5029ddc0 mouse: remove assert for unimplemented platforms (thanks, tomwardio!). Ryan C. Gordon 2017-11-06 15:29:24 -05:00
  • b757f1926d Updated version to 2.0.8 since SDL_image depends on it Sam Lantinga 2017-11-05 01:17:24 -07:00
  • d7eb0bfa5b Fixed bug 3939 - Remove static vm_error and vm_event from SDL_x11modes.c Sam Lantinga 2017-11-04 22:06:40 -07:00
  • 8fc8354b07 Fixed bug 3917 - Android, issues with getManifestEnvironmentVariable Sam Lantinga 2017-11-04 22:03:28 -07:00
  • 741a10dfdf Updated version to 2.0.8 since SDL_image depends on it Sam Lantinga 2017-11-04 21:58:48 -07:00
  • 36abcb8ea4 Fixed compiling on Windows with HAVE_LIBC enabled Sam Lantinga 2017-11-04 18:01:03 -07:00
  • fdc38f30f7 Fixed compiler warnings after uClibc code update Sam Lantinga 2017-11-04 17:39:28 -07:00