SDL/cmake
Frank Praznik 44536b7537 Add and event and flag to report when a window has been occluded
Adds the SDL_EVENT_WINDOW_OCCLUDED events and the window flag SDL_WINDOW_OCCLUDED to report when the window occlusion state has changed, so that the application can take appropriate measures, as it may wish to suspend drawing, throttle, or otherwise behave in a more energy efficient manner when the window is not visible. When the window is no longer occluded, the SDL_EVENT_WINDOW_EXPOSED event is sent and the occlusion flag is cleared.

This is handled on macOS via the window occlusion state event (available as of 10.9), and via the xdg-shell protocol on Wayland (version 6, wayland-protocols 1.32, passed through in libdecor 0.1.2).
2023-07-18 16:42:05 -04:00
..
test Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00:00
3rdparty.cmake cmake: include_guard() is not needed 2023-02-13 04:55:46 +01:00
CheckCPUArchitecture.cmake cmake+video: always use altivec.h header for detection + introduce SDL_ENABLE_ALTIVEC 2023-03-15 14:54:20 +01:00
cmake_uninstall.cmake.in cmake: declutter root + remove obsolete variables 2022-12-19 09:19:45 -08:00
CPackProjectConfig.cmake.in cmake: add CPack support for creating binary archives 2023-01-31 01:59:21 +01:00
GetGitRevisionDescription.cmake Fix various typos (docs/build scripts/tests) 2023-07-03 08:35:37 -07:00
GetGitRevisionDescription.cmake.in cmake: generate git hash using GetRevisionDescription CMake module 2023-01-08 18:20:56 +01:00
macros.cmake cmake: avoid string(SUBSTRING) on short strings 2023-01-09 15:44:50 +01:00
sdl3.pc.in cmake: pass VERSION to project() + don't use SDL_VERSION 2023-01-31 01:59:21 +01:00
SDL3Config.cmake.in cmake: don't install sdlmanpages.cmake 2023-06-27 19:02:44 +02:00
sdlchecks.cmake Add and event and flag to report when a window has been occluded 2023-07-18 16:42:05 -04:00
sdlfind.cmake cmake: allow find_package from build directory (requires CMake 3.26) 2023-02-09 17:20:28 -08:00
sdlmanpages.cmake cmake: create wiki dir before running wikiheaders.pl --copy-to-wiki 2023-06-28 14:41:31 +02:00
sdlplatform.cmake Add QNX as a platform to the cmake build files 2023-03-27 15:33:08 -07:00
xxd.py cmake: convert bmp images to c headers using python script 2023-07-16 16:31:06 +02:00