Anonymous Maarten
2095aefbb6
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_VITA
2023-03-28 19:29:43 +02:00
Anonymous Maarten
b8ecb78f2b
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_PSP
2023-03-28 19:29:43 +02:00
Anonymous Maarten
eed272c976
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_PS2
2023-03-28 19:29:43 +02:00
Anonymous Maarten
8bfaa70582
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_HAIKU
2023-03-28 19:29:43 +02:00
Anonymous Maarten
20d395d9bc
Fix -Wundef warnings due to use of unguarded SDL_ARM_NEON_BLITTERS
2023-03-28 19:29:43 +02:00
Anonymous Maarten
043dd37f5f
Fix -Wundef warnings due to use of unguarded SDL_ARM_SIMD_BLITTERS
2023-03-28 19:29:43 +02:00
Anonymous Maarten
34914aed4c
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_RENDER_VITA_GXM
2023-03-28 19:29:43 +02:00
Anonymous Maarten
b2e2af811b
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_VIVANTE
2023-03-28 19:29:43 +02:00
Anonymous Maarten
606499e3e6
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_VITA_PVR_OGL
2023-03-28 19:29:43 +02:00
Anonymous Maarten
2d412f25e1
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_RPI
2023-03-28 19:29:43 +02:00
Anonymous Maarten
d986747f70
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_WINRT
2023-03-28 19:29:43 +02:00
Anonymous Maarten
ed7a589334
Fix -Wundef warnings due to use of unguarded __MACOS__
2023-03-28 19:29:43 +02:00
Anonymous Maarten
992a9537d9
Fix -Wundef warnings due to use of unguarded __WINRT__
2023-03-28 19:29:43 +02:00
Anonymous Maarten
2bdffd477c
Fix -Wundef warnings due to use of unguarded SDL_ALTIVEC_BLITTERS
2023-03-28 19:29:43 +02:00
Anonymous Maarten
435c45b3e5
Fix -Wundef warnings due to use of unguarded SDL_NEON_INTRINSICS
2023-03-28 19:29:43 +02:00
Anonymous Maarten
56d163e82a
Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_ANDROID
2023-03-28 19:29:43 +02:00
Anonymous Maarten
88280ddeec
Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_OPENSLES
2023-03-28 19:29:43 +02:00
Anonymous Maarten
19d5a7dedf
Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_AAUDIO
2023-03-28 19:29:43 +02:00
Anonymous Maarten
0c161c1435
Fix -Wundef warnings due to use of unguarded SDL_THREADS_DISABLED
2023-03-28 19:29:43 +02:00
Anonymous Maarten
4bf650d488
Fix -Wundef warnings due to use of unguarded __IOS__
2023-03-28 19:29:43 +02:00
Anonymous Maarten
785055bedf
Fix -Wundef warnings due to use of unguarded __ANDROID__
2023-03-28 19:29:43 +02:00
Anonymous Maarten
4b9d10c9a5
Fix -Wundef warnings due to use of unguarded SDL_JOYSTICK_DISABLED
2023-03-28 19:29:43 +02:00
Anonymous Maarten
40113b03d3
Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DISABLED
2023-03-28 19:29:43 +02:00
Anonymous Maarten
897c40285e
Fix -Wundef warnings due to use of unguarded SDL_TIMERS_DISABLED
2023-03-28 19:29:42 +02:00
Anonymous Maarten
d63f69c3b0
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_UIKIT
2023-03-28 19:29:42 +02:00
Anonymous Maarten
f14fe3f9aa
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_COCOA
2023-03-28 19:29:42 +02:00
Anonymous Maarten
995c345a62
Fix -Wundef warnings due to use of unguarded SDL_LOADSO_DUMMY
2023-03-28 19:29:42 +02:00
Anonymous Maarten
915d3159cf
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_ANDROID
2023-03-28 19:29:42 +02:00
Anonymous Maarten
7f68915681
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_WINDOWS
2023-03-28 19:29:42 +02:00
Anonymous Maarten
4e5f9b0419
Fix -Wundef warnings due to use of unguarded SDL_LOADSO_DISABLED
2023-03-28 19:29:42 +02:00
Anonymous Maarten
0c3777d566
video: fix warnings about unused variables when building without duff's loop
2023-03-28 16:59:27 +00:00
Anonymous Maarten
f7961b7c9a
video/blit: fix -Wimplicit-fallthrough warnings
2023-03-28 16:59:27 +00:00
Sylvain
c838ccf0e3
Safety fix: clear "_this->wakeup_window" when destroying the window
2023-03-28 08:28:31 -07:00
Sylvain
0c048d98af
Safety fix: clear "_this->current_glwin" when destroying the window
2023-03-28 08:28:31 -07:00
Sylvain
e494844e9a
Fixed bug #7515 - Window still grabbed after destroying
2023-03-28 09:42:19 +02:00
Sylvain
1fe2110755
Don't clear checked_texture_framebuffer
2023-03-28 09:40:17 +02:00
Elad Lahav
5fee62d774
Rename files under src/video/qnx
2023-03-27 15:33:08 -07:00
Elad Lahav
b98a501e0d
glGetProcAddress() should return SDL_FunctionPointer
2023-03-27 15:33:08 -07:00
Elad Lahav
4374645738
Add QNX video and audio modules
2023-03-27 15:33:08 -07:00
Anonymous Maarten
9ada9daf51
SDL_blit_copy: Don't call potentially FPU using SDL_memcpy in SDL_memcpyMMX
2023-03-27 06:12:49 +00:00
Frank Praznik
5a0095d373
video: Try to match the requested video mode when moving fullscreen windows
...
Try to match the requested video mode when a fullscreen window is moved to a new display, or it may not be returned to the requested mode if it is moved to a display with no matching mode, then back to the original display.
2023-03-26 12:50:32 -04:00
Frank Praznik
11323abf57
wayland: Set the minimized flag on windows until cleared by a focus event
...
The behavior when minimizing a window on Wayland is compositor dependent and clients are not informed when windows enter or leave the minimized state, however we can assume that, when receiving a minimize request from the application, the minimized window should set and keep the minimized status flag until the window regains focus.
This is required when attaching a renderer context to a minimized window, as the renderer creation process destroys and recreates the target window, and without retaining the minimized flag, the recreated window will lose the minimized state.
2023-03-24 16:17:16 -04:00
Frank Praznik
6bb48b4fe9
wayland: Unref the libdecor window when hiding
...
Hiding the decorations while not unreferencing the frame was a workaround for an internal libdecor use-after-free bug that was fixed some time ago. Revert to unreferencing the window when hiding to ensure that it is properly destroyed.
Reverts dd2e318
2023-03-24 16:17:16 -04:00
Sam Lantinga
26f511a8f4
Add SWP_NOACTIVATE to SetWindowPos flags passed in WIN_SetWindowAlwaysOnTop
2023-03-24 10:39:56 -07:00
Sylvain
d4d26e0ddb
testautomation_video: if SDL_SetWindowSize/Position isn't honored, we should check there is an event
...
x11: send the events if various occasions
2023-03-24 09:52:05 +01:00
Sylvain
4b1378fe8e
X11: fix size/position (test video_setWindowCenteredOnDisplay)
...
this fix x11 backend to correctly pass video_setWindowCenteredOnDisplay()
- get border values early (eg status bar)
- wait for size/position change to get valid values
Fix set topleft is client rendering area
2023-03-24 09:52:05 +01:00
Anonymous Maarten
749f3ebd14
Fix arguments of SDL_BlitCopyMMX
2023-03-24 02:18:06 +01:00
Ozkan Sezer
2e4ce78b33
tidy-up SDL_yuv.c
2023-03-21 23:03:02 +03:00
Anonymous Maarten
b5b9ddb205
SDL_intrin.h: define SDL_<simd>_INTRINSICS in user-visible header
2023-03-21 23:03:02 +03:00
Ozkan Sezer
79513afc19
build fixes to SDL_yuv.c
2023-03-21 23:03:02 +03:00