Commit Graph

27 Commits

Author SHA1 Message Date
David Ludwig
0672afb236 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).
2013-09-06 19:07:15 -04:00
David Ludwig
77688b3323 WinRT: more renaming of "windowsrt" to "winrt" 2013-09-04 19:55:45 -04:00
David Ludwig
3397778e0b WinRT: renamed a mouse-related header file for naming-consistency's sake 2013-09-02 15:29:46 -04:00
David Ludwig
fd735f66d7 WinRT: misc code cleanups regarding touch and mouse events, and also SDL-internal globals 2013-09-02 15:23:33 -04:00
David Ludwig
971e8b2487 WinRT: corrected SDL_MOUSE* coordinates in non-Portrait modes
Thanks to Pierre-Yves Gueniffey for proper pointer geometry transform code!
2013-08-28 16:51:07 -04:00
David Ludwig
93507125de 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).
2013-08-27 21:21:09 -04:00
David Ludwig
278c571952 WinRT: renamed "windowsrt" directories to "winrt" 2013-08-27 12:33:36 -04:00
David Ludwig
558566d117 WinRT: misc code cleanups 2013-08-27 11:39:44 -04:00
David Ludwig
d74acd5aaa WinRT: moved most platform-specific keyboard and mouse code to shared locations 2013-08-26 17:17:53 -04:00
David Ludwig
b59c3af461 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)
2013-08-20 21:22:32 -04:00
David Ludwig
1ae5d8dea3 WinRT: build fixes and additional WinRT-related integrations with SDL 2.0.0 2013-08-13 20:09:52 -04:00
David Ludwig
2ee499e0c3 WinRT: fixed XInput-related linker errors on non-x86 platforms (such as ARM) 2013-05-20 11:09:08 -04:00
David Ludwig
6356c76c2f WinRT: added preliminary joystick / game controller support (minus hotplugging) 2013-05-19 23:30:34 -04:00
David Ludwig
42d450ffdb WinRT: made sure SDL_GameController APIs get linked in (to SDL.dll) 2013-05-11 21:54:10 -04:00
David Ludwig
86bfe54a2d WinRT: build fixes for the loopwave and testthread test apps 2013-04-14 12:06:58 -04:00
David Ludwig
922323a1cd WinRT: added texture channel color-modulation support for D3D 11.1 2013-04-07 22:35:58 -04:00
David Ludwig
d2e7786722 WinRT: made GPU shaders get compiled at a lower level, for compatibility: 4_0_level_9_1 2013-02-24 10:41:35 -05:00
David Ludwig
cacc6d9d92 WinRT: moved the default vertex shader into the Direct3D 11.1 renderer's folder 2013-02-24 10:11:58 -05:00
David Ludwig
dbf571eb99 WinRT: cleaned up headers in src\video\windowsrt\ 2013-02-24 10:02:57 -05:00
David Ludwig
b7dcf7fac4 WinRT: implemented SDL_RenderFillRect and SDL_RenderFillRects for the D3D 11.1 renderer 2013-02-16 09:10:43 -05:00
David Ludwig
81b18b286b WinRT: made use of SDL's framebuffer emulation code, instead of the custom stuff; then removed SDL_winrtrenderer 2013-02-09 19:39:42 -05:00
David Ludwig
aa44094749 WinRT: provided access, via SDL_GetWindowWMInfo, to SDL's WinRT CoreWindow 2013-02-09 14:35:06 -05:00
David Ludwig
7eb00a855c WinRT: use OS-native vsnprintf, which allows SDL_Log to format wide strings (via %ls) 2013-02-03 12:33:15 -05:00
David Ludwig
4f6ffdc590 WinRT: started refactoring Direct3D 11.1 code into a new SDL_Renderer backend 2013-02-02 19:32:44 -05:00
David Ludwig
19e2e3294b WinRT: re-added SDL's MSVC project file, which I accidentally deleted (oops!) 2013-01-28 23:19:13 -05:00
David Ludwig
4f492c62c6 WinRT: made project file name include "WinRT", in order to make it distinct from a future WinPhone project 2013-01-28 22:03:12 -05:00
David Ludwig
e65acbfd3e WinRT: separated Win32 and WinRT project files 2013-01-23 23:42:50 -05:00