dhewm3/neo/sys
Daniel Gibson 81ba620984 SDL3: Handle r_fillWindowAlphaChan, cleanups and comments
r_fillWindowAlphaChan is a hack to work around an older issue with
Wayland/Mesa, which has been fixed in Mesa 24.1 (and also seems to work
with current NVIDIA drivers). Additionally, in SDL3 the EGL-specific
(and thus mostly only affecting Wayland)
SDL_HINT_VIDEO_EGL_ALLOW_TRANSPARENCY has been replaced with the generic
SDL_PROP_WINDOW_CREATE_TRANSPARENT_BOOLEAN (that could also affect
other platforms), so it's harder to enable this only for Wayland.
I think most people using SDL3 will use a recent Mesa/driver versions,
so I don't enable it by default for SDL3 (SDL2 behaves like before).
However, with `r_fillWindowAlphaChan 1` the hack can be enabled anyway
(r_fillWindowAlphaChan defaults to "-1" which means "let dhewm3 decide
 whether to enable this")
2024-10-29 03:26:20 +01:00
..
aros dhewm3log.txt for AROS 2022-01-16 06:12:51 +01:00
cmake Use stb_vorbis instead of libogg and libvorbis(file) 2021-04-27 20:08:59 +02:00
linux It builds with SDL3 and SDL2 and SDL1.2 (on Linux) 2024-10-07 17:22:03 +02:00
osx Hopefully make macOS port compatible with SDL3 2024-10-09 18:58:44 +02:00
posix Introduce and use sys_sdl.h to unify <SDL3/SDL.h> and <SDL.h> includes 2024-10-07 17:38:01 +02:00
stub Add glimpParms_t GLimp_GetCurState() to get current window state 2024-06-12 22:26:30 +02:00
win32 SDL3: Now works on Windows as well 2024-10-09 17:37:08 +02:00
cpu.cpp SDL3: Handle r_fillWindowAlphaChan, cleanups and comments 2024-10-29 03:26:20 +01:00
doom_icon.h Window Icon, make in_nograb work with SDL2 2015-03-02 00:03:30 +01:00
events.cpp SDL3: Handle r_fillWindowAlphaChan, cleanups and comments 2024-10-29 03:26:20 +01:00
glimp.cpp SDL3: Handle r_fillWindowAlphaChan, cleanups and comments 2024-10-29 03:26:20 +01:00
imgui_savestyle.cpp Update code using Dear ImGui for v1.91.2 2024-10-02 22:18:30 +02:00
platform.h Don't use GCC's __builtin_alloca_with_align(), fix #572 2024-04-19 07:24:32 +02:00
proggyvector_font.h ImGui: Improve integration, use scalable font, Control Options menu 2024-05-22 19:46:38 +02:00
sys_imgui.cpp Introduce and use sys_sdl.h to unify <SDL3/SDL.h> and <SDL.h> includes 2024-10-07 17:38:01 +02:00
sys_imgui.h Dhewm3SettingsMenu: Improve cursor handling and opening menu ingame 2024-05-28 04:49:24 +02:00
sys_local.cpp Get rid of Sys_FPU_StackIsEmpty() 2012-07-06 01:06:53 +02:00
sys_local.h Get rid of Sys_FPU_StackIsEmpty() 2012-07-06 01:06:53 +02:00
sys_public.h Some functions that will be used by the ImGui keybinding menu 2024-05-22 19:46:38 +02:00
sys_sdl.h Introduce and use sys_sdl.h to unify <SDL3/SDL.h> and <SDL.h> includes 2024-10-07 17:38:01 +02:00
threads.cpp Introduce and use sys_sdl.h to unify <SDL3/SDL.h> and <SDL.h> includes 2024-10-07 17:38:01 +02:00