SDL/include/SDL3
Frank Praznik adad6514d4 wayland: Add aspect-correct output for scaled modes
Add aspect-correct output of scaled video modes and a hint to control this behavior (aspect, stretch, or none).

The Wayland spec states that fullscreen surfaces that do not cover the entire output shall be centered with the borders masked by the compositor, so no additional work is required aside from calculating the proper window dimensions.

The default is still 'stretch' mode, as some window managers as of this time (KDE and older versions of GNOME still found in LTS distros) don't behave according to the spec and present an unmasked window that is not centered, so it's not yet safe to change the default.
2023-05-31 13:41:49 -04:00
..
SDL.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_assert.h Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00:00
SDL_atomic.h Rename SDL_atomic_t to SDL_AtomicInt 2023-03-09 09:00:09 -08:00
SDL_audio.h Sync SDL3 wiki -> header 2023-05-09 18:27:15 +00:00
SDL_begin_code.h Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00:00
SDL_bits.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_blendmode.h Simplify SDL_BLENDMODE_MUL 2023-03-16 20:25:59 +01:00
SDL_clipboard.h Sync SDL3 wiki -> header 2023-05-12 14:55:13 +00:00
SDL_close_code.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_copying.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_cpuinfo.h cpuinfo: update \sa's of SDL_HasXXX functions 2023-03-27 06:12:49 +00:00
SDL_egl.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_endian.h byteswap: Don't use intrinsic byteswap functions with Intel C compiler 2023-03-27 06:12:49 +00:00
SDL_error.h Sync wiki -> headers. 2023-02-24 11:49:41 -05:00
SDL_events.h Updated SDL high DPI support 2023-05-17 12:58:00 -07:00
SDL_filesystem.h Implement SDL_GetPath stub for all OSes 2023-05-08 09:36:39 -07:00
SDL_gamepad.h include: Fixed wiki formatting that got mangled into the headers. 2023-02-26 21:47:17 -05:00
SDL_guid.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_haptic.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_hidapi.h Sync SDL3 wiki -> header 2023-05-27 17:52:16 +00:00
SDL_hints.h wayland: Add aspect-correct output for scaled modes 2023-05-31 13:41:49 -04:00
SDL_init.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_intrin.h Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00:00
SDL_joystick.h Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention 2023-04-28 12:08:33 -07:00
SDL_keyboard.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_keycode.h Don't map the top keyboard row to numbers when using the one-handed DVORAK layouts (thanks @tormol!) 2023-05-22 11:33:47 -07:00
SDL_loadso.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_locale.h Sync wiki -> headers. 2023-02-24 11:49:41 -05:00
SDL_log.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_main.h Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00:00
SDL_main_impl.h Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00:00
SDL_messagebox.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_metal.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_misc.h Update `\returns` to the generic form 2023-02-12 08:21:02 -08:00
SDL_mouse.h Fixed the documentation for SDL_SetRelativeMouseMode() 2023-03-08 22:32:54 -08:00
SDL_mutex.h Changed all variadic macros into fixed (thanks @Wohlstand!) 2023-05-10 06:27:38 -07:00
SDL_oldnames.h SDL API renaming: SDL TLS functions 2023-05-26 08:33:15 -07:00
SDL_opengl.h Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00:00
SDL_opengl_glext.h replaced line comments in public header. 2023-02-04 10:02:10 +03:00
SDL_opengles.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_opengles2.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_opengles2_gl2.h Switch header convention from `#include "SDL.h"` to `#include <SDL3/SDLh>` 2022-11-26 22:15:18 -08:00
SDL_opengles2_gl2ext.h Switch header convention from `#include "SDL.h"` to `#include <SDL3/SDLh>` 2022-11-26 22:15:18 -08:00
SDL_opengles2_gl2platform.h Switch header convention from `#include "SDL.h"` to `#include <SDL3/SDLh>` 2022-11-26 22:15:18 -08:00
SDL_opengles2_khrplatform.h Switch header convention from `#include "SDL.h"` to `#include <SDL3/SDLh>` 2022-11-26 22:15:18 -08:00
SDL_pixels.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_platform.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_platform_defines.h Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00:00
SDL_power.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_quit.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_rect.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_render.h Sync SDL3 wiki -> header 2023-05-17 19:59:14 +00:00
SDL_revision.h SDL_revision.h: added missing newline at end of file. 2023-02-23 23:55:56 +03:00
SDL_rwops.h Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00:00
SDL_scancode.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_sensor.h Clarified the expected sensor value when a game controller is at rest 2023-04-06 09:55:01 -07:00
SDL_shape.h SDL_CreateWindow() has been simplified and no longer takes a window position. 2023-03-06 09:50:12 -08:00
SDL_stdinc.h fix mingw build failures in CI with clang-tidy. 2023-05-26 23:55:04 +03:00
SDL_surface.h Fixed function documentation references 2023-04-26 14:10:44 -07:00
SDL_system.h Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00:00
SDL_syswm.h gdk: Fix the project 2023-05-26 14:53:17 -07:00
SDL_test.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_test_assert.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_test_common.h Updated SDL high DPI support 2023-05-17 12:58:00 -07:00
SDL_test_compare.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_test_crc32.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_test_font.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_test_fuzzer.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_test_harness.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_test_log.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_test_md5.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_test_memory.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_test_random.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_thread.h SDL API renaming: SDL TLS functions 2023-05-26 08:33:15 -07:00
SDL_timer.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_touch.h Sync wiki -> headers. 2023-02-24 11:49:41 -05:00
SDL_version.h include: add \brief to includes 2023-02-19 10:01:33 -08:00
SDL_video.h SDL_GetClosestFullscreenDisplayMode() now takes a boolean whether to include high density modes 2023-05-18 12:15:23 -07:00
SDL_vulkan.h include: add \brief to includes 2023-02-19 10:01:33 -08:00