Commit graph

5631 commits

Author SHA1 Message Date
David Ludwig
df42edd5e1 WinRT: made WinRT path retrieval be available in both UCS-2 and UTF-8 flavors 2013-04-01 21:33:06 -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
8a321ffe64 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
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
a53fe847a1 WinRT: cleaned up headers in src\video\windowsrt\ 2013-02-24 10:02:57 -05:00
David Ludwig
5520a12a33 WinRT: added support for alpha-blended texture rendering 2013-02-23 22:58:09 -05:00
David Ludwig
76a8817338 WinRT: made mouse wheel motion increments more closely match their values on Win32 2013-02-23 20:22:19 -05:00
David Ludwig
52fd9b7f71 WinRT: build fixes 2013-02-23 20:12:14 -05:00
David Ludwig
776ebe3bda WinRT: merged with latest, official, SDL 2.x code 2013-02-23 20:01:46 -05:00
David Ludwig
c47e35498e WinRT: turned off some keyboard debugging code that got inadvertently left on 2013-02-23 18:08:27 -05:00
Sam Lantinga
3b188bfa98 Removed local.properties from android-project folder
Alexey Petruchik

Please remove local.properties from android-project folder and add it to hgignore
According to the local.properties:
# This file must *NOT* be checked in Version Control Systems,
2013-02-23 02:25:34 -08:00
David Ludwig
44ca4f35a4 WinRT: more minor code cleanups 2013-02-22 23:53:37 -05:00
David Ludwig
cb6f37ccf7 WinRT: minor cleanup in top-level app code 2013-02-22 23:44:34 -05:00
David Ludwig
8afd520d29 WinRT: allowed setting the device rotation preference via SDL_HINT_ORIENTATIONS 2013-02-22 23:23:53 -05:00
Gabriel Jacobo
5a61cb4234 Fixes Bug 1726 - Memory leak in X11_GetDisplayBounds 2013-02-22 10:44:44 -03:00
Ryan C. Gordon
c02c04cdba Backed out changeset 9fea506e48ab
Sam beat me to this on a different branch, apparently.
2013-02-20 14:49:30 -05:00
Ryan C. Gordon
9269a3af2e Allow SDL_AUDIODRIVER="pulse" to do the right thing.
(We renamed this audio target at some point; the Internet didn't get the memo.)
2013-02-20 13:25:38 -05:00
David Ludwig
0cc80148f4 WinRT: another device-rotation and rendering fix 2013-02-19 22:07:07 -05:00
Sam Lantinga
fed4aded8f Fixed bug 1474 - OpenGL renderer can't to display YV12 texture. 2013-02-19 07:05:15 -08:00
Sam Lantinga
aa427c702d Removed SDL_input.h from various projects 2013-02-19 05:46:51 -08:00
Sam Lantinga
70132c66ae The input API was never implemented, so removing it before release. 2013-02-19 05:39:19 -08:00
Sam Lantinga
7da5b83b75 Allow abbreviated strings to be used for driver names.
This allows people to use "pulse" with both SDL 1.2 and 2.0
2013-02-18 20:14:24 -08:00
Jørgen P. Tjernø
6e147b2087 Fix SDL_SetWindowSize on certain WMs.
Makes SDL_SetWindowSize work on some WMs (like Fluxbox, ion3, Awesome,
WindowMaker), and when running without a WM.

Fixes bug 1513.
CR: saml
2013-02-18 18:28:02 -08:00
Sam Lantinga
72ec6bcbe2 Fixed bug where if X11 is not dynamically loaded, then we think none of the X11 modules are available. 2013-02-18 16:24:33 -08:00
Andreas Schiffler
6b7a2ee71b Fix bug 1723: flipped log text in audio suite - thanks P. Wiesemann 2013-02-18 07:59:05 -08:00
Sam Lantinga
cc3e8105ec We don't need no stinking pre-release version number!
If we do end up needing something, we should use the Mercurial revision number.
2013-02-17 23:39:25 -08:00
Sam Lantinga
1a4596d798 Fixed bug 1722 - An attempt to release NULL Direct3d surface
Evgeny

static void
D3D_DestroyRenderer(SDL_Renderer * renderer)

has a critical problem. It may try to release IDirect3DSurface9 surface pointed
by NULL pointer. That leads to really wierd consequences on my system.

It happens when the previous call to IDirect3D9_CreateDevice() fails leaving
D3D_RenderData::defaultRenderTarget uninitialized.
2013-02-17 23:30:47 -08: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
Sam Lantinga
8cd8501f09 Updated debian files to be consistent across SDL packages 2013-02-16 11:43:59 -08: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
Sam Lantinga
2563e36110 Fixed package name in the control file 2013-02-16 04:43:38 -08:00
Sam Lantinga
f142f09b1e Switched package name back, at the request of Manuel A. Fernandez Montecelo 2013-02-16 04:40:32 -08:00
Andreas Schiffler
e19bbcffd3 Add tests to Video suite 2013-02-16 23:09:10 -08:00
Sam Lantinga
36344c7379 Updated macro comment 2013-02-15 15:22:12 -08:00
Sam Lantinga
0729af112f Switched debian package name to sdl2
Disabled most of the dynamic shared libraries so that the correct dependency set is created for the runtime package.
2013-02-15 14:11:28 -08:00
Sam Lantinga
6e2c0511ee Added SDL license to Android clipboard implementation 2013-02-16 13:35:28 -08:00
Sam Lantinga
a1b447a13a Added license to Android power implementation 2013-02-16 13:33:58 -08:00
Sam Lantinga
4d92d49a5f Added native Debian package information 2013-02-15 14:56:08 -08:00
Sam Lantinga
95dcfa4c28 Happy New Year! 2013-02-15 08:47:44 -08:00
Sam Lantinga
20cad0087c Missed a few files when switching to the zlib license 2013-02-15 08:27:57 -08:00
Sam Lantinga
b96060a11e bye bye test... 2013-02-14 16:54:18 -08:00