• Show log

    Commit

  • Hash : c54c16d3
    Author : Ryan C. Gordon
    Date : 2021-04-30T13:19:36

    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.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_w kc3_lang_org thodg_l thodg_m www_kmx_io thodg
    Tags

  • README.md

  • Simple DirectMedia Layer (SDL) Version 2.0

    https://www.libsdl.org/

    Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valveā€™s award winning catalog and many Humble Bundle games.

    More extensive documentation is available in the docs directory, starting with README.md

    Enjoy!

    Sam Lantinga (slouken@libsdl.org)