• Show log

    Commit

  • Hash : 408a93a1
    Author : Cameron Gutman
    Date : 2021-10-23T15:43:04

    wayland: Use multi-thread event reading APIs
    
    Wayland provides the prepare_read()/read_events() family of APIs for
    reading from the display fd in a deadlock-free manner across multiple
    threads in a multi-threaded application. Let's use those instead of
    trying to roll our own solution using a mutex.
    
    This fixes an issue where a call to SDL_GL_SwapWindow() doesn't swap
    buffers if it happens to collide with SDL_PumpEvents() in the main
    thread. It also allows coexistence with other code or toolkits in
    our process that may want read and dispatch events themselves.
    

  • 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)