Commit Graph

5465 Commits

Author SHA1 Message Date
David Ludwig
4c4c4093c2 WinRT: another device-rotation and rendering fix 2013-02-19 22:07:07 -05:00
David Ludwig
97ff4f43d7 WinRT: bug fixes for device orientation + Direct3D 11.1 rendering 2013-02-17 23:23:59 -05:00
David Ludwig
367c968fc2 WinRT: made SDL_RenderSetViewport work with the D3D 11.1 renderer 2013-02-17 11:09:07 -05:00
David Ludwig
2e34488cc1 WinRT: D3D 11.1 blending mode support added; FillRects coloring bug-fix 2013-02-16 16:53:06 -05:00
David Ludwig
fdd12e1d1a WinRT: took out an unneeded depth stencil view from the D3D 11.1 renderer 2013-02-16 16:13:48 -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
a20666df47 WinRT: made SDL_CreateRenderer default to using the SW renderer, for now 2013-02-12 21:26:04 -05:00
David Ludwig
f5cedaa6a9 WinRT: fixed one scaling bug (more remain) in the Direct3D 11.1 renderer 2013-02-12 21:25:26 -05:00
David Ludwig
0372a69347 WinRT: fixed bug: SDL_RenderCopy was always filling the entire screen 2013-02-12 20:49:26 -05:00
David Ludwig
d2b0f4d278 WinRT: made d3d 11.1 vertex buffers get created, and updated, when a render op is invoked 2013-02-12 19:08:35 -05:00
David Ludwig
5e3093dfd6 WinRT: fixed bug: SDL_CreateWindow wouldn't work after an initial window was created + destroyed 2013-02-12 12:57:06 -05: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