Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
92 user(s) are online (53 user(s) are browsing Forums)

Members: 1
Guests: 91

nbache, more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 70 71 72 (73)
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?

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
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.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
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:

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


Edited by IamSONIC on 2024/7/26 15: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:
INFOSDL2 renderer benchmark v0.7 (SDL version 2.30.4)
INFOThis tool measures the speed of various 2D drawing features
INFO
Press ESC key to quit
INFO
Parameterswidth 800height 600renderer name '(null)'duration 1.000 sobjects 100sleep 0
INFO
Image size 408*167
INFO
Pixel format 0x16161804 (SDL_PIXELFORMAT_RGB888)
INFOStarting to test renderer called [compositing], flags 0xE
INFO
Points [modeNone]...2859 frames drawn in 1.000 seconds => 2858.6 frames/s
INFO
Points [modeBlend]...3255 frames drawn in 1.000 seconds => 3254.4 frames/s
INFO
Lines [modeNone]...24 frames drawn in 1.038 seconds => 23.1 frames/s
INFO
Lines [modeBlend]...39 frames drawn in 1.006 seconds => 38.8 frames/s
INFO
FillRects [modeNone]...425 frames drawn in 1.002 seconds => 424.3 frames/s
INFO
FillRects [modeBlend]...276 frames drawn in 1.000 seconds => 275.9 frames/s
INFO
RenderCopy [modeNone]...5596 frames drawn in 1.000 seconds => 5595.6 frames/s
INFO
RenderCopy [modeBlend]...5650 frames drawn in 1.000 seconds => 5648.0 frames/s
INFO
RenderCopyEx [modeNone]...5423 frames drawn in 1.000 seconds => 5422.0 frames/s
INFO
RenderCopyEx [modeBlend]...5455 frames drawn in 1.000 seconds => 5453.4 frames/s
INFO
Color modulation [modeNone]...1153 frames drawn in 1.000 seconds => 1153.0 frames/s
INFO
Color modulation [modeBlend]...1122 frames drawn in 1.000 seconds => 1121.5 frames/s
INFO
Alpha modulation [modeNone]...5601 frames drawn in 1.000 seconds => 5599.7 frames/s
INFO
Alpha modulation [modeBlend]...5536 frames drawn in 1.000 seconds => 5534.9 frames/s
INFO
UpdateTexture [modeNone]...8110.2 operations/s2210.4 megabytes/s
INFO
ReadPixels [modeNone]...45.3 operations/s12.3 megabytes/s
INFO
Starting to test renderer called [opengl], flags 0x2
INFO
Points [modeNone]...1975 frames drawn in 1.000 seconds => 1974.7 frames/s
INFO
Points [modeBlend]...1979 frames drawn in 1.000 seconds => 1978.9 frames/s
INFO
Lines [modeNone]...46 frames drawn in 1.004 seconds => 45.8 frames/s
INFO
Lines [modeBlend]...51 frames drawn in 1.012 seconds => 50.4 frames/s
INFO
FillRects [modeNone]...434 frames drawn in 1.001 seconds => 433.6 frames/s
INFO
FillRects [modeBlend]...388 frames drawn in 1.002 seconds => 387.2 frames/s
INFO
RenderCopy [modeNone]...1872 frames drawn in 1.001 seconds => 1871.0 frames/s
INFO
RenderCopy [modeBlend]...1860 frames drawn in 1.000 seconds => 1859.5 frames/s
INFO
RenderCopyEx [modeNone]...1832 frames drawn in 1.000 seconds => 1831.2 frames/s
INFO
RenderCopyEx [modeBlend]...1840 frames drawn in 1.000 seconds => 1839.8 frames/s
INFO
Color modulation [modeNone]...1869 frames drawn in 1.000 seconds => 1868.3 frames/s
INFO
Color modulation [modeBlend]...1863 frames drawn in 1.000 seconds => 1862.4 frames/s
INFO
Alpha modulation [modeNone]...1876 frames drawn in 1.000 seconds => 1875.7 frames/s
INFO
Alpha modulation [modeBlend]...1875 frames drawn in 1.000 seconds => 1874.9 frames/s
INFO
UpdateTexture [modeNone]...375.5 operations/s102.4 megabytes/s
INFO
ReadPixels [modeNone]...49.8 operations/s13.6 megabytes/s
INFO
Starting to test renderer called [opengles2], flags 0xA
INFO
Points [modeNone]...5046 frames drawn in 1.000 seconds => 5045.4 frames/s
INFO
Points [modeBlend]...5053 frames drawn in 1.000 seconds => 5052.7 frames/s
INFO
Lines [modeNone]...200 frames drawn in 1.006 seconds => 198.9 frames/s
INFO
Lines [modeBlend]...201 frames drawn in 1.002 seconds => 200.6 frames/s
INFO
FillRects [modeNone]...1052 frames drawn in 1.000 seconds => 1051.7 frames/s
INFO
FillRects [modeBlend]...671 frames drawn in 1.002 seconds => 669.9 frames/s
INFO
RenderCopy [modeNone]...4425 frames drawn in 1.000 seconds => 4424.4 frames/s
INFO
RenderCopy [modeBlend]...4481 frames drawn in 1.000 seconds => 4480.6 frames/s
INFO
RenderCopyEx [modeNone]...4462 frames drawn in 1.000 seconds => 4460.9 frames/s
INFO
RenderCopyEx [modeBlend]...4470 frames drawn in 1.000 seconds => 4468.6 frames/s
INFO
Color modulation [modeNone]...4430 frames drawn in 1.000 seconds => 4429.0 frames/s
INFO
Color modulation [modeBlend]...4453 frames drawn in 1.000 seconds => 4452.3 frames/s
INFO
Alpha modulation [modeNone]...4447 frames drawn in 1.000 seconds => 4445.3 frames/s
INFO
Alpha modulation [modeBlend]...4377 frames drawn in 1.000 seconds => 4376.8 frames/s
INFO
UpdateTexture [modeNone]...344.1 operations/s93.8 megabytes/s
INFO
ReadPixels [modeNone]...38.8 operations/s10.6 megabytes/s
INFO
Starting to test renderer called [software], flags 0xD
INFO
Points [modeNone]...280 frames drawn in 1.003 seconds => 279.1 frames/s
INFO
Points [modeBlend]...279 frames drawn in 1.003 seconds => 278.2 frames/s
INFO
Lines [modeNone]...172 frames drawn in 1.004 seconds => 171.3 frames/s
INFO
Lines [modeBlend]...146 frames drawn in 1.003 seconds => 145.5 frames/s
INFO
FillRects [modeNone]...167 frames drawn in 1.006 seconds => 166.0 frames/s
INFO
FillRects [modeBlend]...30 frames drawn in 1.038 seconds => 28.9 frames/s
INFO
RenderCopy [modeNone]...259 frames drawn in 1.001 seconds => 258.8 frames/s
INFO
RenderCopy [modeBlend]...213 frames drawn in 1.001 seconds => 212.7 frames/s
INFO
RenderCopyEx [modeNone]...58 frames drawn in 1.002 seconds => 57.9 frames/s
INFO
RenderCopyEx [modeBlend]...140 frames drawn in 1.007 seconds => 139.0 frames/s
INFO
Color modulation [modeNone]...215 frames drawn in 1.001 seconds => 214.7 frames/s
INFO
Color modulation [modeBlend]...189 frames drawn in 1.001 seconds => 188.9 frames/s
INFO
Alpha modulation [modeNone]...217 frames drawn in 1.003 seconds => 216.3 frames/s
INFO
Alpha modulation [modeBlend]...183 frames drawn in 1.004 seconds => 182.3 frames/s
INFO
UpdateTexture [modeNone]...8636.4 operations/s2353.8 megabytes/s
INFO
ReadPixels [modeNone]...4609.7 operations/s1256.3 megabytes/s
INFO
Bye bye


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


clib4 Version beats newlib Version!

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

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 A1222plus 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

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
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?

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top

  Register To Post
« 1 ... 70 71 72 (73)

 




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




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project