Commit Graph

10682 Commits

Author SHA1 Message Date
Sam Lantinga
d30bd5f691 tree e293c2b7fde8
parent d0a3ee09cf93
author Edward Rudd <urkle@outoforder.cc> 1358013809 18000
committer Edward Rudd <urkle@outoforder.cc> 1358013809 18000
revision 6806
branch default

cleanup the test xcode project to compile on current codebase and be simpler to add new tests
2013-02-11 21:04:41 -08:00
David Ludwig
41ed032ebf WinRT: made SDL_RenderClear display the correct color via Direct3D 11.1 2013-02-10 17:35:38 -05:00
David Ludwig
86b1620b4b WinRT: emit SDL_MOUSEWHEEL events 2013-02-10 10:39:24 -05:00
David Ludwig
e798bdea70 WinRT: made mouse button events include the correct button type (left, right, middle, x1, or x2) 2013-02-10 10:28:52 -05:00
David Ludwig
e73e2ca8d9 WinRT: consolidated all WinRT path-retrieval functions into one function 2013-02-09 22:48:19 -05:00
David Ludwig
5e09208ba1 WinRT: fixed a crash that occurred after rotating the host device 2013-02-09 20:30:53 -05:00
David Ludwig
f771aa94fd WinRT: made sure the device orientation transform gets applied (by the D3D 11.1 renderer) when drawing 2013-02-09 20:26:39 -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
0230dbac69 WinRT: moved texture management code from SDL_winrtrenderer to the D3D 11.1 SDL_Renderer backend 2013-02-09 18:58:13 -05:00
David Ludwig
f97e0c55e1 WinRT: added SDL_WINDOWEVENT_RESIZED support, and moved window-resize-handling code from WinRT rendering code to D3D 11.1 code 2013-02-09 16:00:55 -05:00
David Ludwig
44ce12c509 WinRT: more code-moving from WinRT code to Direct3D 11.1 code 2013-02-09 15:43:13 -05:00
David Ludwig
b29972705a WinRT: made the Direct3D 11.1 renderer directly initialize more of itself, rather than deferring to code in the WinRT video driver 2013-02-09 15:22:49 -05:00
David Ludwig
12f2c72309 WinRT: more work on moving rendering code from SDL_winrtrenderer.* to SDL_render_d3d11* 2013-02-09 14:56:32 -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
a89b0d79a9 WinRT: more code-moving from SDL_winrtrenderer* to SDL_render_d3d11* 2013-02-09 11:42:17 -05:00
David Ludwig
a944a5f84d WinRT: Windows Phone build fixes 2013-02-09 10:43:20 -05:00
David Ludwig
4cf953884a WinRT: removed some now-unnecessary file loading code 2013-02-03 18:56:52 -05:00
David Ludwig
12b291f981 WinRT: made renderer init code be synchronous for now, in order to make error handling be a bit easier in the near future 2013-02-03 18:56:11 -05:00
David Ludwig
14528acc68 WinRT: fixed an odd path retrieval bug 2013-02-03 13:18:31 -05:00
David Ludwig
11f36eaddb WinRT: added a function to retrieve the root path to the installed app 2013-02-03 12:49:12 -05:00
David Ludwig
1aed239483 WinRT: made path retrieval functions return NULL on Windows Phone whenever said data isn't available 2013-02-03 12:38:55 -05:00
David Ludwig
2ef67300a3 WinRT: made path retrieval functions return wide-char strings 2013-02-03 12:34:34 -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
d839eb5eb2 WinRT: moved a bit more Direct3D 11.1 code into the SDL_Renderer backend 2013-02-02 21:05:32 -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
96a6361f12 WinRT: Windows Phone fixes. SDL can now display images, and respond to input, on Microsoft's Windows Phone 8 emulator. 2013-01-29 20:27:47 -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
576267ca3b WinRT: added Windows Phone 8 project files, and got SDL compiling under them 2013-01-28 23:13:07 -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
David Ludwig
7f2474a710 WinRT: made the grave/tilde key work 2013-01-23 09:51:04 -05:00
David Ludwig
cdaa0b3cd4 WinRT: got backslash keys working, at least on Win8 in a Parallels 8 VM 2013-01-23 09:09:23 -05:00
David Ludwig
a98b580312 WinRT: minor comment change to keyboard code 2013-01-23 08:45:28 -05:00
David Ludwig
b529584bec WinRT: made use of Win32 key codes if and when a documented WinRT key code can't be found 2013-01-23 08:44:12 -05:00
David Ludwig
0634d6586e WinRT: hack-fixed a bug whereby SDL_UpdateWindowSurface would fail if the app was hidden, then re-shown 2013-01-22 22:36:32 -05:00
David Ludwig
4376678d59 WinRT: minor, MSVC project file cleanup 2013-01-22 21:46:39 -05:00
David Ludwig
4d3efcce33 WinRT: added platform-specific APIs to access common, writable folder paths 2013-01-22 21:45:59 -05:00
David Ludwig
f84a7d43b1 WinRT: created sections/filters to organize the MSVC project a bit more 2013-01-22 21:05:48 -05:00
David Ludwig
0eb4cf844d WinRT: added a keyboard mapping for the Backspace key 2013-01-22 20:40:15 -05:00
David Ludwig
a254837e9e WinRT: emit SDL_WINDOWEVENT_SHOWN and SDL_WINDOWEVENT_HIDDEN 2013-01-08 23:30:21 -05:00
David Ludwig
c0cc3cec3f WinRT: converted tabs to spaces in src/video/windowsrt/* 2013-01-08 23:11:22 -05:00
David Ludwig
1fae2ee829 WinRT: send window 'minimized' and 'restored' events for app-suspend and app-resume. Use SDL_AddEventWatch() to receive these. 2013-01-08 22:50:29 -05:00
DavidLudwig
c89e8a60b2 converted tabs to spaces in iOS/UIKit PumpEvents code 2013-01-04 16:38:05 -05:00
Sam Lantinga
64ffa4ad74 Fixed bug 1679 - Error in buffer size setting in Haiku/BeOS audio driver
PulkoMandy

Just like in SDL, audio buffer sizes for BeOS and Haiku BSoundPlayer are sized
in bytes, not frames. SDL was feeding the wrong value, leading to buffers
smaller than expected and weird behaviour in some unsuspecting programs
(noticed it in HivelyTracker but others are likely affected as well. The fix is
fortunately very simple
2013-02-11 20:56:34 -08:00
Sam Lantinga
29481b26c7 Hopefully fixed the last of the C variable declaration problems which caused compile failures with Visual Studio. 2013-02-11 18:28:05 -08:00
Sam Lantinga
7f6b9c606b Fixed double-default case 2013-02-11 18:22:32 -08:00
Sam Lantinga
c0c9a2ea7d Fixed compiling SYN_DROPPED with older kernel headers 2013-02-11 18:22:17 -08:00
Sam Lantinga
cb6ecc89fb Fixed compiler warnings 2013-02-11 18:18:34 -08:00
Sam Lantinga
7d93f17562 Fixed C variable declarations 2013-02-11 18:13:52 -08:00
Sam Lantinga
84bc50080b Backed out use of @autorelease keyword for now, since it's not supported by older Xcode versions. 2013-02-11 17:40:09 -08:00