Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
137 user(s) are online (99 user(s) are browsing Forums)

Members: 1
Guests: 136

eliyahu, more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 70 71 72 (73) 74 75 76 ... 78 »
Re: SDL2
Quite a regular
Quite a regular


See User information
@capehill
wrt. batching: Looking at SDL_render.c, there are times where it can be set to FALSE. I guess there is no downside to just using the SDL prefs tool and forcing batching always?

Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@rjd324

https://wiki.libsdl.org/SDL2/SDL_HINT_RENDER_BATCHING default is enabled but it could depend on the renderer. Last time I tested, I didn't try OpenGL because I didn't have Novabridge.

Please check testsprite2 example https://www.amigans.net/modules/newbb/ ... id=149150#forumpost149150

Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
@capehill
Have you come across a situation where an SDL2 game with cause a freeze if either DEFAULT or COMPOSITING is selected as the renderer, but will work if anything else is selected?

I am seeing that I need to not choose DEFAULT or COMPOSITING for the latest version of the Wolf port otherwise something goes wrong in SDL_SetTextureScaleMode() causing an ISI error.

I am not particularly interested in drilling down and debugging for hours so I would rather just bypass it. What is the best way to bypass it so that the user does not manually have to set the RENDER DRIVER in the SDL prefs app? Just invoke SDL_SetHint(). The issue with that is that I would need to set it back to the original value, which is fine, but if the program ends early then setting it back may not happen. It is not the cleanest thing. I could also immediately set it back after initialisation, but I am not sure if it should stay as the hacked value throughout the duration of the game.

Go to top
Re: SDL2
Just popping in
Just popping in


See User information
@Capehill

Quote:
There are no SPE builds that I know of. The fastest way to get one would be if some Tabor owner checked out the latest tag, modified makefile for SPE, perhaps ran some tests and send libSDL2.a to Steffen.

For me it would take some hours to install the needed SDK, clib4 etc. And I cannot test it.


I've built on X5000:

- clib4 with SPE enabled
- SDL2 against clib4 with SPE flags
- the SDL2 Tests inside ../test against clib4 with SPE flags

it's not fully working yet!

Some of the examples from the SDL2 Tests work on the A1222, while sdl2benchmark starts, shows a black screen for 5 seconds and outputs the following:

