SDL/src
Frank Praznik a8cb7bbe2f wayland: Add dedupe logic to window geometry configuration
Adds deduplication logic to ConfigureWindowGeometry() to avoid setting redundant backbuffer, viewport and surface opaque region dimensions. State is now only set when the window and/or backbuffer dimensions change.

This repurposes the viewport rect to always hold the actual size of the window, which can differ from the SDL size if things are being scaled. The SDL_Rect was removed in favor of two ints, as the x/y members of the struct were never used, so they just wasted space.

Since the internal variables always have the true window size, the width/height getter functions are no longer required and can be removed.
2022-10-06 14:00:36 -04:00
..
atomic Proposing exposing as public api the various arch dependent 2022-08-04 08:47:39 -07:00
audio fix compilation error SDL_coreaudio mixing declarations and code 2022-10-04 21:04:45 -07:00
core Android: remove "nativeSetComposingText" since it's not used anymore 2022-10-04 12:08:09 +02:00
cpuinfo Use proper header for OpenBSD PPC CPU detection 2022-06-27 11:01:34 -07:00
dynapi SDL_ResetHint() no longer clears the callbacks associated with a hint 2022-10-02 17:17:31 -07:00
events Added a hint SDL_HINT_MOUSE_RELATIVE_SYSTEM_SCALE to control whether to use system mouse acceleration on raw relative motion. 2022-08-22 16:48:09 -07:00
file Xbox GDKX support (#5869) 2022-07-01 13:59:14 -07:00
filesystem Fixed some Xcode warnings 2022-07-17 09:07:04 -07:00
haptic Xbox GDKX support (#5869) 2022-07-01 13:59:14 -07:00
hidapi hidapi, libusb: backport read_thread indefinite loop fix from mainstream 2022-09-28 08:26:08 -07:00
joystick Added mapping for PS5 controller over Bluetooth on Android 12 2022-10-05 16:24:05 -07:00
libm Add some PS2 flags 2022-06-15 15:15:26 -07:00
loadso use SDL_InvalidParamError or SDL_assert instead of custom SDL_SetError 2022-01-28 20:40:19 -05:00
locale Vita: add SDL_GetPreferredLocales support 2022-03-29 15:02:21 -07:00
main Allow including SDL_uikit_main.c in Apple multi-platform builds 2022-09-28 00:01:54 -07:00
misc Xbox GDKX support (#5869) 2022-07-01 13:59:14 -07:00
power Don't fail to get battery status if the upower refresh call fails 2022-02-04 14:02:44 -08:00
render opengles2: Texture names are GLuint, not GLenum. 2022-10-03 12:00:38 -04:00
sensor fix vita build failure after commit 2c518747b 2022-09-27 20:21:24 +03:00
stdlib Use the right kind of 0 2022-09-20 09:22:43 -07:00
test Do case insensitive matching on test cases 2022-09-19 14:37:10 -07:00
thread Xbox GDKX support (#5869) 2022-07-01 13:59:14 -07:00
timer emscripten: Remove use of EM_ASM from SDL_timer code. 2022-09-30 13:41:41 -04:00
video wayland: Add dedupe logic to window geometry configuration 2022-10-06 14:00:36 -04:00
SDL_assert_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_assert.c hide SDL_GenerateAssertionReport in case SDL_ASSERT_LEVEL is 0 2022-07-25 14:26:46 -07:00
SDL_dataqueue.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_dataqueue.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_error_c.h Removed the limit on the size of the SDL error message 2022-06-27 16:59:50 -07:00
SDL_error.c Fix SIGSEV in SDL_error (After removing the limit on the size of the SDL error message) (see #5795) 2022-06-28 09:46:12 +02:00
SDL_guid.c Refactoring: move GUID operations out of Joystick 2022-06-04 17:22:13 -07:00
SDL_hints_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_hints.c Fixed build 2022-10-02 17:25:43 -07:00
SDL_internal.h Fix enabling SDL_DYNAMIC_API in OpenWatcom builds 2022-05-19 20:11:10 +03:00
SDL_list.c Add SDL_list.c/h 2022-04-01 08:01:44 +02:00
SDL_list.h Add SDL_list.c/h 2022-04-01 08:01:44 +02:00
SDL_log_c.h Added declaration of SDL_LogInit() and SDL_LogQuit() 2022-04-28 15:01:34 -07:00
SDL_log.c Fixed Xcode warnings on macOS 2022-09-16 09:44:39 -07:00
SDL_utils_c.h Fixed comment (thanks @pionere!) 2022-07-18 07:18:56 -07:00
SDL_utils.c Fixed declaration-after-statement warning 2022-07-18 07:31:23 -07:00
SDL.c Added a hint to return the version in the old format 2022-09-26 17:06:18 -07:00