This website requires JavaScript.
71e06a536a
cmake: fix Metal detection
Eric Wasylishen
2021-11-26 18:27:34 -07:00
8ceba27d62
video: Prefer Wayland over X11
Ethan Lee
2021-04-17 12:07:38 -04:00
68a71f91c6
wayland: Try to avoid committing before the window is shown
Ethan Lee
2022-01-25 11:18:04 -05:00
84320266f2
Fixed the queue filling up with sentinel events when the WaitEvent call is passed NULL for the event
Sam Lantinga
2022-01-25 12:37:43 -08:00
f0e768da43
wayland: Call SetFullscreen directly in ShowWindow.
Ethan Lee
2022-01-25 13:07:00 -05:00
8c660ccb6f
Fixed bug #5256 : X11 Segmentation fault with multiple windows and renderers First window is created and it triggers and 'EnterNotify' event which calls SDL_SetMouseFocus() and X11_ShowCursor() while the second windows hasn't finished to be created (eg window->driverdata isn't set) Just check for a valid 'driverdata'
Sylvain
2022-01-25 17:14:01 +01:00
e2d74bcbe5
wayland: Detach hidden surfaces in HideWindow, not ShowWindow
Ethan Lee
2022-01-25 11:16:09 -05:00
ca22b30e46
testgles2: Use vertex buffer objects instead of client-side arrays.
Ryan C. Gordon
2022-01-24 22:32:58 -05:00
57bc90403e
Add hint to optionally forcibly raise the window under MS Windows.
ulatekh
2022-01-07 08:54:08 -07:00
d7873e656b
Disable tablet flicks under MS Windows.
ulatekh
2022-01-04 15:47:29 -07:00
15ebad6e7d
emscripten: Implement SDL_OpenURL
Charlie Birks
2022-01-22 13:31:11 +00:00
99af3281ee
timer: Fix Emscripten declaration-after-statement error
Charlie Birks
2022-01-22 12:27:43 +00:00
53df0e6619
Fix the erroneous generation of mouse-down events from touch-move events.
ulatekh
2022-01-21 17:15:18 -07:00
8f8b14cbb6
Synthesize a missing touch-up event.
ulatekh
2022-01-21 17:10:09 -07:00
d2456b6e4c
os2, geniconv: default functions pointers to Uni*() API,
Ozkan Sezer
2022-01-21 11:50:40 +03:00
67cb548bef
Fixed build error with C90 compilers
Sam Lantinga
2022-01-20 19:31:54 -08:00
a23b3c767f
Add support for correlating trigger input
Carl Glave
2022-01-20 17:21:28 -08:00
e1b4761c62
wayland: Avoid calling SetFullscreen in libdecor ShowWindow.
Ethan Lee
2022-01-20 14:10:56 -05:00
ed3442d7a5
wayland: Fix building with SDL_OPENGL=OFF
Ethan Lee
2022-01-19 15:47:52 -05:00
426c1f4b85
opengles2: fix comment about client-side arrays.
Ryan C. Gordon
2022-01-19 14:27:58 -05:00
b3984df1c6
audio: pipewire: Use client config files instead of module names
Frank Praznik
2022-01-19 13:14:54 -05:00
381520ad92
updates for watcom optimization flags
Ozkan Sezer
2022-01-18 14:32:24 +03:00
a0e3c884d4
Updated to version 2.0.21 for development
Sam Lantinga
2022-01-17 15:32:27 -08:00
1bfefb5b4d
regenerated configure script.
Ozkan Sezer
2022-01-17 20:56:50 +03:00
a575e2cf5e
Enable alloca on mingw/cygwin builds:
Ozkan Sezer
2022-01-17 20:56:24 +03:00
33dadbf137
'dnl' whitespace tidy-up in configure.ac
Ozkan Sezer
2022-01-17 20:56:20 +03:00
d3952a8a2c
wayland: Avoid spurious resize events
Cameron Gutman
2022-01-16 15:14:33 -06:00
b06866ef97
Entirely remove Xbox axis filtering, we don't want this at all.
Sam Lantinga
2022-01-16 09:44:28 -08:00
09aed1020b
Don't send output reports to the Victrix Pro FS v2
Sam Lantinga
2022-01-16 09:23:58 -08:00
85961b61a1
Disable Xbox axis deadzone handling by default
Sam Lantinga
2022-01-16 09:01:56 -08:00
2a0cde8fd5
Always send SDL_WINDOWEVENT_SIZE_CHANGED when window is resized
Mathieu Eyraud
2022-01-16 09:40:51 +01:00
1a50334c46
Fixed Xbox One trigger axis zero point
Sam Lantinga
2022-01-14 15:04:26 -08:00
e9511f7136
hidapi, libusb: don't use iconv on OS/2, it lacks wchar_t functionality.
Ozkan Sezer
2022-01-14 14:39:04 +03:00
9a2bbd8acb
wayland: Convert URI to local path for DropFile
Ethan Lee
2022-01-12 13:01:05 -05:00
0abc0a6f32
SDL_string.c: tidy-up gcc2 va_copy defines after previous haiku commit.
Ozkan Sezer
2022-01-12 20:37:32 +03:00
d37c9777b9
haiku: updated for Haiku
kenmays
2022-01-12 06:48:00 -08:00
bff867013e
haiku: updated for Haiku
kenmays
2022-01-12 06:47:02 -08:00
094e94402d
haiku: Remove BDirectWindow, fix OpenGL handling.
kenmays
2022-01-12 06:42:17 -08:00
407d4e470a
cmake: simplify after the previous os/2 commit.
Ozkan Sezer
2022-01-12 20:32:00 +03:00
f199f832e9
cmake: added target_properties for os/2.
Ozkan Sezer
2022-01-12 20:22:28 +03:00
5b6e2d69a5
SDL_os2messagebox.c (_makeDlg): remove unnecessary casts
Ozkan Sezer
2022-01-12 11:01:02 +03:00
ae9e2149a5
os2-buildbot.sh: Use the 64-bit Watcom binaries.
Ryan C. Gordon
2022-01-11 21:32:07 -05:00
42302d0a59
x11: Let apps specify a custom _NET_WM_WINDOW_TYPE.
Ryan C. Gordon
2022-01-11 21:17:21 -05:00
f9b918ff40
opengles2: Use client-side arrays on everything but Emscripten.
Ryan C. Gordon
2022-01-11 16:15:45 -05:00
bb9ebad74b
Optionally disable generation of SDL2main and uninstall projects.
ulatekh
2022-01-11 09:34:14 -07:00
fcf0e524bb
cmake: Remove libunwind-generic as hard dependency
Khem Raj
2022-01-07 11:17:47 -08:00
73434a964c
Removed debian directory
Sam Lantinga
2022-01-11 10:37:59 -08:00
c3a7cc34fb
cmake: sdlchecks.cmake: pass cflags to the appropriate cmake variable
Max Krummenacher
2022-01-10 21:52:02 +00:00
ea0bca573d
SDL_cocoamodes.m: fix build against older SDKs.
Ozkan Sezer
2022-01-11 14:56:56 +03:00
7527c8d3d7
hidapi, libusb: provide a wcsdup implementation if it is not available.
Ozkan Sezer
2022-01-11 11:33:02 +03:00
c6c4d4211b
pthread: disable SetThreadPriority for OS/2 too
Ozkan Sezer
2022-01-11 11:33:02 +03:00
b265677610
cmake: initial attempt at adding os/2 support.
Ozkan Sezer
2022-01-11 11:33:02 +03:00
b424665e08
Sync wiki -> header
SDL Wiki Bot
2022-01-10 20:40:05 +00:00
5e3f4ccc34
Sync wiki -> header
SDL Wiki Bot
2022-01-10 20:35:04 +00:00
d8129c5698
Mark internal function as static
Sam Lantinga
2022-01-10 10:50:59 -08:00
3e1b3bc344
wayland: Horizontal wheel values do not need to be inverted
Ethan Lee
2022-01-10 10:07:44 -05:00
a29d3acc9e
Updated Bresenham line drawing to match software renderer output
Sam Lantinga
2022-01-09 11:11:34 -08:00
b9d98331c5
os2joystick: fix uninitialized use of local var 'maxdevs'
Ozkan Sezer
2022-01-09 20:33:32 +03:00
17da60068d
os2joystick: fix -Wsequence-point issues.
Ozkan Sezer
2022-01-09 20:33:32 +03:00
f14c7bb443
added missing hidapi stuff for os/2 with libusb
Ozkan Sezer
2022-01-09 20:33:32 +03:00
1f32dd8edc
Fixed overdraw with duplicate points, fixed not drawing single point lines
Sam Lantinga
2022-01-09 06:36:18 -08:00
5d07c03613
psp: Force channels to stereo if user requested anything other than mono.
Ryan C. Gordon
2022-01-09 08:13:34 -05:00
c275436f56
opengles2: Batching lines/points used wrong var for summing vertex counts.
Ryan C. Gordon
2022-01-09 00:39:02 -05:00
9e6249fa54
wayland: Avoid spurious key repeats when not pumping events
Joan Bruguera
2022-01-08 19:24:47 +01:00
461724d287
wayland: Refactor time fields in SDL_WaylandKeyboardRepeat
Joan Bruguera
2022-01-08 19:09:35 +01:00
fb0c3040c0
wayland: Avoid infinite loop in keyboard_repeat_handle
Joan Bruguera
2022-01-08 21:10:14 +01:00
3b083b9911
Fixed compile warning
Sam Lantinga
2022-01-08 14:07:42 -08:00
b82af9dfbf
Improved OpenGL point drawing performance (thanks @slime73!)
Sam Lantinga
2022-01-08 14:05:50 -08:00
1a73c45a08
Fixed incorrect color in the OpenGL driver
Sam Lantinga
2022-01-08 13:34:49 -08:00
3cdda8f8ab
PSP: use 'data' variable which is alread the driver data
Sylvain
2022-01-08 21:58:26 +01:00
9f1e609aa0
Document SDL_HINT_RENDER_LINE_METHOD in the release notes
Sam Lantinga
2022-01-08 12:42:36 -08:00
4ef2529bf9
More efficient calculation of render_count
Sam Lantinga
2022-01-08 12:37:57 -08:00
5346c93b62
Fixed assertion on number of points rendered
Sam Lantinga
2022-01-08 12:28:43 -08:00
4b71962031
Prevent overdraw with connected line segments
Sam Lantinga
2022-01-08 12:02:08 -08:00
63d10a0ac2
updates to config.guess and config.sub from mainstream.
Ozkan Sezer
2022-01-08 23:00:32 +03:00
09ece861d1
Added the hint SDL_HINT_RENDER_LINE_METHOD to select the line rendering method
Sam Lantinga
2022-01-08 11:36:29 -08:00
836a4ec7b1
updates to os/2 build
Ozkan Sezer
2022-01-08 22:35:02 +03:00
c1e6079836
As an optimization, draw horizontal and vertical lines using rectangles
Sam Lantinga
2022-01-08 11:09:11 -08:00
3da7c6305a
Assert that we have drawn the expected number of points
Sam Lantinga
2022-01-08 11:07:03 -08:00
9f56faeedc
Added line drawing using Bresenham's line algorithm (thanks @rtrussell!)
Sam Lantinga
2022-01-08 10:59:31 -08:00
fe3a33a092
Use RenderGeometry for drawing lines at all scales
Sam Lantinga
2022-01-08 10:10:18 -08:00
0696fc0134
cmake: Split SDL2-static and SDL2main into their own target exports
Neal Gompa
2022-01-07 14:30:26 -05:00
1694782b2a
Remove redundant work when render scale is 1.0
Sam Lantinga
2022-01-08 09:32:23 -08:00
2026a78dc2
Don't flush in RenderDraw*WithRects()
Sam Lantinga
2022-01-08 09:23:58 -08:00
18e4d9fed1
Re-enable line drawing path in render drivers
Sam Lantinga
2022-01-08 09:02:25 -08:00
dca281e810
Fixed getting different results for SDL_PollEvent(NULL) and SDL_PollEvent(&event)
Sam Lantinga
2022-01-08 08:49:34 -08:00
93cab32db3
minor update to test/Makefile.os2
Ozkan Sezer
2022-01-08 14:40:20 +03:00
4472b83129
PSP_RunCommandQueue: fix argument to PSP_SetBlendState()
Ozkan Sezer
2022-01-08 11:56:56 +03:00
df1474b46e
psp/SDL_sysfilesystem.c: fixed a minor compiler warning.
Ozkan Sezer
2022-01-08 11:55:10 +03:00
21914b4e2f
updated Makefile.psp and SDL_config_psp.h
Ozkan Sezer
2022-01-08 11:55:10 +03:00
f62b807174
wikiheaders.pl: Put the manpages in man/man3
Ryan C. Gordon
2022-01-07 21:31:38 -05:00
9294634840
Updated to version 2.0.20 for release
Sam Lantinga
2022-01-07 18:28:25 -08:00
cc2013378d
render: Fixed some compiler warnings.
Ryan C. Gordon
2022-01-07 20:20:57 -05:00
289c3fbb64
Revert "We only need to add the sentinel at the top of SDL_WaitEventTimeout()"
Sam Lantinga
2022-01-07 17:07:22 -08:00
1085c317a5
Use the requested cursor size instead of the default cursor size
Sam Lantinga
2022-01-07 16:43:53 -08:00
6d3b5d66cd
psp: draw lines with RenderGeometry, same as with the other renderers.
Ryan C. Gordon
2022-01-07 18:18:53 -05:00
9cb2c549fa
Remove QueueDrawLines from D3D, D3D11
Sylvain
2022-01-07 22:43:30 +01:00
b88b6b3c23
Remove QueueDrawLines from METAL
Sylvain
2022-01-07 22:43:12 +01:00
9aac55317d
Remove QueueDrawLines from GL, GLES, GLES2
Sylvain
2022-01-07 22:42:52 +01:00
8ea8b2e697
Use QueueDrawLine if provided, otherwise use RenderGeometry
Sylvain
2022-01-07 22:42:13 +01:00