INFO: SDL2 renderer benchmark v. 0.7 (SDL version 2.30.4)
INFO: This tool measures the speed of various 2D drawing features
INFO
: Press ESC key to quit
INFO
: Parameters: width 800, height 600, renderer name '(null)', duration 1.000 s, objects 100, sleep 0
INFO
: Image size 408*167
INFO
: Pixel format 0x16161804 (SDL_PIXELFORMAT_RGB888)
INFO: Starting to test renderer called [compositing], flags 0xE
INFO
: Points [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Points [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Lines [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Lines [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: FillRects [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: FillRects [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: RenderCopy [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: RenderCopy [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: RenderCopyEx [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: RenderCopyEx [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Color modulation [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Color modulation [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Alpha modulation [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Alpha modulation [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: UpdateTexture [mode: None]...0 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: ReadPixels [mode: None]...0 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Starting to test renderer called [opengl], flags 0x2
INFO
: Points [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Points [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Lines [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Lines [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: FillRects [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: FillRects [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: RenderCopy [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: RenderCopy [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: RenderCopyEx [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: RenderCopyEx [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Color modulation [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Color modulation [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Alpha modulation [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Alpha modulation [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: UpdateTexture [mode: None]...0 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: ReadPixels [mode: None]...0 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Starting to test renderer called [opengles2], flags 0xA
INFO
: Points [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Points [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Lines [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Lines [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: FillRects [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: FillRects [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: RenderCopy [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: RenderCopy [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: RenderCopyEx [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: RenderCopyEx [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Color modulation [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Color modulation [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Alpha modulation [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Alpha modulation [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: UpdateTexture [mode: None]...0 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: ReadPixels [mode: None]...0 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Starting to test renderer called [software], flags 0xD
INFO
: Points [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Points [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Lines [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Lines [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: FillRects [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: FillRects [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: RenderCopy [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: RenderCopy [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: RenderCopyEx [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: RenderCopyEx [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Color modulation [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Color modulation [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Alpha modulation [mode: None]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Alpha modulation [mode: Blend]...1 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: UpdateTexture [mode: None]...0 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: ReadPixels [mode: None]...0 frames drawn in 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000 seconds => 0.0 frames/s
INFO
: Bye bye


Edited by IamSONIC on 2024/7/26 14:47:19
Go to top
Re: SDL2
Amigans Defender
Amigans Defender


See User information
try to use clib4 without SPE and see if it works correctly

i'm really tired...
Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@rjd324

Quote:

Have you come across a situation where an SDL2 game with cause a freeze if either DEFAULT or COMPOSITING is selected as the renderer, but will work if anything else is selected?


No.

Quote:

I am seeing that I need to not choose DEFAULT or COMPOSITING for the latest version of the Wolf port otherwise something goes wrong in SDL_SetTextureScaleMode() causing an ISI error.


It looks like this function implementation is missing in SDL2. Tests don't seem to use it so it wasn't noticed before :( I will try to fix this.

Go to top
Re: SDL2
Just popping in
Just popping in


See User information
@afxgroup

It works!

- clib4
- SDL2 against clib4
- the SDL2 Tests inside ../test against clib4

and just for comparison 2 benchmarks from X5000

clib4 (GCC6.4(testBuild)+libgcc(clib4)):
INFO: SDL2 renderer benchmark v. 0.7 (SDL version 2.30.4)
INFO: This tool measures the speed of various 2D drawing features
INFO
: Press ESC key to quit
INFO
: Parameters: width 800, height 600, renderer name '(null)', duration 1.000 s, objects 100, sleep 0
INFO
: Image size 408*167
INFO
: Pixel format 0x16161804 (SDL_PIXELFORMAT_RGB888)
INFO: Starting to test renderer called [compositing], flags 0xE
INFO
: Points [mode: None]...2999 frames drawn in 1.000 seconds => 2999.0 frames/s
INFO
: Points [mode: Blend]...3403 frames drawn in 1.000 seconds => 3402.4 frames/s
INFO
: Lines [mode: None]...25 frames drawn in 1.034 seconds => 24.2 frames/s
INFO
: Lines [mode: Blend]...40 frames drawn in 1.013 seconds => 39.5 frames/s
INFO
: FillRects [mode: None]...441 frames drawn in 1.001 seconds => 440.5 frames/s
INFO
: FillRects [mode: Blend]...290 frames drawn in 1.001 seconds => 289.7 frames/s
INFO
: RenderCopy [mode: None]...5807 frames drawn in 1.000 seconds => 5805.1 frames/s
INFO
: RenderCopy [mode: Blend]...5803 frames drawn in 1.000 seconds => 5800.7 frames/s
INFO
: RenderCopyEx [mode: None]...5607 frames drawn in 1.001 seconds => 5604.2 frames/s
INFO
: RenderCopyEx [mode: Blend]...5610 frames drawn in 1.000 seconds => 5607.9 frames/s
INFO
: Color modulation [mode: None]...1164 frames drawn in 1.001 seconds => 1163.1 frames/s
INFO
: Color modulation [mode: Blend]...1184 frames drawn in 1.000 seconds => 1184.0 frames/s
INFO
: Alpha modulation [mode: None]...5824 frames drawn in 1.000 seconds => 5821.4 frames/s
INFO
: Alpha modulation [mode: Blend]...5672 frames drawn in 1.000 seconds => 5670.2 frames/s
INFO
: UpdateTexture [mode: None]...8651.4 operations/s, 2357.9 megabytes/s
INFO
: ReadPixels [mode: None]...53.9 operations/s, 14.7 megabytes/s
INFO
: Starting to test renderer called [opengl], flags 0x2
INFO
: Points [mode: None]...2050 frames drawn in 1.000 seconds => 2049.3 frames/s
INFO
: Points [mode: Blend]...2053 frames drawn in 1.000 seconds => 2052.3 frames/s
INFO
: Lines [mode: None]...52 frames drawn in 1.008 seconds => 51.6 frames/s
INFO
: Lines [mode: Blend]...53 frames drawn in 1.000 seconds => 53.0 frames/s
INFO
: FillRects [mode: None]...456 frames drawn in 1.002 seconds => 455.3 frames/s
INFO
: FillRects [mode: Blend]...396 frames drawn in 1.002 seconds => 395.3 frames/s
INFO
: RenderCopy [mode: None]...1961 frames drawn in 1.000 seconds => 1960.6 frames/s
INFO
: RenderCopy [mode: Blend]...1956 frames drawn in 1.000 seconds => 1955.5 frames/s
INFO
: RenderCopyEx [mode: None]...1918 frames drawn in 1.000 seconds => 1917.6 frames/s
INFO
: RenderCopyEx [mode: Blend]...1915 frames drawn in 1.000 seconds => 1915.0 frames/s
INFO
: Color modulation [mode: None]...1953 frames drawn in 1.000 seconds => 1952.6 frames/s
INFO
: Color modulation [mode: Blend]...1956 frames drawn in 1.000 seconds => 1955.6 frames/s
INFO
: Alpha modulation [mode: None]...1958 frames drawn in 1.000 seconds => 1957.1 frames/s
INFO
: Alpha modulation [mode: Blend]...1959 frames drawn in 1.000 seconds => 1958.9 frames/s
INFO
: UpdateTexture [mode: None]...396.0 operations/s, 107.9 megabytes/s
INFO
: ReadPixels [mode: None]...43.0 operations/s, 11.7 megabytes/s
INFO
: Starting to test renderer called [opengles2], flags 0xA
INFO
: Points [mode: None]...5226 frames drawn in 1.000 seconds => 5225.1 frames/s
INFO
: Points [mode: Blend]...5221 frames drawn in 1.000 seconds => 5220.3 frames/s
INFO
: Lines [mode: None]...212 frames drawn in 1.002 seconds => 211.6 frames/s
INFO
: Lines [mode: Blend]...209 frames drawn in 1.000 seconds => 209.0 frames/s
INFO
: FillRects [mode: None]...1086 frames drawn in 1.000 seconds => 1085.8 frames/s
INFO
: FillRects [mode: Blend]...704 frames drawn in 1.000 seconds => 703.9 frames/s
INFO
: RenderCopy [mode: None]...4620 frames drawn in 1.000 seconds => 4618.9 frames/s
INFO
: RenderCopy [mode: Blend]...4622 frames drawn in 1.000 seconds => 4620.6 frames/s
INFO
: RenderCopyEx [mode: None]...4659 frames drawn in 1.000 seconds => 4657.8 frames/s
INFO
: RenderCopyEx [mode: Blend]...4654 frames drawn in 1.000 seconds => 4652.9 frames/s
INFO
: Color modulation [mode: None]...4642 frames drawn in 1.000 seconds => 4641.2 frames/s
INFO
: Color modulation [mode: Blend]...4633 frames drawn in 1.000 seconds => 4632.8 frames/s
INFO
: Alpha modulation [mode: None]...4651 frames drawn in 1.000 seconds => 4649.9 frames/s
INFO
: Alpha modulation [mode: Blend]...4565 frames drawn in 1.000 seconds => 4564.8 frames/s
INFO
: UpdateTexture [mode: None]...356.0 operations/s, 97.0 megabytes/s
INFO
: ReadPixels [mode: None]...42.9 operations/s, 11.7 megabytes/s
INFO
: Starting to test renderer called [software], flags 0xD
INFO
: Points [mode: None]...288 frames drawn in 1.003 seconds => 287.1 frames/s
INFO
: Points [mode: Blend]...289 frames drawn in 1.001 seconds => 288.8 frames/s
INFO
: Lines [mode: None]...179 frames drawn in 1.004 seconds => 178.4 frames/s
INFO
: Lines [mode: Blend]...151 frames drawn in 1.002 seconds => 150.7 frames/s
INFO
: FillRects [mode: None]...173 frames drawn in 1.001 seconds => 172.8 frames/s
INFO
: FillRects [mode: Blend]...32 frames drawn in 1.026 seconds => 31.2 frames/s
INFO
: RenderCopy [mode: None]...268 frames drawn in 1.000 seconds => 267.9 frames/s
INFO
: RenderCopy [mode: Blend]...217 frames drawn in 1.001 seconds => 216.7 frames/s
INFO
: RenderCopyEx [mode: None]...64 frames drawn in 1.026 seconds => 62.4 frames/s
INFO
: RenderCopyEx [mode: Blend]...142 frames drawn in 1.002 seconds => 141.7 frames/s
INFO
: Color modulation [mode: None]...233 frames drawn in 1.002 seconds => 232.7 frames/s
INFO
: Color modulation [mode: Blend]...184 frames drawn in 1.001 seconds => 183.9 frames/s
INFO
: Alpha modulation [mode: None]...228 frames drawn in 1.004 seconds => 227.1 frames/s
INFO
: Alpha modulation [mode: Blend]...188 frames drawn in 1.003 seconds => 187.5 frames/s
INFO
: UpdateTexture [mode: None]...8531.5 operations/s, 2325.2 megabytes/s
INFO
: ReadPixels [mode: None]...4832.4 operations/s, 1317.1 megabytes/s
INFO
: Bye bye


clib4 (GCC6.4(SDK)+libgcc(clib2!)):
INFO: SDL2 renderer benchmark v. 0.7 (SDL version 2.30.4)
INFO: This tool measures the speed of various 2D drawing features
INFO
: Press ESC key to quit
INFO
: Parameters: width 800, height 600, renderer name '(null)', duration 1.000 s, objects 100, sleep 0
INFO
: Image size 408*167
INFO
: Pixel format 0x16161804 (SDL_PIXELFORMAT_RGB888)
INFO: Starting to test renderer called [compositing], flags 0xE
INFO
: Points [mode: None]...2859 frames drawn in 1.000 seconds => 2858.6 frames/s
INFO
: Points [mode: Blend]...3255 frames drawn in 1.000 seconds => 3254.4 frames/s
INFO
: Lines [mode: None]...24 frames drawn in 1.038 seconds => 23.1 frames/s
INFO
: Lines [mode: Blend]...39 frames drawn in 1.006 seconds => 38.8 frames/s
INFO
: FillRects [mode: None]...425 frames drawn in 1.002 seconds => 424.3 frames/s
INFO
: FillRects [mode: Blend]...276 frames drawn in 1.000 seconds => 275.9 frames/s
INFO
: RenderCopy [mode: None]...5596 frames drawn in 1.000 seconds => 5595.6 frames/s
INFO
: RenderCopy [mode: Blend]...5650 frames drawn in 1.000 seconds => 5648.0 frames/s
INFO
: RenderCopyEx [mode: None]...5423 frames drawn in 1.000 seconds => 5422.0 frames/s
INFO
: RenderCopyEx [mode: Blend]...5455 frames drawn in 1.000 seconds => 5453.4 frames/s
INFO
: Color modulation [mode: None]...1153 frames drawn in 1.000 seconds => 1153.0 frames/s
INFO
: Color modulation [mode: Blend]...1122 frames drawn in 1.000 seconds => 1121.5 frames/s
INFO
: Alpha modulation [mode: None]...5601 frames drawn in 1.000 seconds => 5599.7 frames/s
INFO
: Alpha modulation [mode: Blend]...5536 frames drawn in 1.000 seconds => 5534.9 frames/s
INFO
: UpdateTexture [mode: None]...8110.2 operations/s, 2210.4 megabytes/s
INFO
: ReadPixels [mode: None]...45.3 operations/s, 12.3 megabytes/s
INFO
: Starting to test renderer called [opengl], flags 0x2
INFO
: Points [mode: None]...1975 frames drawn in 1.000 seconds => 1974.7 frames/s
INFO
: Points [mode: Blend]...1979 frames drawn in 1.000 seconds => 1978.9 frames/s
INFO
: Lines [mode: None]...46 frames drawn in 1.004 seconds => 45.8 frames/s
INFO
: Lines [mode: Blend]...51 frames drawn in 1.012 seconds => 50.4 frames/s
INFO
: FillRects [mode: None]...434 frames drawn in 1.001 seconds => 433.6 frames/s
INFO
: FillRects [mode: Blend]...388 frames drawn in 1.002 seconds => 387.2 frames/s
INFO
: RenderCopy [mode: None]...1872 frames drawn in 1.001 seconds => 1871.0 frames/s
INFO
: RenderCopy [mode: Blend]...1860 frames drawn in 1.000 seconds => 1859.5 frames/s
INFO
: RenderCopyEx [mode: None]...1832 frames drawn in 1.000 seconds => 1831.2 frames/s
INFO
: RenderCopyEx [mode: Blend]...1840 frames drawn in 1.000 seconds => 1839.8 frames/s
INFO
: Color modulation [mode: None]...1869 frames drawn in 1.000 seconds => 1868.3 frames/s
INFO
: Color modulation [mode: Blend]...1863 frames drawn in 1.000 seconds => 1862.4 frames/s
INFO
: Alpha modulation [mode: None]...1876 frames drawn in 1.000 seconds => 1875.7 frames/s
INFO
: Alpha modulation [mode: Blend]...1875 frames drawn in 1.000 seconds => 1874.9 frames/s
INFO
: UpdateTexture [mode: None]...375.5 operations/s, 102.4 megabytes/s
INFO
: ReadPixels [mode: None]...49.8 operations/s, 13.6 megabytes/s
INFO
: Starting to test renderer called [opengles2], flags 0xA
INFO
: Points [mode: None]...5046 frames drawn in 1.000 seconds => 5045.4 frames/s
INFO
: Points [mode: Blend]...5053 frames drawn in 1.000 seconds => 5052.7 frames/s
INFO
: Lines [mode: None]...200 frames drawn in 1.006 seconds => 198.9 frames/s
INFO
: Lines [mode: Blend]...201 frames drawn in 1.002 seconds => 200.6 frames/s
INFO
: FillRects [mode: None]...1052 frames drawn in 1.000 seconds => 1051.7 frames/s
INFO
: FillRects [mode: Blend]...671 frames drawn in 1.002 seconds => 669.9 frames/s
INFO
: RenderCopy [mode: None]...4425 frames drawn in 1.000 seconds => 4424.4 frames/s
INFO
: RenderCopy [mode: Blend]...4481 frames drawn in 1.000 seconds => 4480.6 frames/s
INFO
: RenderCopyEx [mode: None]...4462 frames drawn in 1.000 seconds => 4460.9 frames/s
INFO
: RenderCopyEx [mode: Blend]...4470 frames drawn in 1.000 seconds => 4468.6 frames/s
INFO
: Color modulation [mode: None]...4430 frames drawn in 1.000 seconds => 4429.0 frames/s
INFO
: Color modulation [mode: Blend]...4453 frames drawn in 1.000 seconds => 4452.3 frames/s
INFO
: Alpha modulation [mode: None]...4447 frames drawn in 1.000 seconds => 4445.3 frames/s
INFO
: Alpha modulation [mode: Blend]...4377 frames drawn in 1.000 seconds => 4376.8 frames/s
INFO
: UpdateTexture [mode: None]...344.1 operations/s, 93.8 megabytes/s
INFO
: ReadPixels [mode: None]...38.8 operations/s, 10.6 megabytes/s
INFO
: Starting to test renderer called [software], flags 0xD
INFO
: Points [mode: None]...280 frames drawn in 1.003 seconds => 279.1 frames/s
INFO
: Points [mode: Blend]...279 frames drawn in 1.003 seconds => 278.2 frames/s
INFO
: Lines [mode: None]...172 frames drawn in 1.004 seconds => 171.3 frames/s
INFO
: Lines [mode: Blend]...146 frames drawn in 1.003 seconds => 145.5 frames/s
INFO
: FillRects [mode: None]...167 frames drawn in 1.006 seconds => 166.0 frames/s
INFO
: FillRects [mode: Blend]...30 frames drawn in 1.038 seconds => 28.9 frames/s
INFO
: RenderCopy [mode: None]...259 frames drawn in 1.001 seconds => 258.8 frames/s
INFO
: RenderCopy [mode: Blend]...213 frames drawn in 1.001 seconds => 212.7 frames/s
INFO
: RenderCopyEx [mode: None]...58 frames drawn in 1.002 seconds => 57.9 frames/s
INFO
: RenderCopyEx [mode: Blend]...140 frames drawn in 1.007 seconds => 139.0 frames/s
INFO
: Color modulation [mode: None]...215 frames drawn in 1.001 seconds => 214.7 frames/s
INFO
: Color modulation [mode: Blend]...189 frames drawn in 1.001 seconds => 188.9 frames/s
INFO
: Alpha modulation [mode: None]...217 frames drawn in 1.003 seconds => 216.3 frames/s
INFO
: Alpha modulation [mode: Blend]...183 frames drawn in 1.004 seconds => 182.3 frames/s
INFO
: UpdateTexture [mode: None]...8636.4 operations/s, 2353.8 megabytes/s
INFO
: ReadPixels [mode: None]...4609.7 operations/s, 1256.3 megabytes/s
INFO
: Bye bye


newlib:
INFO: SDL2 renderer benchmark v. 0.7 (SDL version 2.30.4)
INFO: This tool measures the speed of various 2D drawing features
INFO
: Press ESC key to quit
INFO
: Parameters: width 800, height 600, renderer name '(null)', duration 1.000 s, objects 100, sleep 0
INFO
: Image size 408*167
INFO
: Pixel format 0x16161804 (SDL_PIXELFORMAT_RGB888)
INFO: Starting to test renderer called [compositing], flags 0xE
INFO
: Points [mode: None]...2851 frames drawn in 1.000 seconds => 2850.9 frames/s
INFO
: Points [mode: Blend]...3251 frames drawn in 1.000 seconds => 3250.8 frames/s
INFO
: Lines [mode: None]...23 frames drawn in 1.000 seconds => 23.0 frames/s
INFO
: Lines [mode: Blend]...39 frames drawn in 1.011 seconds => 38.6 frames/s
INFO
: FillRects [mode: None]...429 frames drawn in 1.002 seconds => 428.3 frames/s
INFO
: FillRects [mode: Blend]...280 frames drawn in 1.003 seconds => 279.1 frames/s
INFO
: RenderCopy [mode: None]...5620 frames drawn in 1.000 seconds => 5617.7 frames/s
INFO
: RenderCopy [mode: Blend]...5603 frames drawn in 1.000 seconds => 5600.6 frames/s
INFO
: RenderCopyEx [mode: None]...5407 frames drawn in 1.000 seconds => 5406.8 frames/s
INFO
: RenderCopyEx [mode: Blend]...5492 frames drawn in 1.000 seconds => 5491.1 frames/s
INFO
: Color modulation [mode: None]...1117 frames drawn in 1.000 seconds => 1116.6 frames/s
INFO
: Color modulation [mode: Blend]...1152 frames drawn in 1.001 seconds => 1151.3 frames/s
INFO
: Alpha modulation [mode: None]...5612 frames drawn in 1.000 seconds => 5609.3 frames/s
INFO
: Alpha modulation [mode: Blend]...5461 frames drawn in 1.000 seconds => 5460.6 frames/s
INFO
: UpdateTexture [mode: None]...7913.0 operations/s, 2156.6 megabytes/s
INFO
: ReadPixels [mode: None]...42.8 operations/s, 11.7 megabytes/s
INFO
: Starting to test renderer called [opengl], flags 0x2
INFO
: Points [mode: None]...1962 frames drawn in 1.000 seconds => 1961.7 frames/s
INFO
: Points [mode: Blend]...1976 frames drawn in 1.000 seconds => 1975.1 frames/s
INFO
: Lines [mode: None]...49 frames drawn in 1.011 seconds => 48.5 frames/s
INFO
: Lines [mode: Blend]...53 frames drawn in 1.015 seconds => 52.2 frames/s
INFO
: FillRects [mode: None]...436 frames drawn in 1.000 seconds => 435.8 frames/s
INFO
: FillRects [mode: Blend]...385 frames drawn in 1.001 seconds => 384.5 frames/s
INFO
: RenderCopy [mode: None]...1868 frames drawn in 1.000 seconds => 1867.7 frames/s
INFO
: RenderCopy [mode: Blend]...1866 frames drawn in 1.002 seconds => 1862.3 frames/s
INFO
: RenderCopyEx [mode: None]...1828 frames drawn in 1.001 seconds => 1827.0 frames/s
INFO
: RenderCopyEx [mode: Blend]...1841 frames drawn in 1.000 seconds => 1840.7 frames/s
INFO
: Color modulation [mode: None]...1875 frames drawn in 1.000 seconds => 1874.4 frames/s
INFO
: Color modulation [mode: Blend]...1845 frames drawn in 1.000 seconds => 1844.1 frames/s
INFO
: Alpha modulation [mode: None]...1870 frames drawn in 1.000 seconds => 1869.1 frames/s
INFO
: Alpha modulation [mode: Blend]...1867 frames drawn in 1.000 seconds => 1866.8 frames/s
INFO
: UpdateTexture [mode: None]...373.7 operations/s, 101.8 megabytes/s
INFO
: ReadPixels [mode: None]...38.9 operations/s, 10.6 megabytes/s
INFO
: Starting to test renderer called [opengles2], flags 0xA
INFO
: Points [mode: None]...4984 frames drawn in 1.000 seconds => 4983.7 frames/s
INFO
: Points [mode: Blend]...4988 frames drawn in 1.000 seconds => 4987.6 frames/s
INFO
: Lines [mode: None]...202 frames drawn in 1.000 seconds => 202.0 frames/s
INFO
: Lines [mode: Blend]...203 frames drawn in 1.000 seconds => 202.9 frames/s
INFO
: FillRects [mode: None]...1040 frames drawn in 1.001 seconds => 1039.1 frames/s
INFO
: FillRects [mode: Blend]...673 frames drawn in 1.001 seconds => 672.1 frames/s
INFO
: RenderCopy [mode: None]...4446 frames drawn in 1.000 seconds => 4445.3 frames/s
INFO
: RenderCopy [mode: Blend]...4435 frames drawn in 1.000 seconds => 4434.9 frames/s
INFO
: RenderCopyEx [mode: None]...4452 frames drawn in 1.000 seconds => 4450.9 frames/s
INFO
: RenderCopyEx [mode: Blend]...4436 frames drawn in 1.000 seconds => 4435.0 frames/s
INFO
: Color modulation [mode: None]...4449 frames drawn in 1.000 seconds => 4448.8 frames/s
INFO
: Color modulation [mode: Blend]...4431 frames drawn in 1.000 seconds => 4429.3 frames/s
INFO
: Alpha modulation [mode: None]...4455 frames drawn in 1.000 seconds => 4454.3 frames/s
INFO
: Alpha modulation [mode: Blend]...4391 frames drawn in 1.000 seconds => 4390.1 frames/s
INFO
: UpdateTexture [mode: None]...342.6 operations/s, 93.4 megabytes/s
INFO
: ReadPixels [mode: None]...43.4 operations/s, 11.8 megabytes/s
INFO
: Starting to test renderer called [software], flags 0xD
INFO
: Points [mode: None]...278 frames drawn in 1.001 seconds => 277.7 frames/s
INFO
: Points [mode: Blend]...279 frames drawn in 1.001 seconds => 278.7 frames/s
INFO
: Lines [mode: None]...174 frames drawn in 1.002 seconds => 173.6 frames/s
INFO
: Lines [mode: Blend]...148 frames drawn in 1.006 seconds => 147.1 frames/s
INFO
: FillRects [mode: None]...167 frames drawn in 1.005 seconds => 166.1 frames/s
INFO
: FillRects [mode: Blend]...32 frames drawn in 1.000 seconds => 32.0 frames/s
INFO
: RenderCopy [mode: None]...256 frames drawn in 1.001 seconds => 255.8 frames/s
INFO
: RenderCopy [mode: Blend]...212 frames drawn in 1.004 seconds => 211.2 frames/s
INFO
: RenderCopyEx [mode: None]...64 frames drawn in 1.000 seconds => 64.0 frames/s
INFO
: RenderCopyEx [mode: Blend]...140 frames drawn in 1.003 seconds => 139.6 frames/s
INFO
: Color modulation [mode: None]...216 frames drawn in 1.000 seconds => 216.0 frames/s
INFO
: Color modulation [mode: Blend]...194 frames drawn in 1.001 seconds => 193.9 frames/s
INFO
: Alpha modulation [mode: None]...225 frames drawn in 1.005 seconds => 224.0 frames/s
INFO
: Alpha modulation [mode: Blend]...187 frames drawn in 1.003 seconds => 186.5 frames/s
INFO
: UpdateTexture [mode: None]...5243.6 operations/s, 1429.1 megabytes/s
INFO
: ReadPixels [mode: None]...4503.3 operations/s, 1227.3 megabytes/s
INFO
: Bye bye


clib4 Version beats newlib Version!

btw. Thanks for your great work with clib4 !!!


Edited by IamSONIC on 2024/7/27 17:20:54
Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@IamSONIC

Quote:
IamSONIC wrote:@afxgroup

clib4 Version beats newlib Version!

btw. Thanks for your great work with clib4 !!!


That was to be expected @smarkusg has already ported some emulators via clib4 and it was simply faster. I also use a ScummVM-Clib4 version from @afxgroup and the result is the same, it seems to be a bit more stable than with newlib.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
@Capehill
Thanks for quickly implementing something. Are you just stubbing out that function or are you planning on filling it in later? I ask wrt. commit https://github.com/AmigaPorts/SDL/comm ... 1e7d14451140fba6c4409d8b6

Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@rjd324

Thanks to You for reporting the issue!

With my current understanding this doesn't require more implementation, in other words, filtering mode is set when texture is used and will be fed to CompositeTags() call. But this dummy function is required because SDL2 doesn't check whether function pointer is NULL or not (hence the ISI exception).

Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
Makes sense.

You merged that directly into the latest release?

Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
Understandably not. I just wonder if you could make a v2.30.5-amigaos4 release with that fix?

Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@rjd324

Yeah, it must be done. Need to test it a bit.

Quote:

Have you come across a situation where an SDL2 game with cause a freeze if either DEFAULT or COMPOSITING is selected as the renderer


Did you see anything on the serial when this happened?

Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
Debug level 5. Nothing on serial at all.

Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@rjd324

Maybe application locks a texture, then calls printf() or some other function which causes deadlock.

Go to top
Re: SDL2
Quite a regular
Quite a regular


See User information
@Capehill

So, rather than building a new SDL2 I can just work around this issue by not calling that function?

Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information

Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@rjd324

Quote:

rather than building a new SDL2 I can just work around this issue by not calling that function?


Yes, I remember now that for example DosBox was doing something like

SDL_LockTexture()
SDL_UpdateWindowTitle() // Deadlock
SDL_UnlockTexture()

SDL_LockTexture() calls LockBitMapTags() and lock should be held only for accessing the texture data.

Go to top
Re: SDL2
Just popping in
Just popping in


See User information
I've updated the Benchmarks.

I've added "clib4 (GCC6.4(testBuild)+libgcc(clib4)" - SDL2 Benchmark Results.

And yeah, it's again faster and increases the gap to newlib even more.

Go to top
Re: SDL2
Home away from home
Home away from home


See User information
@IamSONIC
Interesting how much add simple usage of clib4 version of libgcc instead of clib2 one.. That can be a cause of the lots of micro (and not only micro) optimisations Andrea do lately to avoid calling unnecessary stuff when not need it, etc, like in thist commit:
https://github.com/AmigaLabs/clib4/com ... 63dabc329ca0f714343606045


ps. Did you made static builds, or .sobjs ones ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top

  Register To Post
« 1 ... 70 71 72 (73) 74 75 76 ... 78 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project