Commit Graph

11015 Commits

Author SHA1 Message Date
Ryan C. Gordon
ad75661c46 Added SDL_haptic.h to SDL.h. 2013-02-25 01:50:59 -05:00
Ryan C. Gordon
b7b7f889c5 Changed the game controller enum types to match SDL naming conventions. 2013-02-25 00:56:21 -05:00
Ryan C. Gordon
1da268a909 Minor cleanup. 2013-02-25 00:47:47 -05:00
Ryan C. Gordon
1e8adff29f Added PS3 game controller config for Linux. 2013-02-25 00:45:25 -05:00
Ryan C. Gordon
efb6ccb1ee Made testgamecontroller minimally more useful. 2013-02-24 22:57:25 -05:00
Ryan C. Gordon
a73c1eef79 Fixed a minor typo. 2013-02-24 22:56:35 -05:00
Ryan C. Gordon
e8d1e6c534 Added an X360 game controller config for Linux. 2013-02-24 22:56:24 -05:00
Sam Lantinga
3484299fd7 Removed duplicate include 2013-02-24 12:56:29 -08:00
Sam Lantinga
96fd614309 Fixed compiling on older Linux systems without libudev 2013-02-24 12:55:51 -08:00
David Ludwig
3f580c9f17 WinRT: made the D3D 11.1 renderer respect the 'srcrect' parameter of SDL_RenderCopy 2013-02-24 12:27:28 -05: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
583a3e4aee WinRT: allowed for querying of max texture size (via Direct3D 11.1) 2013-02-24 10:30:12 -05:00
David Ludwig
4e1f3a92f0 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
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
08b886ae9d WinRT: added support for alpha-blended texture rendering 2013-02-23 22:58:09 -05:00
David Ludwig
7cc98a4238 WinRT: made mouse wheel motion increments more closely match their values on Win32 2013-02-23 20:22:19 -05:00
David Ludwig
7b0ad782e6 WinRT: build fixes 2013-02-23 20:12:14 -05:00
David Ludwig
db53df0697 WinRT: merged with latest, official, SDL 2.x code 2013-02-23 20:01:46 -05:00
David Ludwig
b92910fe9c WinRT: turned off some keyboard debugging code that got inadvertently left on 2013-02-23 18:08:27 -05:00
Sam Lantinga
a65e5a3850 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
c11dabbf44 WinRT: more minor code cleanups 2013-02-22 23:53:37 -05:00
David Ludwig
b0e0d9e39d WinRT: minor cleanup in top-level app code 2013-02-22 23:44:34 -05:00
David Ludwig
47a35d888b WinRT: allowed setting the device rotation preference via SDL_HINT_ORIENTATIONS 2013-02-22 23:23:53 -05:00
Gabriel Jacobo
4c20da2bdc Fixes Bug 1726 - Memory leak in X11_GetDisplayBounds 2013-02-22 10:44:44 -03:00
Ryan C. Gordon
5c01139fce 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
dbf83c45a4 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
4c4c4093c2 WinRT: another device-rotation and rendering fix 2013-02-19 22:07:07 -05:00
Sam Lantinga
509366e2ca Fixed bug 1474 - OpenGL renderer can't to display YV12 texture. 2013-02-19 07:05:15 -08:00
Sam Lantinga
69e2715258 Removed SDL_input.h from various projects 2013-02-19 05:46:51 -08:00
Sam Lantinga
d486363049 The input API was never implemented, so removing it before release. 2013-02-19 05:39:19 -08:00
Sam Lantinga
b5744978af 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ø
da448f5b13 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
03c2ba497f 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
d022d46f53 Fix bug 1723: flipped log text in audio suite - thanks P. Wiesemann 2013-02-18 07:59:05 -08:00
Sam Lantinga
a6d74426e4 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
6b574f11e2 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
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
Sam Lantinga
7679c89837 Updated debian files to be consistent across SDL packages 2013-02-16 11:43:59 -08: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
Sam Lantinga
424cbc96f0 Fixed package name in the control file 2013-02-16 04:43:38 -08:00
Sam Lantinga
4063ad6f83 Switched package name back, at the request of Manuel A. Fernandez Montecelo 2013-02-16 04:40:32 -08:00
Andreas Schiffler
db31344f3b Add tests to Video suite 2013-02-16 23:09:10 -08:00
Sam Lantinga
965e88cf2d Updated macro comment 2013-02-15 15:22:12 -08:00
Sam Lantinga
ef7f4a3c49 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
49b1331830 Added SDL license to Android clipboard implementation 2013-02-16 13:35:28 -08:00
Sam Lantinga
dbe948546f Added license to Android power implementation 2013-02-16 13:33:58 -08:00