Commit graph

39 commits

Author SHA1 Message Date
David Ludwig
45a13dac17 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)
2013-08-27 11:44:43 -04:00
David Ludwig
a49f0e4f74 WinRT: added a stub implementation of UpdateClipRect to the D3D 11.1 renderer 2013-08-13 20:33:15 -04:00
David Ludwig
52a3b9b1f5 WinRT: made SDL's inner WinRT CoreWindow be accessible to non-C++/CX code, in theory 2013-04-16 23:40:03 -04:00
David Ludwig
e40e111591 WinRT: added render-to-texture support for D3D 11.1, via SDL_SetRenderTarget 2013-04-13 23:03:46 -04:00
David Ludwig
b74856f7b7 WinRT: added texture channel color-modulation support for D3D 11.1
--HG--
rename : src/render/direct3d11/SDL_D3D11_PixelShader_TextureCopy.hlsl => src/render/direct3d11/SDL_D3D11_PixelShader_TextureColored.hlsl
2013-04-07 22:35:58 -04:00
David Ludwig
b1b2ba3f09 WinRT: removed a bit of unused code from the D3D 11.1 renderer 2013-04-02 00:21:01 -04:00
David Ludwig
b7887dd326 WinRT: added rotation support to SDL_RenderCopyEx via D3D 11.1 2013-04-02 00:09:49 -04:00
David Ludwig
5230205e27 WinRT: implemented SDL_RenderCopyEx, w/ SDL_RendererFlip support, in D3D 11.1 2013-04-01 22:33:37 -04:00
David Ludwig
33ab98ccee WinRT: implemented SDL_RenderReadPixels in Direct3D 11.1 2013-04-01 21:34:47 -04:00
David Ludwig
2e29d030b9 WinRT: removed code that unnecessarily set a blank D3D 11.1 texture's contents 2013-03-31 11:44:50 -04:00
David Ludwig
da65f35eaf WinRT: added SDL_LockTexture and SDL_UnlockTexture support to the D3D 11.1 renderer 2013-03-31 11:16:31 -04:00
David Ludwig
b7476a788a WinRT: added point drawing support to the Direct3D 11.1 rendering backend 2013-03-24 21:57:40 -04:00
David Ludwig
7cb5ae426f WinRT: added line drawing support to the Direct3D 11.1 rendering backend 2013-03-24 21:19:26 -04:00
David Ludwig
88be433255 WinRT: made the D3D 11.1 renderer respect the 'srcrect' parameter of SDL_RenderCopy 2013-02-24 12:27:28 -05:00
David Ludwig
8d55f67a2f WinRT: allowed for querying of max texture size (via Direct3D 11.1) 2013-02-24 10:30:12 -05:00
David Ludwig
0a9710e1e5 WinRT: made the Direct3D 11.1 renderer correctly report its status regarding render-to-texture (not supported, yet) 2013-02-24 10:14:23 -05:00
David Ludwig
0464946409 WinRT: moved the default vertex shader into the Direct3D 11.1 renderer's folder
--HG--
rename : src/video/windowsrt/SimpleVertexShader.hlsl => src/render/direct3d11/SDL_D3D11_VertexShader_Default.hlsl
2013-02-24 10:11:58 -05:00
David Ludwig
5520a12a33 WinRT: added support for alpha-blended texture rendering 2013-02-23 22:58:09 -05:00
David Ludwig
0cc80148f4 WinRT: another device-rotation and rendering fix 2013-02-19 22:07:07 -05:00
David Ludwig
4a906d9edf WinRT: bug fixes for device orientation + Direct3D 11.1 rendering 2013-02-17 23:23:59 -05:00
David Ludwig
19ff37c4b3 WinRT: made SDL_RenderSetViewport work with the D3D 11.1 renderer 2013-02-17 11:09:07 -05:00
David Ludwig
bafdb176fa WinRT: D3D 11.1 blending mode support added; FillRects coloring bug-fix 2013-02-16 16:53:06 -05:00
David Ludwig
a6c8d32843 WinRT: took out an unneeded depth stencil view from the D3D 11.1 renderer 2013-02-16 16:13:48 -05:00
David Ludwig
c895496828 WinRT: implemented SDL_RenderFillRect and SDL_RenderFillRects for the D3D 11.1 renderer
--HG--
rename : src/video/windowsrt/SimplePixelShader.hlsl => src/render/direct3d11/SDL_D3D11_PixelShader_TextureCopy.hlsl
2013-02-16 09:10:43 -05:00
David Ludwig
1d2bde7131 WinRT: fixed one scaling bug (more remain) in the Direct3D 11.1 renderer 2013-02-12 21:25:26 -05:00
David Ludwig
5e66f60ffa WinRT: fixed bug: SDL_RenderCopy was always filling the entire screen 2013-02-12 20:49:26 -05:00
David Ludwig
48ce80d49a 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
754df984f0 WinRT: made SDL_RenderClear display the correct color via Direct3D 11.1 2013-02-10 17:35:38 -05:00
David Ludwig
2649db8b65 WinRT: consolidated all WinRT path-retrieval functions into one function 2013-02-09 22:48:19 -05:00
David Ludwig
af0c2dad3d WinRT: fixed a crash that occurred after rotating the host device 2013-02-09 20:30:53 -05:00
David Ludwig
8b75a125cc 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
ba872e50c7 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
43c3909acd 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
0408a58b16 WinRT: more code-moving from WinRT code to Direct3D 11.1 code 2013-02-09 15:43:13 -05:00
David Ludwig
587165bdd6 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
9df73a8ba1 WinRT: more work on moving rendering code from SDL_winrtrenderer.* to SDL_render_d3d11* 2013-02-09 14:56:32 -05:00
David Ludwig
0bc7f7eac8 WinRT: more code-moving from SDL_winrtrenderer* to SDL_render_d3d11* 2013-02-09 11:42:17 -05:00
David Ludwig
b9299763b6 WinRT: moved a bit more Direct3D 11.1 code into the SDL_Renderer backend 2013-02-02 21:05:32 -05:00
David Ludwig
f7b08ae60b WinRT: started refactoring Direct3D 11.1 code into a new SDL_Renderer backend 2013-02-02 19:32:44 -05:00