2a412eb94c
Fixed bug 3186 - Android SW keyboard not restored when app becomes foreground.
Sylvain Becker
2018-12-30 15:39:37 +01:00
d09774a47c
Fixed bug 3511 - documentation to end an Android application
Sylvain Becker
2018-12-30 14:23:25 +01:00
9cdd0dd996
PSP renderer: use colors from 'draw' union (very likely, but un-tested)
Sylvain Becker
2018-12-29 17:59:34 +01:00
ebd9efb361
opengles 1: same fix as in bug #4433
Sylvain Becker
2018-12-29 16:37:44 +01:00
87b7636918
opengles 1: use color from 'draw' union in SetDrawState()
Sylvain Becker
2018-12-29 16:34:50 +01:00
dc3443602b
render: Fix internal state getting out of sync when destroying a texture that was just rendered and then creating a new one, in the GL and GLES2 backends. Fixes bug #4433.
Alex Szpakowski
2018-12-21 20:53:31 -04:00
0a70590118
render: Prefer the Metal renderer over OpenGL.
Ryan C. Gordon
2018-12-19 18:10:02 -05:00
c7db6ade7d
metal: Implement SDL_LockTexture for YUV formats.
Alex Szpakowski
2018-12-19 18:27:21 -04:00
ce8c716ada
metal: Implement SDL_LockTexture for non-YUV textures.
Alex Szpakowski
2018-12-18 14:23:05 -04:00
c0c8f2d703
Gesture: remove warnings when ENABLE_DOLLAR is undefined.
Sylvain Becker
2018-12-16 11:15:21 +01:00
c3e3503ee8
testgl2: Press 'o' or 'p' to decrease/increase OpenGL swap interval.
Ryan C. Gordon
2018-12-16 01:04:07 -05:00
13869f194c
cocoa: Implement OpenGL swap interval support with CVDisplayLink.
Ryan C. Gordon
2018-12-16 01:03:17 -05:00
1829692753
emscripten: SDL_PrivateJoystickAdded() wants an instance id, not device index.
Ryan C. Gordon
2018-12-15 09:57:05 -05:00
e5476c653d
Fixed bug 4425 - promote to alpha format, palette surface with alpha values.
Sylvain Becker
2018-12-15 14:50:12 +01:00
bd08d72dec
Fixed building with the 10.10 SDK
Sam Lantinga
2018-12-11 20:04:10 -08:00
98829d37e8
Handle both "Sony Interactive Intertainment" and "Sony Computer Entertainment" when ignoring motion sensors
Sam Lantinga
2018-12-11 19:50:58 -08:00
71b6645177
Rename _SDL_sensor_h in public header, not to trigger Wreserved-id-macro
Sylvain Becker
2018-12-10 13:32:24 +01:00
0b6e24f7e7
Linux Haptic: Fix periodic.magnitude value
Ethan Lee
2018-12-06 14:26:18 -05:00
39e8e3951c
Fixed bug 4379 - fix parallel build with slibtool
Sam Lantinga
2018-12-08 11:22:50 -08:00
1c9595b16f
Fixed bug 4415 - SDL menu bar is nonstandard on Mac
Sam Lantinga
2018-12-08 11:06:40 -08:00
70ce0f2e06
Added the hint SDL_HINT_GAMECONTROLLERCONFIG_FILE to specify a file to load at initialization containing SDL game controller mappings
Sam Lantinga
2018-12-07 12:02:08 -08:00
898644d18e
Made it more clear that the values being compared are floats
Sam Lantinga
2018-12-06 09:09:05 -08:00
f9192ab8fc
wayland: Do not try to lock on an invalid pointer
Brandon Schaefer
2018-12-06 10:39:33 -05:00
3323b355c9
android: use cpufeatures to support SDL_HasNEON() (thanks, Sylvain!).
Ryan C. Gordon
2018-12-01 12:19:11 -05:00
1e4acca851
Added some detail to a Doxygen comment (thanks, Sylvain!).
Ryan C. Gordon
2018-12-01 12:17:34 -05:00
fac40f8e4c
Patched to compile on Linux with threads enabled. (whoops!)
Ryan C. Gordon
2018-12-01 11:14:20 -05:00
c4bc59a50e
Patched to compile on Linux with --disable-threads.
Ryan C. Gordon
2018-12-01 10:36:26 -05:00
f205f3a8c2
Added support for the Razer Raiju Mobile
Sam Lantinga
2018-11-27 15:10:26 -08:00
a95291c9c8
Fixed the hotspot for cursors on Raspberry Pi
Sam Lantinga
2018-11-27 11:16:04 -08:00
aea483577a
Fixed bug changing cursors on Raspberry Pi
Sam Lantinga
2018-11-27 10:20:29 -08:00
3f0d520a49
SDL_touch.h (SDL_TouchDeviceType): remove comma at end of enumerator list.
Ozkan Sezer
2018-11-26 19:55:01 +03:00
37b1f989ce
metal: use a staging texture in SDL_UpdateTexture, to make sure it doesn't stomp texture data being drawn in a previous frame on the GPU.
Alex Szpakowski
2018-11-25 22:13:09 -04:00
7b306bf34d
Added atomics support for armv8-a (Raspberry Pi 3)
Sam Lantinga
2018-11-23 21:29:42 -08:00
bd0ae0a5dd
Do a second pass to find libraries without a single version digit after the .so This finds libsndio.so.6.1 on Raspberry Pi
Sam Lantinga
2018-11-23 21:11:11 -08:00
872936a485
metal: Fix an incorrect division.
Alex Szpakowski
2018-11-21 23:46:37 -04:00
4a58722b9f
metal: SDL_RenderFillRects uses one draw call per 16k rectangles (within the given FillRects call), instead of one draw call per rectangle. Reduces CPU usage when drawing many rectangles.
Alex Szpakowski
2018-11-21 23:37:23 -04:00
5f98051457
wayland: ask xdg-decoration protocol extension to use server-side decorations if possible.
Sebastian Krzyszkowiak
2018-11-04 21:08:40 +01:00
14e389eadc
minor update to Makefile.os2, added a test/Makefile.os2.
Ozkan Sezer
2018-11-20 10:55:00 +03:00
5c5ba0e331
Fixed bug 4394 - Crash in SDL_PumpEvents() after SDL_DestroyWindow()
Sam Lantinga
2018-11-19 21:35:59 -08:00
ac15de18bd
Fixed bug 4392 - SDL_cpuinfo.h breaks compilation with C bool type
Sam Lantinga
2018-11-19 21:28:52 -08:00
b73703b9c6
Fixed bug 4391 - hid_enumerate() sometimes causes game to freeze for a few seconds
Sam Lantinga
2018-11-19 21:17:00 -08:00
d3fa42b8c4
os/2 bits for SDL_malloc.c -- from libffi
Ozkan Sezer
2018-11-18 19:28:20 +03:00
1a02403ea7
libm: Watcom defines huge=__huge: undefine it to fix build using Watcom.
Ozkan Sezer
2018-11-18 11:50:20 +03:00
ed8413c937
Makefile.os2: build libm as a static lib and add it to linkage.
Ozkan Sezer
2018-11-18 11:50:02 +03:00
457e58c40b
opengles: Fixed compiler warnings.
Ryan C. Gordon
2018-11-17 16:24:52 -05:00
9719f89db2
Back out change initializing renderer blend mode incorrectly.
Sam Lantinga
2018-11-17 12:12:29 -08:00
fde7592ada
direct3d11: Fixed missing rendering of solid primitives.
Ryan C. Gordon
2018-11-17 14:39:42 -05:00
782f1685ff
Fixed a few compiler warnings.
Ryan C. Gordon
2018-11-17 14:37:51 -05:00
29e15ce62d
The default draw blendmode is SDL_BLENDMODE_NONE
Sam Lantinga
2018-11-17 00:58:45 -08:00
9262c0de9b
software: fix blits with color mods that change during a command queue run.
Ryan C. Gordon
2018-11-14 22:38:58 -05:00
2e348c1f59
Fixed bug 3193 - Dualshock 3's motion sensors overwrite analog stick
Sam Lantinga
2018-11-14 13:37:22 -08:00
1a4c0d4e17
Fixed bug 4377 - SDL_PIXELFORMAT enum is anonymous, which prevents its use in a templated function
Sam Lantinga
2018-11-12 19:23:49 -08:00
b815ad56fc
Fixed bug 4366 - Compile throws a warning on RPI (Raspbian Stretch)
Sam Lantinga
2018-11-12 16:42:49 -08:00
5e1531944c
Fixed bug 4367 - compatibility version decreased between 2.0.8 and 2.0.9
Sam Lantinga
2018-11-12 16:34:58 -08:00
c525ff354d
cocoa: fix building with the macOS 10.7 SDK (thanks Riccardo!)
Alex Szpakowski
2018-11-10 20:56:23 -04:00
5029d50ea8
Add SDL_TouchDeviceType enum and SDL_GetTouchDeviceType(SDL_TouchID id).
Alex Szpakowski
2018-11-10 16:15:48 -04:00
2196e5765c
Used confflags +=, so each option can be enabled individually, if desired
Sam Lantinga
2018-11-07 07:52:39 -08:00
44c5d803ba
The Debian maintainers aren't using these rules, so enable dynamic loading of shared libraries by default for the Steam Linux Runtime
Sam Lantinga
2018-11-07 07:38:11 -08:00
48917e0e70
wayland: fix resizing and fullscreen toggling For starters, we need to correctly respond to 0,0 configure after unsetting fullscreen. Also, turns out that there should be no drawing calls at all in between eglSwapBuffers and wl_egl_window_resize, as otherwise EGL can already allocate a wrongly sized buffer for a next frame, so handle those together.
Sebastian Krzyszkowiak
2018-11-07 01:08:35 +01:00
ed694ec61f
close_code.h: #error if included without matching begin_code.h
Ozkan Sezer
2018-11-06 23:45:50 +03:00
a60751b7a7
fix bug #4362 - SDL_syswm.h with SDL_PROTOTYPES_ONLY broken in C++ mode
Ozkan Sezer
2018-11-06 20:50:24 +03:00
1dbf7dc2f8
os2: Do a distclean instead of removing files manually in buildbot script.
Ryan C. Gordon
2018-11-04 21:11:07 -05:00
e45ed114c5
os2: Added a script for the buildbot.
Ryan C. Gordon
2018-11-04 20:47:17 -05:00