SDL2 sources, progress and ports
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 560 from 2004/4/15
    Hi,

    I reworked the code a little bit and now I got the gol stuff working on MorphOs too (not using the VBO stuff
    anymore).
    But now I am facon the next problem: all images which are using alpha channel (like the character) are
    not visible anymore. On Linux, Windows, AOS4 everything is fine.
    Sadly I did not had the time to have a deeper look into it.
    Here is a screenshot of the problem:
    ermentrud_ogl_alplha_error.pnghttps://exdev.selfhost.eu/mos/ermentrud_ogl_alplha_error.png
    regards
    eliot
  • »10.09.21 - 08:07
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 513 from 2010/2/10
    From: FRANCE
    hi,

    You use alpha with OpenGL renderer... no chance... it's a big bug of SDL2 now....

    in SDL2 readme :

    KNOW BUGS:
    *************

    - SDL_CreateRenderer with SDL_RENDERER_ACCELERATED is broken if you use SDL_BLENDMODE or
    tranparency color with OpenGL renderer, you need to use SDL_RENDERER_SOFTWARE.
    Dont ask me to fix that, i dont have any information on it, maybe fix on next release of MorphOS (3.16)..)
    IMac G5 2.1,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »10.09.21 - 10:12
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 560 from 2004/4/15
    Yes, this should not be a bug in SDL2, because it's working fine on other platforms.

    EDIT: So no OGL support on mos for now, but neverstheless, it's mostly done:
    ermentrud_mos.png

    [ Edited by eliot 10.09.2021 - 13:04 ]
    regards
    eliot
  • »10.09.21 - 11:08
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 513 from 2010/2/10
    From: FRANCE
    New SDL2 packages : 2.0.20

    New SDL2, SDL2_image, SDL2_ttf libraries
    Check changelogs into archive

    https://www.morphos-storage.net/?id=1715242



    [ Edité par beworld 16.02.2022 - 08:28 ]
    IMac G5 2.1,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »15.01.22 - 11:36
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 513 from 2010/2/10
    From: FRANCE
    New SDL packages 2.0.20 available with some fix

    Dont hesites to update it !

    https://www.morphos-storage.net/?find=SDL_2

    I update some of my ports and work on new port (Thanks to MorphOS 3.16)... so wait and survey MorphOS-storage

    Have fun !
    And thanks top MorphOS team.
    IMac G5 2.1,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »12.03.22 - 20:37
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 513 from 2010/2/10
    From: FRANCE
    I'm glad to see that the SDL2 is now used more than by myself :-) (Doom3/SM64, deviluationx... to name the biggest ones)

    Now in next release of SDL2, I implemented some missing features:

    - SDL_WINDOW_FULLSCREEN_DESKTOP
    - SDL_RENDERER_PRESENTVSYNC (note: vsync is always present in real fullscreen mode)

    just one exemple with SDL_WINDOW_FULLSCREEN_DESKTOP and opacity window (to test i just edit my bePlayer): https://ibb.co/7CL1S3W
    IMac G5 2.1,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »23.04.22 - 06:38
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 513 from 2010/2/10
    From: FRANCE
    New update with some fixes in SDL 2.0.22

    https://www.morphos-storage.net/?id=1746996
    IMac G5 2.1,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »08.05.22 - 19:02
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 513 from 2010/2/10
    From: FRANCE
    New update with some fixes in SDL 2.0.22

    https://www.morphos-storage.net/?id=1746996
    IMac G5 2.1,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »08.05.22 - 19:02
    Profile Visit Website