Fix issue with window size after SetWindowPosition Prefs: add AISS images to menus (#48) Ignore destination alpha for target textures (#150) Remove constructor / destructor workarounds Improve OS4_DebugPrintF sdl3benchmark: reset random seed before every test Support SDL_PROP_APP_METADATA_NAME_STRING and SDL_HINT_APP_NAME (#115) Improve timer resolution from milliseconds to microseconds Cleanup code and makefiles
@Capehill Not really. Yesterday I ported the latest Lite XL 2.1.8, which is the first version the original team released, that uses SDL3, and it is a lot slower in scrolling and animations. Now, it might not be the SDL3 to blame here, which I am discussing with them. I just wanted to know if you have any information on performance benchmarks or something else, that show how well SDL3 is working on our system.
@Capehill The LITE_USE_SDL_RENDERER is for the darwin systems, so I do not use it in AmigaOS 4 port. I used the SDL_RENDER_DRIVER with ogles2, but there was no impact.
Most probably will be a problem from the latest code in Lite XL itself, which is something I am discussing with the original team.
By the way, I saw in your makefile you have the following comment
CATCOMP = catcomp # TODO: is there a cross-compiler version?
@Capehill Thank you for your prompt reply. Should I be able to see how much time was spent in SDL libraries with profiling programs, like the Profyler I mentioned above? I am asking, because I tried with the non-debug version, and I couldn't get a clear usage of the SDL_ methods in the app list.
Do you have any other way or tool I should test, that you know would work better?
Yes, I just tested with sdl3benchmark, BUT, you need to enable profiling first. It's not very hard:
1) Read Profyler guide, it's awesome. 2) Build libprofyle.a and copy to SDK:local/newlib/lib/ 3) Build SDL3 with -finstrument-functions added in Makefile.amigaos4 4) Build your app with -finstrument-functions and add -lprofyle 5) Start Profyler 6) Start your app 7) Quit your app 8) If you did 3), then it might take some time to get the results.
If you can't or don't want to do step 3, then I can provide you the libs later.
@Capehill Thanks a lot for the guide. I will test it and let you know.
What is the sdl3benchmark? Is there an sdl2benchmark? Do these benchmark SDL2 and SDL3 on various methods? Do you see any performance differences on OS4?