• Show log

    Commit

  • Hash : b528d484
    Author : David Gow
    Date : 2021-10-22T16:59:46

    wayland: Wayland cursors should use premultiplied alpha
    
    It turns out that Wayland's WL_SHM_FORMAT_ARGB8888 format (and, indeed,
    all wayland RGBA formats) should be treated as premultiplied. SDL
    surfaces tend not to be premultiplied, and this is assumed by other
    backends when dealing with cursors.
    
    This change premultiplies the cursor surface in Wayland_CreateCursor()
    using the new SDL_PremultiplySurfaceAlphaToARGB8888(). In so doing, it
    also adds support for a wider range of input surfaces, including those
    with non-ARGB8888 pixel formats, and those which don't have
    pitch==width.
    
    This should fix #4856
    

  • 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_m kc3_lang_org thodg_w thodg_l 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)