• Show log

    Commit

  • Hash : 670f3d33
    Author : Sylvain Becker
    Date : 2019-02-04T09:11:07

    Fixed bug 4484 - use SIMD aligned memory for SDL_Surface
    
    Surfaces are allocated using SDL_SIMDAlloc()
    They are marked with SDL_SIMD_ALIGNED flag to appropriatly free them with SDL_SIMDFree()
    (Flag is cleared when pixels is free'd in RLE, in case user would hijack the pixels ptr)
    
    When providing its own memory pointer (SDL_CreateRGBSurfaceFrom()) and clearing
    SDL_PREALLOC  to delegate to SDL the memory free, it's the responsability of the user
    to add SDL_SIMD_ALIGNED or not, whether the pointer has been allocated with SDL_malloc() or
    SDL_SIMDAlloc().
    

  • 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 www_kmx_io thodg thodg_l
    Tags