sdl2_frt/include
Ryan C. Gordon c54c16d353
wayland: don't hang in SDL_GL_SwapBuffers if the compositor is ghosting us.
If you hide a window on Mutter, for example, the compositor never requests
new frames, which will cause Mesa to block forever in eglSwapBuffers to
satisfy the swap interval.

We now always set the swap interval to 0 and manage this ourselves, handing
the frame to Wayland when it requests a new one, and timing out at 10fps just
to keep apps moving if the compositor wants no frames at all.

My understanding is that other protocols are coming that might improve upon
this solution, but for now it solves the total hang.

Fixes #4335.
2021-04-30 13:20:35 -04:00
..
begin_code.h
close_code.h
SDL_assert.h headers: a few minor documentation corrections. 2021-03-23 15:36:26 -04:00
SDL_atomic.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_audio.h audio: make SDL_OpenAudioDevice declaration look less squashed. 2021-04-03 13:24:10 -04:00
SDL_bits.h
SDL_blendmode.h headers: Fix up bullet lists, now that wikiheaders.pl can handle them. 2021-03-24 10:48:45 -04:00
SDL_clipboard.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_config_android.h AAudio: add compilation to Android.mk, but not activated in SDL_config_android.h 2021-04-15 21:03:10 +02:00
SDL_config_iphoneos.h
SDL_config_macosx.h
SDL_config_minimal.h
SDL_config_os2.h
SDL_config_pandora.h
SDL_config_psp.h
SDL_config_windows.h
SDL_config_winrt.h
SDL_config_wiz.h
SDL_config.h
SDL_config.h.cmake Remove gles2 vita render 2021-04-24 14:13:09 -07:00
SDL_config.h.in
SDL_copying.h
SDL_cpuinfo.h * Support for intrinsics in MSW + Clang scenario. 2021-04-09 22:28:07 -07:00
SDL_egl.h
SDL_endian.h * Support for intrinsics in MSW + Clang scenario. 2021-04-09 22:28:07 -07:00
SDL_error.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_events.h headers: Fix up bullet lists, now that wikiheaders.pl can handle them. 2021-03-24 10:48:45 -04:00
SDL_filesystem.h headers: Fix up bullet lists, now that wikiheaders.pl can handle them. 2021-03-24 10:48:45 -04:00
SDL_gamecontroller.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_gesture.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_haptic.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_hints.h hints: SDL_HINT_TIMER_RESOLUTION applies to all versions of Windows. 2021-04-04 00:24:40 -04:00
SDL_joystick.h Fixed header documentation errors 2021-03-26 14:34:58 -07:00
SDL_keyboard.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_keycode.h
SDL_loadso.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_locale.h
SDL_log.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_main.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_messagebox.h headers: Fix up bullet lists, now that wikiheaders.pl can handle them. 2021-03-24 10:48:45 -04:00
SDL_metal.h
SDL_misc.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_mouse.h headers: Fix up bullet lists, now that wikiheaders.pl can handle them. 2021-03-24 10:48:45 -04:00
SDL_mutex.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_name.h
SDL_opengl_glext.h
SDL_opengl.h
SDL_opengles2_gl2.h
SDL_opengles2_gl2ext.h
SDL_opengles2_gl2platform.h
SDL_opengles2_khrplatform.h
SDL_opengles2.h
SDL_opengles.h
SDL_pixels.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_platform.h headers: Fix up bullet lists, now that wikiheaders.pl can handle them. 2021-03-24 10:48:45 -04:00
SDL_power.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_quit.h
SDL_rect.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_render.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_revision.h
SDL_rwops.h headers: Fix up bullet lists, now that wikiheaders.pl can handle them. 2021-03-24 10:48:45 -04:00
SDL_scancode.h
SDL_sensor.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_shape.h
SDL_stdinc.h
SDL_surface.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_system.h headers: Fix up bullet lists, now that wikiheaders.pl can handle them. 2021-03-24 10:48:45 -04:00
SDL_syswm.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_test_assert.h
SDL_test_common.h
SDL_test_compare.h
SDL_test_crc32.h
SDL_test_font.h
SDL_test_fuzzer.h
SDL_test_harness.h
SDL_test_images.h
SDL_test_log.h
SDL_test_md5.h
SDL_test_memory.h
SDL_test_random.h
SDL_test.h
SDL_thread.h Squashed commit of the following: 2021-03-29 08:54:41 -07:00
SDL_timer.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_touch.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_types.h
SDL_version.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_video.h wayland: don't hang in SDL_GL_SwapBuffers if the compositor is ghosting us. 2021-04-30 13:20:35 -04:00
SDL_vulkan.h Fixed header documentation errors 2021-03-26 14:34:58 -07:00
SDL.h headers: Fix up bullet lists, now that wikiheaders.pl can handle them. 2021-03-24 10:48:45 -04:00