Commit Graph

  • a8c0532c08 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 -0400
  • 740a90af37 metal: Add support for YUV/NV12 texture formats. Alex Szpakowski 2018-01-06 18:54:12 -0400
  • 9a8683b275 metal: use a private instead of managed buffer for the renderer's non-changing constant data. Alex Szpakowski 2018-01-04 22:16:42 -0400
  • 990ebba55a 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 -0400
  • 66baf7363e Fixed spacing in copyright headers Sam Lantinga 2018-01-03 11:31:42 -0800
  • 7c60bec493 Fixed bug 4018 - Implement SDL_GetWindowBordersSize() under Windows/Win32/WinAPI Sam Lantinga 2018-01-03 10:58:58 -0800
  • 8111a632be Fixed bug 4013 - Wayland: fix videoquit on multimonitor system Sam Lantinga 2018-01-03 10:49:26 -0800
  • 1fa4bcca6a Fixed bug 4012 - Wayland: invalid direction on mouse wheel Sam Lantinga 2018-01-03 10:43:01 -0800
  • 6bc3873729 Fixed bug 4011 - Wayland: fix free cursor Sam Lantinga 2018-01-03 10:07:27 -0800
  • e3cc5b2c6b Updated copyright for 2018 Sam Lantinga 2018-01-03 10:03:25 -0800
  • 888198ee31 metal: Misc. improvements. Alex Szpakowski 2018-01-03 00:43:01 -0400
  • f9cd765020 metal and moltenvk: fix highdpi. Alex Szpakowski 2018-01-02 21:44:28 -0400
  • ef1014ac68 configure script: Implement testing for build-time Metal SDK support. Alex Szpakowski 2018-01-02 19:06:14 -0400
  • b3b5c47366 Fixed direction of y adjustment for new orthographic projection in the metal renderer Sam Lantinga 2018-01-02 14:32:15 -0800
  • fa86807ceb Fixed metal renderer pixel centers when drawing Sam Lantinga 2018-01-02 14:11:10 -0800
  • 07f08b47ff metal: Fix a typo preventing iOS compilation... Alex Szpakowski 2018-01-01 23:06:08 -0400
  • 1cc6603378 metal: Clean up manual reference counting. Fixes some memory leaks. Alex Szpakowski 2018-01-01 23:03:50 -0400
  • 7c667a6f7a windows: Remove references to GetVersionExA (thanks, Andrew Pilley!). Ryan C. Gordon 2018-01-01 19:16:51 -0500
  • a452a08458 iOS: fix build Alex Szpakowski 2018-01-01 19:40:29 -0400
  • 639ea9fdbc metal: Use sampler state objects instead of shader-declared samplers for linear vs nearest filtering. Alex Szpakowski 2018-01-01 19:37:16 -0400
  • cf45cf70e5 metal: Add support for custom blend modes. Alex Szpakowski 2018-01-01 18:06:27 -0400
  • 85470a2f95 metal: implement SDL_RenderCopyEx, and fix a memory leak in SDL_CreateTexture. Alex Szpakowski 2017-12-31 21:06:16 -0400
  • 047d387b2e 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 -0400
  • 48fea0cee4 macOS: Fix MoltenVK Metal view resizing, and allow the metal view to be used without vulkan. Alex Szpakowski 2017-12-31 15:21:25 -0400
  • 6d32ebdbc9 winrt: Add mmdevapi.lib dependency to WinRT8.1 builds, for WASAPI support. Ryan C. Gordon 2017-12-31 03:51:17 -0500
  • 027d63bc01 winrt: workaround for pre-UWP builds. Ryan C. Gordon 2017-12-31 03:36:54 -0500
  • 140cc46004 windows: Use WaitForSingleObjectEx() always Ryan C. Gordon 2017-12-31 03:35:41 -0500
  • 77bb49b7a7 wasapi: Patched to compile on non-UWP WinRT builds. Ryan C. Gordon 2017-12-31 03:34:16 -0500
  • c0c3056948 winrt: Disabled Windows Phone 8.0 builds. Ryan C. Gordon 2017-12-31 03:17:18 -0500
  • 791c0dd8ab winrt: bumped SDL's shipping version number in winrtbuild.ps1 Ryan C. Gordon 2017-12-31 03:13:33 -0500
  • 42b19c9749 metal: Respect the vsync flag on macOS 10.13+. Alex Szpakowski 2017-12-30 22:39:55 -0400
  • e24dc9053b metal: use a projection matrix instead of manually transforming vertices into clip space on the CPU. Alex Szpakowski 2017-12-30 20:32:22 -0400
  • 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 -0400
  • d027f3602f xcode: Add Metal and QuartCore to everything as a weak_framework. Ryan C. Gordon 2017-12-30 14:40:39 -0500
  • 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 -0400
  • 616827ae64 Fixed bug 4001 - Android, prevent error message box to crash Sam Lantinga 2017-12-19 11:19:10 -0800
  • b7be5bce33 Fixed bug 4000 - SDL2 on raspberry: mouse displayed at 0,0 after SDL_ShowCursor Sam Lantinga 2017-12-19 11:17:37 -0800
  • 70082db849 Fixed bug 4003 - HAVE_POLL undefined in SDL_poll.c, making it impossible to use. Sam Lantinga 2017-12-19 11:14:06 -0800
  • b92e2f027a Fixed bug 4004 - iOS: don't hide keyboard on RETURN Sam Lantinga 2017-12-19 10:57:21 -0800
  • fee2469c65 Fixed bug 4005 - Android, SDL_IsGameController() crashes is index is out of range Sam Lantinga 2017-12-19 10:48:29 -0800
  • e5cfa24182 Fixed default Android D-PAD mapping so the back button is treated as B Sam Lantinga 2017-12-16 10:40:47 -0800
  • 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 -0800
  • cc30e1eb3d Added support for the ASUS TV500BG Android gamepad Sam Lantinga 2017-12-16 10:40:43 -0800
  • 95d8396e9d Added Android build script for SDL Sam Lantinga 2017-12-16 10:40:41 -0800
  • ab4695f48f wasapi: switched to event-driven interface. Ryan C. Gordon 2017-12-13 14:35:55 -0500
  • 988034fcc7 windows: Fixed a comment. Ryan C. Gordon 2017-12-12 22:25:39 -0500
  • 684c5847ad Moved deployment target values to project settings Sam Lantinga 2017-12-12 22:30:21 -0800
  • 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 -0800
  • 18577a70dd Fixed bug 3992 - SDL_GetColorKey doesn't set error message Sam Lantinga 2017-12-12 16:37:23 -0800
  • 87894224b6 Fixed bug 3981 - Inverted logic bug in SDL_renderer "overscan" feature Sam Lantinga 2017-12-12 16:34:16 -0800
  • 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 -0800
  • 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 -0800
  • 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 -0800
  • e8bbbb37f1 Added support for Android video textures Sam Lantinga 2017-12-12 12:52:17 -0800
  • bed7fd8066 Merged latest changes from rel/streaming_client Sam Lantinga 2017-12-12 12:52:09 -0800
  • 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 -0800
  • 638d4fe3f8 Added SDL_uikitmetalview.m to the tvOS project Sam Lantinga 2017-12-12 11:29:00 -0800
  • e0d0184f09 Fixed bug 3999 - Build failed when try to build with configure script for Android Sam Lantinga 2017-12-11 14:44:34 -0800
  • f1ec8a5f4c Check for immintrin.h before using it in SDL_cpuinfo.h Sam Lantinga 2017-12-11 12:00:12 -0800
  • 1b16618b13 Fixed Windows gcc build Sam Lantinga 2017-12-11 11:47:52 -0800
  • 7ac46a7449 The newer compilers generate the property boilerplate automatically Sam Lantinga 2017-12-11 11:34:53 -0800
  • 358e4d9c7e Fixed Mac OS X build Sam Lantinga 2017-12-11 11:02:51 -0800
  • 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 -0800
  • 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 -0800
  • 3ae9768935 Added the Metal framework to several iOS tests Sam Lantinga 2017-12-10 09:09:27 -0800
  • c2cc9c166c Backed out using pixel texture coordinates, it had weird visual side effects Sam Lantinga 2017-12-09 19:48:38 -0800
  • 8aad49238b Fixed normalized coordinates when the viewport is set Sam Lantinga 2017-12-09 19:41:08 -0800
  • 441d309551 Added support for linear sampling and pixel coordinates in the metal renderer Sam Lantinga 2017-12-09 15:00:41 -0800
  • 1c43705bab Fixed compiler warning Sam Lantinga 2017-12-09 13:05:56 -0800
  • f55c998891 Fixed pixel positioning and size for the Metal renderer Sam Lantinga 2017-12-09 12:58:41 -0800
  • 7dac177cd1 metal: fixed render target support. Ryan C. Gordon 2017-12-09 03:28:23 -0500
  • 85d12d8f21 metal: Added some comments and FIXMEs. Ryan C. Gordon 2017-12-09 03:27:52 -0500
  • dbce1341d5 audio: fixed typo in Doxygen comment. Ryan C. Gordon 2017-12-09 03:24:01 -0500
  • bcf1e62289 Removed duplicate entry for SDL_wasapi.h Sam Lantinga 2017-12-08 16:12:53 -0800
  • 686fc0937e metal: Cleaned up some reference count politics. Ryan C. Gordon 2017-12-08 18:26:26 -0500
  • 7cb8b50ad8 hints: Add "metal" to the list of SDL_RENDER_DRIVER hints. Ryan C. Gordon 2017-12-08 17:43:57 -0500
  • cf3d450313 Added SDL_RenderGetMetalLayer() and SDL_RenderGetMetalCommandEncoder() Sam Lantinga 2017-12-08 14:30:10 -0800
  • c403c0fa9a Fixed Metal renderer memory leak Sam Lantinga 2017-12-08 13:20:20 -0800
  • 81a33985e1 metal: Don't check if Metal is available if targeting modern macOS versions. Ryan C. Gordon 2017-12-08 14:03:36 -0500
  • b733dcc208 Minor cleanup Sam Lantinga 2017-12-08 12:02:23 -0800
  • 5182c23c6b Fixed minor memory leak in the Metal renderer Sam Lantinga 2017-12-08 11:35:19 -0800
  • cac4e31261 Added check for failure of D3D_ActivateRenderer() Sam Lantinga 2017-12-08 11:34:32 -0800
  • 127841f315 Fixed compiler warning Sam Lantinga 2017-12-08 11:33:27 -0800
  • 1a1cd8c143 Fixed bug 1878 - Scaled texture draws with filtering produce wrapping artifacts. Sam Lantinga 2017-12-08 11:09:05 -0800
  • 7472963805 configure: List Metal in video drivers. Ryan C. Gordon 2017-12-08 00:49:35 -0500
  • 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 -0800
  • 104decd16d Fixed runtime errors on iOS Sam Lantinga 2017-12-07 18:08:51 -0800
  • ba9c336e04 Fixed building for simulators or older iOS SDKs Sam Lantinga 2017-12-07 17:47:01 -0800
  • 6deb1e7595 Fixed compiling Metal renderer on iOS Sam Lantinga 2017-12-07 17:12:03 -0800
  • 1ae73a2be8 Added iOS and OSX versions of the Metal shaders Sam Lantinga 2017-12-07 16:08:47 -0800
  • 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 -0800
  • 60521049f5 Initial shot at a renderer target for Apple's Metal API. Ryan C. Gordon 2016-04-21 03:16:44 -0400
  • 569f301f91 The Metal view is a full SDL_uikitview to support multi-touch Sam Lantinga 2017-12-07 09:35:28 -0800
  • d6d33cc26e cocoa: Added two missing files from hg changeset da7ba330ec68. Ryan C. Gordon 2017-12-06 16:37:55 -0500
  • 999345d977 audio: Port WASAPI to WinRT, remove XAudio2 backend. Ryan C. Gordon 2017-12-06 12:24:32 -0500
  • 03dedfc8a1 winrt: Patched to compile on Ryan's workstation. :) Ryan C. Gordon 2017-12-06 13:48:51 -0500
  • 96434e5006 Fixed bug 3974 - Fix SDL_WarpMouseInWindow on both KMSDRM and RaspberryPi drivers Sam Lantinga 2017-12-04 20:37:01 -0800
  • 1508e33ba5 Fixed bug 3975 - Add GLES2 support for macOS via ANGLE library Sam Lantinga 2017-12-04 20:35:01 -0800
  • 2caef08903 Removed spurious debug output Sam Lantinga 2017-12-04 20:26:09 -0800
  • d2050d1626 Fixed SDL_Log not working on windows if the output is being redirected. Olli Kallioinen 2017-12-04 19:28:03 +0200