src


Log

Author Commit Date CI Message
David Ludwig 62c781ea 2013-10-25T20:31:43 WinRT: made the Direct3D 11.x 'Debug Layer' be enable-able in any app via a hint To enable the Debug Layer, set the hint, SDL_HINT_RENDER_DIRECT3D11_DEBUG to '1'. The Debug Layer will be turned off by default, both in Release and Debug builds (of SDL).
David Ludwig 6004b764 2013-09-22T23:17:25 WinRT: added missing files
David Ludwig 58dd0864 2013-09-22T12:26:53 WinRT: unified the two, public, app-init functions This function, SDL_WinRTRunApp, can be used to help launch either XAML or non-XAML/Direct3D-only based apps.
David Ludwig aeaa0505 2013-09-16T22:43:12 WinRT: ugh, at least one file in an app's project seems to require C++/CX compilation. Assuming this is true, that file might as well be the one that contains WinMain.
David Ludwig efb3cdca 2013-09-16T22:27:30 WinRT: renamed SDL_winrt_main.cpp to indicate that it should only be used in non-XAML apps This can break builds of existing SDL/WinRT apps. To fix, remove the reference to SDL_winrt_main.cpp, then add a reference to the renamed file, SDL_winrt_main_NonXAML.cpp. If you get a build error about a missing .winmd file, enable the /ZW compiler flag for that one file (at minimum).
David Ludwig fff83d8e 2013-09-16T21:09:58 WinRT: reduced the size of SDL_winrt_main.cpp by a little bit
David Ludwig 0022dbf2 2013-09-16T11:02:18 WinRT: made SDL_GetWindowWMInfo return window data in a slightly easier-to-use format Having the window pointer available as a WinRT IInspectable should make it a bit easier to use in conjunction with WRL-based weak references.
David Ludwig fa45a9c9 2013-09-16T00:31:01 WinRT: fixed a line-rendering bug in the D3D 11.1 backend
David Ludwig c72a4fa3 2013-09-15T23:53:51 WinRT: made SDL_winrt_main.cpp not have to be compiled as C++/CX (via the /ZW compiler flag) This file can still be compiled as C++/CX, however that is now optional/not-required.
David Ludwig 34722465 2013-09-06T21:13:15 WinRT: code cleanup: attempted to make it more clear what code is specific to what app type (plain Direct3D or XAML)
David Ludwig de8d9dbb 2013-09-06T21:00:52 WinRT: minor code cleanup regarding events Some event handling functions got sorted in a somewhat consistent manner, and in some cases, were also segregated a bit from app-lifecycle code.
David Ludwig 9de76eb5 2013-09-06T19:23:42 WinRT: removed chunks of C++ hack code from SDL_xaudio2.c
David Ludwig fff78081 2013-09-06T19:07:15 WinRT: made SDL_xaudio2.c compile as C code when building for WinRT XAudio2 2.8's header file, xaudio2.h, doesn't compile in plain C code for WinRT apps, not automatically at least. Initially, this file was adapted to compile as C++, however these changes are now deprecated in favor of some preprocessor based hacks that should get xaudio2.h to compile (while making sure XAudio2 still works).
David Ludwig ac6e5a69 2013-09-04T20:20:36 WinRT: minor code cleanup in SDL_xaudio2.c
David Ludwig 8fc04cc7 2013-09-02T15:29:46 WinRT: renamed a mouse-related header file for naming-consistency's sake
David Ludwig 7e06b806 2013-09-02T15:23:33 WinRT: misc code cleanups regarding touch and mouse events, and also SDL-internal globals
David Ludwig a94e4185 2013-09-01T10:20:17 WinRT: added touch input event support for Windows 8/RT devices
David Ludwig dbdc4b84 2013-08-29T10:32:16 WinRT: added touch-event support for Windows Phone devices Support for touch events in Windows 8/RT is pending on further R+D.
David Ludwig 1d5082d8 2013-08-28T16:51:07 WinRT: corrected SDL_MOUSE* coordinates in non-Portrait modes Thanks to Pierre-Yves Gueniffey for proper pointer geometry transform code!
David Ludwig 13c87e71 2013-08-28T16:14:27 WinRT: made simulated-mouse (via touch) input work on Windows Phone in Portrait mode Proper SDL_MOUSE* event support for non-Portrait orientations in Windows Phone is pending.
David Ludwig 31235b4b 2013-08-28T15:27:01 WinRT: made rendering work with orientation changes on Windows Phone Pointer event geometry still needs to be adjusted on Windows Phone, to note.
David Ludwig 91b03902 2013-08-28T12:45:43 WinRT: removed a comment regarding a dealt-with TODO
David Ludwig 8e3886a2 2013-08-28T12:38:30 WinRT: rendering orientation fixes for Windows Phone, part 1 This change should allow apps to render correctly in Portrait mode, at minimum, Support for orientation changes is pending. Thanks to Pierre-Yves for assistance!
David Ludwig 44755f8a 2013-08-28T11:46:02 WinRT: fixed a potential memory-related crash in SDL_Renderer on Windows Phone
David Ludwig 2cafee9d 2013-08-27T21:21:09 WinRT: experimental and preliminary support for XAML-based overlays on Windows 8/RT The XAML support here is still rudimentary. Bugs do exist. You've been warned. XAML support in Windows Phone 8 is not yet available (in SDL/WinRT).
David Ludwig 86ea4c4e 2013-08-27T13:03:43 WinRT: made all WinRT-related TODO comments use the same prefix, "TODO, WinRT"
David Ludwig 17ca1d00 2013-08-27T12:56:49 WinRT: code cleanup wrt. display mode(s)
David Ludwig f860141a 2013-08-27T12:33:36 WinRT: renamed "windowsrt" directories to "winrt"
David Ludwig fa229f37 2013-08-27T12:22:02 WinRT: fixed a crash that occurred on device rotation (oops!)
David Ludwig 1e78c4a5 2013-08-27T12:20:35 WinRT: more "Windows RT" to "WinRT" renaming
David Ludwig 30700864 2013-08-27T12:16:42 WinRT: took out a deprecated TODO-comment
David Ludwig 6dc2a410 2013-08-27T12:13:45 WinRT: moved the WinRT SDL_VideoDevice out of SDL_WinRTApp This was done to help pave the way for XAML support.
David Ludwig 253b9aae 2013-08-27T11:51:17 WinRT: moved the pointer to the global SDL_Window to a separate variable This is a cleanup that is being done to help with WIP XAML support. It may be reverted in the future.
David Ludwig 7be2ad71 2013-08-27T11:44:43 WinRT: renamed SDL_SYSWM_WINDOWSRT to SDL_SYSWM_WINRT This is part of an overall effort to use the name, "WinRT", rather than "WindowsRT" (or "Windows RT"), as the shorthand name often seems to mean something different than the longhand name. (WinRT is an API, Windows RT is a product name)
David Ludwig 3e83fd78 2013-08-27T11:39:44 WinRT: misc code cleanups
David Ludwig f8e80edf 2013-08-27T11:00:52 WinRT: removed more hack-code that attempted to help have non-standard window sizes "Non-standard" is defined here as any window size that differs from that provided by WinRT's CoreWindow.
David Ludwig 80abfc4d 2013-08-27T10:57:55 WinRT: minor function and variable name cleanup
David Ludwig 065b2cf4 2013-08-27T10:56:10 WinRT: made all SDL_Windows get sized to the WinRT-defined window size This change removes some code that attempted to allow non-standard window sizes, the idea of which was to do display scaling, and a hackish one at that. If display scaling is needed, use SDL_Renderer as appropriate.
David Ludwig 409d9b1c 2013-08-27T09:53:58 WinRT: removed a deprecated hack regarding window resizing and Direct3D viewports
David Ludwig d78b26ed 2013-08-26T17:17:53 WinRT: moved most platform-specific keyboard and mouse code to shared locations
David Ludwig 73dfcdcf 2013-08-20T22:18:48 WinRT: removed some old debugging code from SDL_mutexP and SDL_mutexV
David Ludwig dcb1689f 2013-08-20T22:16:09 WinRT: made a note that WinRT doesn't appear to support modifying a thread's priority
David Ludwig 6300b360 2013-08-20T22:04:09 WinRT: made SDL_ThreadID() return the native thread ID, rather than a fake one
David Ludwig 90a9278f 2013-08-20T21:54:34 WinRT: made the C++11-based threading backend only try to catch exceptions that it knows it (the threading APIs) might throw, rather than all exceptions
David Ludwig 19a168b4 2013-08-20T21:22:32 WinRT: file naming and placement cleanup - moved SDL_WinRTApp.* from src/video/windowsrt/ to src/core/winrt/, and renamed them to SDL_winrtapp.* (to mimick case-sensitivity used elsewhere in SDL) - renamed all "windowsrt" directories (in src) to "winrt", as the shorthand name is used more often (and, IMO, "WinRT" != "Windows RT", not entirely at least)
David Ludwig eaf26ff6 2013-08-13T20:33:15 WinRT: added a stub implementation of UpdateClipRect to the D3D 11.1 renderer
David Ludwig 45ef345d 2013-08-13T20:28:48 WinRT: fixed a crash in some display orientation hint code
David Ludwig d41fdc94 2013-08-13T20:09:52 WinRT: build fixes and additional WinRT-related integrations with SDL 2.0.0
David Ludwig f7049b93 2013-08-12T22:29:55 WinRT: merged with SDL 2.0.0 codebase (aka. SDL hg rev d4ce48ff30d1)
Sam Lantinga 1ad936eb 2013-08-11T19:56:43 Fixed bug 2027 - Full-screen appears to be broken - hang in SDL_DestroyWindow() Rainer Deyke I'm running Linux Mint 15 with the Cinnamon window manager. SDL_DestroyWindow consistently locks up for me when the window if fullscreen.