|
0562e53f
|
2013-12-26T11:04:35
|
|
WinRT: minor header file usage cleanup in the d3d11 renderer
|
|
94233675
|
2013-12-26T11:03:43
|
|
WinRT: simplified the d3d11 vertex shader a bit
The projection and view matrices are now computed ahead of time, as they both get computed in the same spot, and typically not often. If this does, however, become a performance problem later on, this change can always be reverted.
|
|
7ef05d26
|
2013-12-26T10:18:33
|
|
WinRT: implemented SDL_RenderSetClipRect for the d3d11 renderer
|
|
700f82de
|
2013-12-25T23:46:19
|
|
WinRT: corrected a minor error in an end-of-file comment
|
|
8b2694f9
|
2013-12-25T23:45:07
|
|
WinRT: minor rotation/orientation code cleanup in the d3d11 renderer
|
|
b93ab1e6
|
2013-12-25T23:25:25
|
|
WinRT: removed a bit of dead d3d11 code
|
|
f0e406e9
|
2013-12-25T22:27:58
|
|
WinRT: d3d11 compiled-shader code cleanup
I'm surprised this code even compiled, before this change. It did, but regardless, here's a cleanup.
|
|
4d16628f
|
2013-12-25T22:05:18
|
|
WinRT: made sure d3d11 debug mode doesn't get enabled by default
D3D11 debug mode got inadvertently enabled, in all cases, via changeset c0e68f3. This change reverts that.
|
|
ce805722
|
2013-12-25T21:39:48
|
|
WinRT: compiled the d3d11 renderer's shaders into SDL itself
Previously, the shaders would get compiled separately, the output of which would need to be packaged into the app. This change should make SDL's dll be the only binary needed to include SDL in a WinRT app.
|
|
ca867fc9
|
2013-12-25T14:42:38
|
|
WinRT: prevented a potential race condition in the XInput backend
The race condition could've been triggered on device removal.
|
|
8db33416
|
2013-12-25T14:20:40
|
|
WinRT: added a TODO note regarding texture-[un]locking in the d3d11 renderer
|
|
187f52e8
|
2013-12-25T14:17:49
|
|
WinRT: renamed d3d11-internal struct, SDL_VertexShaderConstants, to just VertexShaderConstants
This is primarily to keep naming consistent with other shader-bound structs.
|
|
22254931
|
2013-12-25T13:13:15
|
|
WinRT: moved contents of the d3d11 renderer's header file into its implementation file
|
|
d4ae3929
|
2013-12-25T13:00:41
|
|
WinRT: simplified a potentially-common error message from D3D11_SetRenderTarget
|
|
b0df9157
|
2013-12-25T12:58:37
|
|
WinRT: removed an unnecessary use of std::string in the d3d11 renderer
|
|
10f2de1e
|
2013-12-25T12:52:16
|
|
WinRT: utilized SDL_SetError's return value in the d3d11 renderer
|
|
43e27aa8
|
2013-12-25T12:48:47
|
|
WinRT: minor d3d11 code cleanups
|
|
8c8feb83
|
2013-12-25T12:47:39
|
|
WinRT: made d3d11-spawned error messages trickle down
Some error messages had the potential to be overwritten/obscured.
|
|
5fba7db2
|
2013-12-25T12:43:26
|
|
WinRT: made d3d11-spawned error messages include the function name of failed calls
|
|
3f1e3c30
|
2013-12-24T21:28:31
|
|
WinRT: moved ill-performing XInput device-detection calls to a separate thread
|
|
27e79b93
|
2013-12-24T21:08:11
|
|
WinRT: bug fix: game-controller/joystick button-down events weren't getting sent
|
|
5e6aba06
|
2013-12-22T21:13:35
|
|
WinRT: better rendering performance via D3D11_USAGE_DYNAMIC
|
|
d92f0127
|
2013-12-21T10:08:11
|
|
WinRT: enabled OpenGL ES 2 support by default
A copy of ANGLE/WinRT is still needed to run OpenGL content, but is not needed to compile SDL/WinRT.
|
|
446a2704
|
2013-12-10T22:34:08
|
|
WinRT: fixed bug: SDL_RenderReadPixels didn't work with certain orientations of the physical display
|
|
67925947
|
2013-11-29T00:21:56
|
|
WinRT: removed a now-complete TODO comment regarding Direct3D 11
|
|
b6f80d85
|
2013-11-29T00:19:46
|
|
WinRT: enable the OpenGL ES 2 SDL_Renderer backend, if and when OpenGL ES 2 support is compiled in
|
|
ecfbb3f5
|
2013-11-28T22:59:21
|
|
WinRT: got the SDL-official OpenGL ES 2 changes working, in an experimental state
|
|
7b5887b2
|
2013-11-28T22:24:13
|
|
WinRT: implemented SDL_DetachThread() for WinRT
|
|
46740a5a
|
2013-11-28T22:09:21
|
|
WinRT: merged with latest SDL 2.x/HG code
SDL 2.x recently accepted patches to enable OpenGL ES 2 support via Google's ANGLE library. The thought is to try to eventually merge SDL/WinRT's OpenGL code with SDL-official's.
|
|
da0c0a4a
|
2013-11-28T21:15:05
|
|
WinRT: fixed bug: touch input coordinates weren't normalized [0..1]
Thanks to Pierre-Yves for pointing this out and providing a fix!
|
|
9fa4da13
|
2013-11-28T02:31:32
|
|
Fixed windows build with conflict resolve
|
|
dee48135
|
2013-11-27T10:29:43
|
|
Added alternative XBox 360 controller GUID on Linux
Leszek Godlewski
As described in the other thread
(http://lists.libsdl.org/pipermail/sdl-libsdl.org/2013-November/091997.html),
I've run into a case of SDL2 not recognizing a wireless Xbox 360
controller receiver properly on Debian Linux amd64 testing.
Apparently, the generated GUID is slightly different.
Device in question:
Bus 001 Device 015: ID 045e:0291 Microsoft Corp. Xbox 360 Wireless
Receiver for Windows
|
|
d2511d9e
|
2013-11-27T10:29:38
|
|
Fixed bug 2260 - SDL_SetCursorGrab() is buggy on Windows
BurnSpamAddress
Steps to reproduce:
1. Grab the cursor with SDL_SetCursorGrab()
2. Alt-tab away from the window
3. Click on the titlebar of the window
This will cause the window to disappear underneath the taskbar!
This appears to be a general issue with ClipCursor() on windows, i.e. I am getting the same behavior if I call ClipCursor() directly.
It is caused by a feedback loop between the ClipCursor function and the modal resize/move event loop that handles mouse-based sizing on Windows.
|
|
fa4e4a64
|
2013-11-27T10:29:32
|
|
Fixed large relative mouse motion when iconifying the SDL window.
Windows will move the window to -32000,-32000 when it is iconified, so we don't want to send mouse motion for iconic windows.
|
|
2bb344d6
|
2013-11-27T10:29:27
|
|
Don't crash when no WM is present.
CR: Sam Lantinga.
|
|
8574c081
|
2013-11-27T00:29:46
|
|
Fixed bug 2274 - SDL_ceil is incorrectly implemented when HAVE_LIBC is not defined
Ghassan Al-Mashareqa
The SDL_ceil function is implemented incorrectly when HAVE_CEIL is not defined (HAVE_LIBC not defined).
The following code:
double val = SDL_ceil(2.3);
printf("%g", val);
prints "2.0", as STD_ceil is defined as:
double
SDL_ceil(double x)
{
#ifdef HAVE_CEIL
return ceil(x);
#else
return (double)(int)((x)+0.5);
#endif /* HAVE_CEIL */
}
This functions is used in the SDL_BuildAudioResampleCVT function of the audio subsystem (SDL_audiocvt.c), and causes a bug in that function.
|
|
c343eab6
|
2013-11-26T11:50:54
|
|
Fixes #2271, Add KD detection under CMake by Scott Percival
|
|
96fe749f
|
2013-11-26T11:47:52
|
|
Fixes #2272, typo in CMakeLists.txt (thanks Boris Bendovsky!)
|
|
1ad0d248
|
2013-11-25T12:28:09
|
|
[Android] Fixes #2228, reworked touch code
Lets Android take care of which is the primary pointer (the one acting as the
mouse in SDL), reorganized the Java side code as well to make it easier to
understand.
|
|
c9331664
|
2013-11-23T23:38:16
|
|
Fixed bug 2258 - Crash when using Android clipboard
chw
The Android clipboard manager methods must be called from the UI thread,
otherwise crashes of the dalvikvm happen.
|
|
e9af6dcd
|
2013-11-23T15:52:49
|
|
Fixed a few public APIs that we accidentally neglected to mark as SDLCALL.
Fixes Bugzilla #2262.
|
|
5aa702fe
|
2013-11-23T18:37:36
|
|
Removed second return statement.
|
|
01acbd38
|
2013-11-23T18:34:27
|
|
Fixed spaces in license comment.
|
|
2aa4974b
|
2013-11-23T18:29:36
|
|
Removed include of no more needed header.
|
|
7a18a674
|
2013-11-23T09:47:25
|
|
[Android] Fixes #2264, handle joystick open/closed state properly
|
|
a3bb007e
|
2013-11-23T02:02:29
|
|
Fixed double-free of the window shape path
|
|
4abeed93
|
2013-11-22T14:19:52
|
|
Fixes compilation on Mingw.
|
|
61959aa6
|
2013-11-22T13:24:53
|
|
OpenGL ES support for Windows
|
|
45dbff2e
|
2013-11-22T10:26:28
|
|
[Android] Fixes #2247, enable hardware acceleration by default.
Setting android:hardwareAccelerated="true" seems to fix some random behaviors
in certain devices like the XperiaE.
Ref: http://developer.android.com/guide/topics/graphics/hardware-accel.html
|
|
a2187171
|
2013-11-20T21:17:26
|
|
Query version for X11 XInput2 multitouch separately from base XInput2.
|
|
9095952a
|
2013-11-20T12:51:18
|
|
Clean up X11 OpenGL ES backend
If you really need to switch between OpenGL and GLES context types, just issue
a SDL_GL_UnloadLibrary manually.
|
|
2f301404
|
2013-11-19T15:25:00
|
|
Fixed SONAME lookup for runtime loading of shared libraries in CMake project.
Fixes Bugzilla #2249.
|
|
825a6898
|
2013-11-19T15:00:39
|
|
-fvisibility=hidden is no longer a requirement for dynamic X11.
We don't clash with Xlib symbols anymore.
|
|
131a0725
|
2013-11-19T11:04:05
|
|
Find the best EGL config available between those returned by eglChooseConfig
This existed in the old Android Java code, it got lost in the migration to the
commong EGL code.
|
|
47139fb3
|
2013-11-19T10:56:38
|
|
Adds testgles2
Source code copied from: https://github.com/fantasydr/sdl-2.0-gles (thanks!)
Minor fixes, configure script changes done by me.
|
|
fdfea4ad
|
2013-11-19T10:00:05
|
|
[Android] Try to improve handling of DPAD|GAMEPAD + KEYBOARD devices
It seems some devices report themselves as DPAD or GAMEPAD and KEYBOARD as well,
and we need to route different keycodes to different parts of SDL.
|
|
48954ba1
|
2013-11-18T20:22:36
|
|
Accidentally committed debug code
|
|
d75498f6
|
2013-11-18T20:21:45
|
|
Textures need to be freed before renderers
|
|
48cffe33
|
2013-11-18T23:45:46
|
|
Added missing resource release in test source.
|
|
3cba7997
|
2013-11-18T23:43:15
|
|
Fixed unreachable return statement warning in gamecontroller source.
|
|
b5c68111
|
2013-11-18T23:38:59
|
|
Fixed implicit function declaration warning in joystick source for Android.
|
|
2f6198ed
|
2013-11-17T11:07:55
|
|
Fixes building for RPi using --no-undefined
|
|
ec080ff8
|
2013-11-17T10:41:16
|
|
Restore evdev sources to configure script
|
|
9dd923fb
|
2013-11-16T21:19:16
|
|
When the mouse is grabbed it's constrained to the client area, not the window frame.
|
|
e4146267
|
2013-11-16T18:56:02
|
|
Fixed bug 2245 - add SDL_acos and SDL_asin
Sylvain
Here's some code to add arc cosine, and arc sin functions to SDL_stdlib.c
There are plainly written using SDL_atan.
|
|
923709a6
|
2013-11-16T21:52:56
|
|
Turn off --no-undefined on OpenBSD again. Leave it on everywhere else for now.
|
|
5a68214b
|
2013-11-16T12:11:19
|
|
Fixed bug 2232 - Version Mismatch in VS2013 Solution File
Joe LeVeque
Line 3 of SDL_VS2013.sln file reads "# Visual Studio 2012" instead of "# Visual Studio 2013" which causes Windows to associate the file with Visual Studio 2012, if installed, instead of Visual Studio 2013.
|
|
8acec42a
|
2013-11-16T12:04:00
|
|
Fixed up configure so it doesn't reference input/evdev anymore
|
|
4e1ee557
|
2013-11-16T12:02:09
|
|
Fixed bug 2231 - Move src/input/evdev into src/core/linux
Ryan C. Gordon
To keep the directory layout sane, we should probably move this one piece of source to the linux catch-all directory, instead of making it look like this is part of an SDL "input" subsystem.
|
|
744cd465
|
2013-11-16T11:58:21
|
|
Fixed bug 2238 - Enable GCC atomics for clang
Marcus von Appen
clang provides support for optimized atomics.
The attached patch enables the cmake build system to take clang into account on checking for atomics.
|
|
3b52058f
|
2013-11-16T11:54:16
|
|
Fixed bug 2241 - SSE intrinsic in fillrect MMX path
norfanin
The MMX path in SDL_fillrect.c uses the SSE intrinsic _mm_stream_pi. The function or symbol provided by the compiler will not be present because the SSE header may not get included. The linker will complain about an undefined reference.
Since this is the only intrinsic used here (and someone forgot to create one for MOVQ), I think the MMX path can be removed completely. At least I don't see another way to move 64-bits from an MMX register to memory.
|
|
517747d5
|
2013-11-16T10:27:46
|
|
Added information on reporting bugs to the README.txt file
|
|
104ceb86
|
2013-11-16T10:25:46
|
|
Fixed compile warning, thanks to Michael Pohoreski
|
|
8093cfd8
|
2013-11-15T22:07:35
|
|
Better fix for bug 2207 - SDL_RenderSetViewport behavior is different/incorrect on OpenGL renderer vs DirectX renderer
At least, it works better here on my Mac. :)
|
|
44959a21
|
2013-11-15T22:05:26
|
|
Added viewport test, contributed by Andreas Schiffler and improved by me and Ryan Gordon.
If it works correctly you should see a square moving from the upper left to the lower right, with a little yellow box at the top of the moving square.
You can pass --target as a command line option to have it use a render target instead of rendering directly to the screen. The output should be identical in this case.
|
|
30f7e868
|
2013-11-15T22:01:58
|
|
Added space in the common state structure for render targets
|
|
4f39f011
|
2013-11-15T23:20:50
|
|
Fix viewport being upside down in OpenGL renderer.
Fixes Bugzilla #2207.
|
|
4295a92f
|
2013-11-14T22:26:49
|
|
Fixed bug 2240 - On OS/X after calling SDL_SetWindowBordered right mouse clicks no longer register
philhassey
On OS/X after calling SDL_SetWindowBordered right mouse clicks no longer register.
Steps to Reproduce:
1. Open a windowed window on OS/X. (With the border on.)
2. e.button.button will give values 1,2,3 depending on which mouse button I click.
3. Call SDL_SetWindowBordered to disable the border.
4. e.button.button will only give values 1,2. 3 (right mouse button) stops coming through.
Expected result:
I expect all mouse buttons to register.
|
|
ef97aab9
|
2013-11-14T21:39:54
|
|
Backed out changeset 6c59f7c8ec17 - it didn't actually do anything useful
|
|
b2f8b351
|
2013-11-14T20:24:40
|
|
Fixed comment typo.
|
|
346ebbb4
|
2013-11-14T20:24:15
|
|
Turning --no-undefined back on, to see what platforms are still broken.
|
|
35915d4f
|
2013-11-14T20:14:02
|
|
Clean up the EGL related video backends (X11, Android, RPi)
|
|
a4a7c78c
|
2013-11-14T14:45:00
|
|
Apparently Haiku is removing /boot/common (thanks, scottmc!).
See http://lists.libsdl.org/pipermail/sdl-libsdl.org/2013-November/091877.html
|
|
e899f0c4
|
2013-11-14T14:42:20
|
|
Haiku: fixed uninitialized variable.
|
|
f9f064d5
|
2013-11-14T22:35:28
|
|
merged with repo
|
|
00003e8c
|
2013-11-14T11:51:24
|
|
Renamed things named after BeOS to be named after Haiku instead.
|
|
1c138785
|
2013-11-14T22:19:07
|
|
Fixed visualtest build on VS2012
SDL2, SDL2main and SDL2test had to be added as dependencies to the testquit project to get it to build properly.
|
|
85dd689f
|
2013-11-14T10:19:07
|
|
Adds joystick/udev troubleshooting information to README-linux.txt
|
|
dd325b97
|
2013-11-14T01:00:08
|
|
Patched to compile on Haiku.
|
|
8d6e03f3
|
2013-11-14T00:52:39
|
|
Added SDL_DetachThread() API.
|
|
b36d98bd
|
2013-11-13T21:50:59
|
|
Diagonal flipping with RenderCopyEx
Ivan Rubinson
As it turns out, it was impossible to render a texture flipped diagonally (both vertically and horizontally) with one RenderCopyEx call.
With help from #SDL @ freenode, we came up with a fix.
|
|
7550ddcc
|
2013-11-13T22:35:26
|
|
Started BeOS removal: merged BeOS thread and pthread code.
Haiku uses most of the standard pthread API, with a few #ifdefs where we
still need to fallback onto the old BeOS APIs.
BeOS, however, does not support pthreads (or maybe doesn't support it well),
so I'm unplugging support for the platform with this changeset. Be Inc went
out of business in 2001.
|
|
5b8b403e
|
2013-11-13T11:18:37
|
|
[Windows] Fixes bug #1555, handle ALT+F4 on Windows
|
|
f8e1d350
|
2013-11-13T09:41:21
|
|
Updated androidbuild.sh to enable parallel builds and ndk-build parameters
|
|
ad4ba2d5
|
2013-11-12T11:31:13
|
|
Added a few notes from Ryan's email to README-linux.txt
|
|
bcece01c
|
2013-11-12T11:28:42
|
|
Linux README explaining build vs runtime, and build deps for Ubuntu 13.04
Build dependencies list for Ubuntu 13.04 provided by Ryan.
|
|
397f5a85
|
2013-11-12T02:18:52
|
|
Retain the high dpi flag when recreating the window (e.g when creating a renderer context)
|
|
12961352
|
2013-11-12T02:04:12
|
|
Fixed build error with SDK < 10.7
|
|
253b9ba8
|
2013-11-12T02:02:12
|
|
We still want to generally minimize on focus loss, but not when we're in a fullscreen space on Mac OS X.
|
|
75145ea0
|
2013-11-12T01:52:54
|
|
Added a hint SDL_HINT_VIDEO_FULLSCREEN_SPACES to specify that windows go fullscreen into their own spaces on Mac OS X.
|