Hello Vasi-Vasi. Thank you for the info. The last commit to the SDL4MSEgui project dates from 2012.
After a few (long) white nights it now compiles for Linux, some SDL methods are renamed in the latest SDL2 version. For example, sdl_mutexp() now becomes sdl_lockmutex() and sdl_mutexv() now becomes sdl_unlockmutex(). Demo works now, see: https://github.com/mse-org/mseide-msegui/discussions/94 But there are a lot of things to add to have a new complete msegui target. Who knows, maybe someone could jump in and help finish it. Either way, the project sheds a lot of light on how to deal with the "surface", as Wayland does. Fre;D ________________________________ D e : vasi vasi <funl...@gmail.com> Envoyé : samedi 18 mai 2024 08:54 À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net> Objet : Re: [MSEide-MSEgui-talk] SDL and MSEgui? There are updated pascal units for SDL2... somewhere on Github... I have to look again... Now, regarding SDL in general, is an OpenGL platform that is present on all operating systems and constantly updated as is the base of so many games. Is there to stay. It is also used for some applications/utils. Now SDL3 is out, I think and SDL2 will be there for as long as SDL was (and probably will continue to be, as an important game, OpenXcom still uses it and I still play it - if you didn't know how important I am :D - kidding). Here are the SDL2 units for Pascal: https://github.com/PascalGameDevelopment/SDL2-for-Pascal On Fri, May 17, 2024 at 6:34 PM Fred vS <fi...@hotmail.com<mailto:fi...@hotmail.com>> wrote: Hello everybody. Does somebody knows SDL and have already used applications done with it it? https://en.wikipedia.org/wiki/Simple_DirectMedia_Layer There is a other gem in MSEuniverse: https://github.com/mse-org/mseuniverse/tree/main/sdl4msegui In the readme.txt: ----------------------- Main concept of porting MSEgui to Windows, Linux, Mac OS, Android and iOS : - Use SDL 2 for windowing, input event, thread management, networking, audio, and I/O management for all OS - Use OpenGL context only for drawing from SDL2.0 (http://wiki.libsdl.org/moin.cgi/CategoryVideo) - 2 options for 2D drawing engine, use cairo or mseopenglgdi.pas - Use cairo for drawing engine, put pixels from cairo surface to opengl texture. ----------------------- But the demo is not out-of-the-box, it uses custom mse*** files that needs to be updated. And before to maybe enter into a new battle, I would like to know if it is worth it. Fre;D _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk -- Vasi
_______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk