Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

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

Members: 1
Guests: 142

AmigaSociety, more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 11 12 13 (14) 15 16 17 ... 74 »
Re: SDL2
Home away from home
Home away from home


See User information
@Raziel

Indeed, on download section still there the old r119

https://sourceforge.net/projects/sdl2-amigaos4/files/

Of course source is now at r164 and contains a lot of new things and fixes, so would be nice to have a new official release

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


See User information
r164 binaries are now published: https://sourceforge.net/projects/sdl2-amigaos4/files/

And OS4Depot soon I hope. Changes after r119:

- SDL 2.0.4 merge
- bugfixes
- experimental OGLES2 context support

Next stop SDL 2.0.5...

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


See User information
@Capehill

Awesome, off to check the new additions and bug fixes

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


See User information
Just a note:

if someone would like to build the test suite the makefile suold be modified a little in this way:

just comment out the lines that invoke the build and link of the opengles2 test, cause not everyone have the opengles2 headers available on their own machine.

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


See User information
Anyone can give a hint how to use the SDL_SetHint() option to make it work on programs?

I tried with
SDL_SetHint(SDL_HINT_RENDER_DRIVER, "opengl");
but it doesn't seem to speed up anything.

@capehill

You said in my bug item not to use a render target, but how would one do that?

Noob here, sorry

EDIT: Then again, it says it "should be fairly fast if textures are static."...in a game engine there aren't many static textures, but maybe i understand it wrong

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


See User information
@Raziel

You need to give hint before creating renderer. After renderer has been created, you can call another function to check the name of the created renderer. https://wiki.libsdl.org/SDL_GetRendererInfo

Anyway, without hint, you should get compositing renderer. It's faster than OpenGL renderer in most cases. OGLES2 renderer I haven't personally tested and I heard it is not bug-free so that's why it's not mentioned in the readme file at all.

MiniGL doesn't support frame buffer objects, therefore OpenGL renderer cannot support SDL_RENDERER_TARGETTEXTURE.

So, if you need SDL_RENDERER_TARGETTEXTURE, you can use either compositing or software. (Maybe some day OGLES2.)


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


See User information
@Capehill

But the readme says that

Compositing renderer currently supports only 32-bit bitmaps.

...so, if the project opens it's own screen in e.g. 8-bit it doesn't work, right?

Btw, make sure to close all those bug reports on sourceforge

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


See User information
@capehill

Unfortunately it doesn't make a difference...hmm, have to dig deeper then

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


See User information
@Raziel

If application uses 32-bit textures internally then it will work regardless of the screen depth. But color conversion can slow down the blitting.

Most SDL2 apps I have seen so far used 32-bit textures. Support for others might be considered.

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


See User information
@Raziel

Please try this:

SDL_RendererInfo ri;
int result;

result SDL_GetRendererInfo(renderer, &ri);

if (
result) {
    
SDL_Log("Failed to get renderer info\n");
} else {
    
SDL_Log("Renderer called [%s], flags 0x%X\n"ri.nameri.flags);
}


I checked your project and it doesn't need frame buffer objects. Therefore all renderers should be OK. However, since both "compositing" and "opengl" renderers support 32-bit textures, 16-bit texture that your project uses, needs extra conversion which slows things.

I will create a ticket to add support for 16-bit textures for compositing renderer. Then at least one step can be removed from this scenario:

1) game draws pixels to 16-bit surface
2) surface is converted to 16-bit texture
3) 16-bit texture is converted to 32-bit texture (if opengl or compositing)
4) texture is uploaded from RAM to VRAM
5) 32-bit texture is blitted onto window (of N depth)

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


See User information
@Capehill


Awesome, thank you very much for looking into it.

It does pick the compositing by default as you told.

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


See User information
r177 is released. It contains 2.0.5 changes and various bugfixes. I have some game ports waiting for this so stay tuned...

https://sourceforge.net/projects/sdl2-amigaos4/

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


See User information
@Capehill

This is my sdl2 benchmark on my X5000 with R7 250 2GB GDDR5 and RadeonHD 2.10 and warp3dsi

sdl2benchmark
INFO: SDL2 renderer benchmark v. 0.2
INFO: Parameters: width 800, height 600, iterations 100, 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]...100 frames drawn in 0.031 seconds => 3235.9 frames per second
INFO: Points [mode: Blend]...100 frames drawn in 0.026 seconds => 3819.6 frames per second
INFO: Points [mode: Add]...100 frames drawn in 0.026 seconds => 3857.0 frames per second
INFO: Points [mode: Mod]...100 frames drawn in 0.026 seconds => 3826.4 frames per second
INFO: Lines [mode: None]...100 frames drawn in 0.076 seconds => 1310.5 frames per second
INFO: Lines [mode: Blend]...100 frames drawn in 1.402 seconds => 71.3 frames per second
INFO: Lines [mode: Add]...100 frames drawn in 1.352 seconds => 74.0 frames per second
INFO: Lines [mode: Mod]...100 frames drawn in 1.388 seconds => 72.0 frames per second
INFO: FillRects [mode: None]...100 frames drawn in 0.161 seconds => 622.4 frames per second
INFO: FillRects [mode: Blend]...100 frames drawn in 0.286 seconds => 350.0 frames per second
INFO: FillRects [mode: Add]...100 frames drawn in 0.286 seconds => 349.9 frames per second
INFO: FillRects [mode: Mod]...100 frames drawn in 0.286 seconds => 350.0 frames per second
INFO: RenderCopy [mode: None]...100 frames drawn in 0.021 seconds => 4654.0 frames per second
INFO: RenderCopy [mode: Blend]...100 frames drawn in 0.028 seconds => 3610.4 frames per second
INFO: RenderCopy [mode: Add]...100 frames drawn in 0.026 seconds => 3822.6 frames per second
INFO: [prepareTexture]Failed to set texture blend mode
INFO: RenderCopyEx [mode: None]...100 frames drawn in 0.021 seconds => 4694.8 frames per second
INFO: RenderCopyEx [mode: Blend]...100 frames drawn in 0.023 seconds => 4266.9 frames per second
INFO: RenderCopyEx [mode: Add]...100 frames drawn in 0.026 seconds => 3896.4 frames per second
INFO: [prepareTexture]Failed to set texture blend mode
INFO: Color modulation [mode: None]...100 frames drawn in 0.105 seconds => 949.7 frames per second
INFO: Color modulation [mode: Blend]...100 frames drawn in 0.105 seconds => 951.1 frames per second
INFO: Color modulation [mode: Add]...100 frames drawn in 0.105 seconds => 948.7 frames per second
INFO: [prepareTexture]Failed to set texture blend mode
INFO: Alpha modulation [mode: None]...100 frames drawn in 0.022 seconds => 4619.4 frames per second
INFO: Alpha modulation [mode: Blend]...100 frames drawn in 0.026 seconds => 3842.3 frames per second
INFO: Alpha modulation [mode: Add]...100 frames drawn in 0.030 seconds => 3357.1 frames per second
INFO: [prepareTexture]Failed to set texture blend mode
INFO: UpdateTexture [mode: None]...100 frames drawn in 0.030 seconds => 3388.7 frames per second, 3524.2 operations per second
INFO: UpdateTexture [mode: Blend]...100 frames drawn in 0.034 seconds => 2932.9 frames per second, 3050.2 operations per second
INFO: UpdateTexture [mode: Add]...100 frames drawn in 0.034 seconds => 2931.2 frames per second, 3048.4 operations per second
INFO: [prepareTexture]Failed to set texture blend mode
INFO: ReadPixels [mode: None]...0 frames drawn in 1.642 seconds => 0.0 frames per second, 60.9 operations per second
INFO: ReadPixels [mode: Blend]...0 frames drawn in 1.782 seconds => 0.0 frames per second, 56.1 operations per second
INFO: ReadPixels [mode: Add]...0 frames drawn in 1.642 seconds => 0.0 frames per second, 60.9 operations per second
INFO: [prepareTexture]Failed to set texture blend mode
INFO: Starting to test renderer called [opengl], flags 0x2
INFO: Points [mode: None]...100 frames drawn in 0.039 seconds => 2573.9 frames per second
INFO: Points [mode: Blend]...100 frames drawn in 0.043 seconds => 2350.3 frames per second
INFO: Points [mode: Add]...100 frames drawn in 0.039 seconds => 2571.0 frames per second
INFO: Points [mode: Mod]...100 frames drawn in 0.039 seconds => 2562.6 frames per second
INFO: Lines [mode: None]...100 frames drawn in 0.050 seconds => 1999.4 frames per second
INFO: Lines [mode: Blend]...100 frames drawn in 0.054 seconds => 1845.6 frames per second
INFO: Lines [mode: Add]...100 frames drawn in 0.054 seconds => 1848.8 frames per second
INFO: Lines [mode: Mod]...100 frames drawn in 0.054 seconds => 1844.3 frames per second
INFO: FillRects [mode: None]...100 frames drawn in 0.211 seconds => 474.9 frames per second
INFO: FillRects [mode: Blend]...100 frames drawn in 0.230 seconds => 433.9 frames per second
INFO: FillRects [mode: Add]...100 frames drawn in 0.231 seconds => 433.0 frames per second
INFO: FillRects [mode: Mod]...100 frames drawn in 0.231 seconds => 432.0 frames per second
INFO: RenderCopy [mode: None]...100 frames drawn in 0.048 seconds => 2100.8 frames per second
INFO: RenderCopy [mode: Blend]...100 frames drawn in 0.048 seconds => 2101.1 frames per second
INFO: RenderCopy [mode: Add]...100 frames drawn in 0.047 seconds => 2111.5 frames per second
INFO: RenderCopy [mode: Mod]...100 frames drawn in 0.047 seconds => 2110.4 frames per second
INFO: RenderCopyEx [mode: None]...100 frames drawn in 0.050 seconds => 1983.9 frames per second
INFO: RenderCopyEx [mode: Blend]...100 frames drawn in 0.047 seconds => 2122.5 frames per second
INFO: RenderCopyEx [mode: Add]...100 frames drawn in 0.047 seconds => 2115.8 frames per second
INFO: RenderCopyEx [mode: Mod]...100 frames drawn in 0.047 seconds => 2118.6 frames per second
INFO: Color modulation [mode: None]...100 frames drawn in 0.041 seconds => 2434.0 frames per second
INFO: Color modulation [mode: Blend]...100 frames drawn in 0.041 seconds => 2432.7 frames per second
INFO: Color modulation [mode: Add]...100 frames drawn in 0.041 seconds => 2434.0 frames per second
INFO: Color modulation [mode: Mod]...100 frames drawn in 0.041 seconds => 2434.3 frames per second
INFO: Alpha modulation [mode: None]...100 frames drawn in 0.048 seconds => 2101.6 frames per second
INFO: Alpha modulation [mode: Blend]...100 frames drawn in 0.052 seconds => 1928.6 frames per second
INFO: Alpha modulation [mode: Add]...100 frames drawn in 0.048 seconds => 2098.9 frames per second
INFO: Alpha modulation [mode: Mod]...100 frames drawn in 0.048 seconds => 2090.2 frames per second
INFO: UpdateTexture [mode: None]...100 frames drawn in 0.060 seconds => 1665.2 frames per second, 1731.8 operations per second
INFO: UpdateTexture [mode: Blend]...100 frames drawn in 0.056 seconds => 1788.7 frames per second, 1860.3 operations per second
INFO: UpdateTexture [mode: Add]...100 frames drawn in 0.056 seconds => 1789.9 frames per second, 1861.5 operations per second
INFO: UpdateTexture [mode: Mod]...100 frames drawn in 0.056 seconds => 1789.7 frames per second, 1861.3 operations per second
INFO: ReadPixels [mode: None]...0 frames drawn in 1.997 seconds => 0.0 frames per second, 50.1 operations per second
INFO: ReadPixels [mode: Blend]...0 frames drawn in 1.950 seconds => 0.0 frames per second, 51.3 operations per second
INFO: ReadPixels [mode: Add]...0 frames drawn in 1.950 seconds => 0.0 frames per second, 51.3 operations per second
INFO: ReadPixels [mode: Mod]...0 frames drawn in 1.951 seconds => 0.0 frames per second, 51.2 operations per second
INFO: Failed to create renderer
INFO: Starting to test renderer called [software], flags 0x9
INFO: Points [mode: None]...100 frames drawn in 0.351 seconds => 285.0 frames per second
INFO: Points [mode: Blend]...100 frames drawn in 0.351 seconds => 284.7 frames per second
INFO: Points [mode: Add]...100 frames drawn in 0.351 seconds => 284.7 frames per second
INFO: Points [mode: Mod]...100 frames drawn in 0.352 seconds => 284.5 frames per second
INFO: Lines [mode: None]...100 frames drawn in 0.386 seconds => 258.8 frames per second
INFO: Lines [mode: Blend]...100 frames drawn in 0.461 seconds => 217.0 frames per second
INFO: Lines [mode: Add]...100 frames drawn in 0.463 seconds => 216.1 frames per second
INFO: Lines [mode: Mod]...100 frames drawn in 0.459 seconds => 218.1 frames per second
INFO: FillRects [mode: None]...100 frames drawn in 0.592 seconds => 168.8 frames per second
INFO: FillRects [mode: Blend]...100 frames drawn in 3.189 seconds => 31.4 frames per second
INFO: FillRects [mode: Add]...100 frames drawn in 2.676 seconds => 37.4 frames per second
INFO: FillRects [mode: Mod]...100 frames drawn in 2.768 seconds => 36.1 frames per second
INFO: RenderCopy [mode: None]...100 frames drawn in 0.434 seconds => 230.6 frames per second
INFO: RenderCopy [mode: Blend]...100 frames drawn in 0.634 seconds => 157.6 frames per second
INFO: RenderCopy [mode: Add]...100 frames drawn in 0.593 seconds => 168.7 frames per second
INFO: RenderCopy [mode: Mod]...100 frames drawn in 0.583 seconds => 171.5 frames per second
INFO: RenderCopyEx [mode: None]...100 frames drawn in 1.222 seconds => 81.8 frames per second
INFO: RenderCopyEx [mode: Blend]...100 frames drawn in 1.164 seconds => 85.9 frames per second
INFO: RenderCopyEx [mode: Add]...100 frames drawn in 1.604 seconds => 62.4 frames per second
INFO: RenderCopyEx [mode: Mod]...100 frames drawn in 1.557 seconds => 64.2 frames per second
INFO: Color modulation [mode: None]...100 frames drawn in 0.396 seconds => 252.6 frames per second
INFO: Color modulation [mode: Blend]...100 frames drawn in 0.410 seconds => 243.7 frames per second
INFO: Color modulation [mode: Add]...100 frames drawn in 0.403 seconds => 248.2 frames per second
INFO: Color modulation [mode: Mod]...100 frames drawn in 0.402 seconds => 248.9 frames per second
INFO: Alpha modulation [mode: None]...100 frames drawn in 0.516 seconds => 193.9 frames per second
INFO: Alpha modulation [mode: Blend]...100 frames drawn in 0.702 seconds => 142.4 frames per second
INFO: Alpha modulation [mode: Add]...100 frames drawn in 0.666 seconds => 150.2 frames per second
INFO: Alpha modulation [mode: Mod]...100 frames drawn in 0.607 seconds => 164.6 frames per second
INFO: UpdateTexture [mode: None]...100 frames drawn in 0.547 seconds => 182.7 frames per second, 190.0 operations per second
INFO: UpdateTexture [mode: Blend]...100 frames drawn in 0.713 seconds => 140.3 frames per second, 145.9 operations per second
INFO: UpdateTexture [mode: Add]...100 frames drawn in 0.660 seconds => 151.6 frames per second, 157.7 operations per second
INFO: UpdateTexture [mode: Mod]...100 frames drawn in 0.634 seconds => 157.8 frames per second, 164.1 operations per second
INFO: ReadPixels [mode: None]...0 frames drawn in 0.024 seconds => 0.0 frames per second, 4201.0 operations per second
INFO: ReadPixels [mode: Blend]...0 frames drawn in 0.023 seconds => 0.0 frames per second, 4258.0 operations per second
INFO: ReadPixels [mode: Add]...0 frames drawn in 0.024 seconds => 0.0 frames per second, 4223.7 operations per second
INFO: ReadPixels [mode: Mod]...0 frames drawn in 0.023 seconds => 0.0 frames per second, 4264.4 operations per second
INFO: Bye bye

X5000/40 16GB
RasperryPi 1-2-3-4-(5)
A500 Mini.
Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@tlosm

RenderCopy (compositing) is the most important I think. On Sam440 it's around 700 FPS.

It would be interesting to get some OpenGLES2 result because I haven't tested those myself. Might have some issues though.

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


See User information
@Capehill
How i can test opengles renderer of sdl2 in easy and fast way ? Maybe there some test-case writen already ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@kas1e

Please try sdl2benchmark tool, should be included. If you check the above log there is this line "failed to create renderer" which was probably because OpenGLES2 context couldn't be initialized on this particular system.

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


See User information
@Capehill
Quote:

which was probably because OpenGLES2 context couldn't be initialized on this particular system.

Ok, will try now. OpenGl there mean MiniGl , and Ogles2 will be "OpenGLES" ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL2
Just can't stay away
Just can't stay away


See User information
@kas1e

Yes, https://sourceforge.net/p/sdl2-amigaos ... AD/tree/trunk/src/render/

There is one for classic OpenGL, one for OpenGL ES 1 and one for OpenGL ES 2.

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


See User information
@Capehill
X5000 / R7-250 (ranger say Radeon HD 8830M)

OpenglES2 renderer creates fine, there is my results:

Quote:

INFO: SDL2 renderer benchmark v. 0.2
INFO: Parameters: width 800, height 600, iterations 100, 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]...100 frames drawn in 0.028 seconds => 3542.5 frames per second
INFO: Points [mode: Blend]...100 frames drawn in 0.026 seconds => 3845.0 frames per second
INFO: Points [mode: Add]...100 frames drawn in 0.026 seconds => 3856.8 frames per second
INFO: Points [mode: Mod]...100 frames drawn in 0.026 seconds => 3858.9 frames per second
INFO: Lines [mode: None]...100 frames drawn in 0.074 seconds => 1349.9 frames per second
INFO: Lines [mode: Blend]...100 frames drawn in 1.373 seconds => 72.8 frames per second
INFO: Lines [mode: Add]...100 frames drawn in 1.326 seconds => 75.4 frames per second
INFO: Lines [mode: Mod]...100 frames drawn in 1.359 seconds => 73.6 frames per second
INFO: FillRects [mode: None]...100 frames drawn in 0.159 seconds => 628.9 frames per second
INFO: FillRects [mode: Blend]...100 frames drawn in 0.293 seconds => 341.5 frames per second
INFO: FillRects [mode: Add]...100 frames drawn in 0.284 seconds => 352.3 frames per second
INFO: FillRects [mode: Mod]...100 frames drawn in 0.284 seconds => 352.0 frames per second
INFO: RenderCopy [mode: None]...100 frames drawn in 0.022 seconds => 4564.1 frames per second
INFO: RenderCopy [mode: Blend]...100 frames drawn in 0.024 seconds => 4167.9 frames per second
INFO: RenderCopy [mode: Add]...100 frames drawn in 0.026 seconds => 3792.8 frames per second
INFO: [prepareTexture]Failed to set texture blend mode
INFO: RenderCopyEx [mode: None]...100 frames drawn in 0.022 seconds => 4577.1 frames per second
INFO: RenderCopyEx [mode: Blend]...100 frames drawn in 0.024 seconds => 4186.0 frames per second
INFO: RenderCopyEx [mode: Add]...100 frames drawn in 0.026 seconds => 3853.3 frames per second
INFO: [prepareTexture]Failed to set texture blend mode
INFO: Color modulation [mode: None]...100 frames drawn in 0.105 seconds => 955.1 frames per second
INFO: Color modulation [mode: Blend]...100 frames drawn in 0.105 seconds => 952.3 frames per second
INFO: Color modulation [mode: Add]...100 frames drawn in 0.110 seconds => 906.9 frames per second
INFO: [prepareTexture]Failed to set texture blend mode
INFO: Alpha modulation [mode: None]...100 frames drawn in 0.025 seconds => 3945.7 frames per second
INFO: Alpha modulation [mode: Blend]...100 frames drawn in 0.026 seconds => 3778.0 frames per second
INFO: Alpha modulation [mode: Add]...100 frames drawn in 0.026 seconds => 3780.4 frames per second
INFO: [prepareTexture]Failed to set texture blend mode
INFO: UpdateTexture [mode: None]...100 frames drawn in 0.030 seconds => 3294.9 frames per second, 3426.7 operations per second
INFO: UpdateTexture [mode: Blend]...100 frames drawn in 0.035 seconds => 2862.9 frames per second, 2977.4 operations per second
INFO: UpdateTexture [mode: Add]...100 frames drawn in 0.035 seconds => 2850.1 frames per second, 2964.1 operations per second
INFO: [prepareTexture]Failed to set texture blend mode
INFO: ReadPixels [mode: None]...0 frames drawn in 1.528 seconds => 0.0 frames per second, 65.4 operations per second
INFO: ReadPixels [mode: Blend]...0 frames drawn in 1.670 seconds => 0.0 frames per second, 59.9 operations per second
INFO: ReadPixels [mode: Add]...0 frames drawn in 1.525 seconds => 0.0 frames per second, 65.6 operations per second
INFO: [prepareTexture]Failed to set texture blend mode

INFO: Starting to test renderer called [opengl], flags 0x2
INFO: Points [mode: None]...100 frames drawn in 0.039 seconds => 2593.4 frames per second
INFO: Points [mode: Blend]...100 frames drawn in 0.038 seconds => 2604.4 frames per second
INFO: Points [mode: Add]...100 frames drawn in 0.038 seconds => 2603.3 frames per second
INFO: Points [mode: Mod]...100 frames drawn in 0.038 seconds => 2599.5 frames per second
INFO: Lines [mode: None]...100 frames drawn in 0.046 seconds => 2162.3 frames per second
INFO: Lines [mode: Blend]...100 frames drawn in 0.054 seconds => 1853.2 frames per second
INFO: Lines [mode: Add]...100 frames drawn in 0.054 seconds => 1851.4 frames per second
INFO: Lines [mode: Mod]...100 frames drawn in 0.054 seconds => 1851.5 frames per second
INFO: FillRects [mode: None]...100 frames drawn in 0.210 seconds => 476.0 frames per second
INFO: FillRects [mode: Blend]...100 frames drawn in 0.227 seconds => 441.5 frames per second
INFO: FillRects [mode: Add]...100 frames drawn in 0.227 seconds => 440.2 frames per second
INFO: FillRects [mode: Mod]...100 frames drawn in 0.227 seconds => 440.0 frames per second
INFO: RenderCopy [mode: None]...100 frames drawn in 0.052 seconds => 1924.1 frames per second
INFO: RenderCopy [mode: Blend]...100 frames drawn in 0.047 seconds => 2119.2 frames per second
INFO: RenderCopy [mode: Add]...100 frames drawn in 0.051 seconds => 1978.8 frames per second
INFO: RenderCopy [mode: Mod]...100 frames drawn in 0.047 seconds => 2117.4 frames per second
INFO: RenderCopyEx [mode: None]...100 frames drawn in 0.047 seconds => 2122.2 frames per second
INFO: RenderCopyEx [mode: Blend]...100 frames drawn in 0.047 seconds => 2136.5 frames per second
INFO: RenderCopyEx [mode: Add]...100 frames drawn in 0.047 seconds => 2133.5 frames per second
INFO: RenderCopyEx [mode: Mod]...100 frames drawn in 0.047 seconds => 2137.5 frames per second
INFO: Color modulation [mode: None]...100 frames drawn in 0.041 seconds => 2444.5 frames per second
INFO: Color modulation [mode: Blend]...100 frames drawn in 0.041 seconds => 2452.8 frames per second
INFO: Color modulation [mode: Add]...100 frames drawn in 0.041 seconds => 2453.1 frames per second
INFO: Color modulation [mode: Mod]...100 frames drawn in 0.041 seconds => 2454.8 frames per second
INFO: Alpha modulation [mode: None]...100 frames drawn in 0.047 seconds => 2124.5 frames per second
INFO: Alpha modulation [mode: Blend]...100 frames drawn in 0.047 seconds => 2110.2 frames per second
INFO: Alpha modulation [mode: Add]...100 frames drawn in 0.048 seconds => 2104.3 frames per second
INFO: Alpha modulation [mode: Mod]...100 frames drawn in 0.052 seconds => 1921.2 frames per second
INFO: UpdateTexture [mode: None]...100 frames drawn in 0.056 seconds => 1771.5 frames per second, 1842.4 operations per second
INFO: UpdateTexture [mode: Blend]...100 frames drawn in 0.056 seconds => 1776.8 frames per second, 1847.9 operations per second
INFO: UpdateTexture [mode: Add]...100 frames drawn in 0.056 seconds => 1779.2 frames per second, 1850.4 operations per second
INFO: UpdateTexture [mode: Mod]...100 frames drawn in 0.056 seconds => 1776.5 frames per second, 1847.6 operations per second
INFO: ReadPixels [mode: None]...0 frames drawn in 1.862 seconds => 0.0 frames per second, 53.7 operations per second
INFO: ReadPixels [mode: Blend]...0 frames drawn in 1.815 seconds => 0.0 frames per second, 55.1 operations per second
INFO: ReadPixels [mode: Add]...0 frames drawn in 1.820 seconds => 0.0 frames per second, 54.9 operations per second
INFO: ReadPixels [mode: Mod]...0 frames drawn in 1.819 seconds => 0.0 frames per second, 55.0 operations per second

INFO: Starting to test renderer called [opengles2], flags 0xA
INFO: Points [mode: None]...100 frames drawn in 0.511 seconds => 195.7 frames per second
INFO: Points [mode: Blend]...100 frames drawn in 0.022 seconds => 4579.6 frames per second
INFO: Points [mode: Add]...100 frames drawn in 0.022 seconds => 4618.1 frames per second
INFO: Points [mode: Mod]...100 frames drawn in 0.022 seconds => 4623.2 frames per second
INFO: Lines [mode: None]...100 frames drawn in 0.029 seconds => 3464.0 frames per second
INFO: Lines [mode: Blend]...100 frames drawn in 0.036 seconds => 2750.0 frames per second
INFO: Lines [mode: Add]...100 frames drawn in 0.037 seconds => 2736.2 frames per second
INFO: Lines [mode: Mod]...100 frames drawn in 0.036 seconds => 2771.6 frames per second
INFO: FillRects [mode: None]...100 frames drawn in 0.120 seconds => 832.3 frames per second
INFO: FillRects [mode: Blend]...100 frames drawn in 0.120 seconds => 832.5 frames per second
INFO: FillRects [mode: Add]...100 frames drawn in 0.124 seconds => 803.3 frames per second
INFO: FillRects [mode: Mod]...100 frames drawn in 0.120 seconds => 833.9 frames per second
INFO: RenderCopy [mode: None]...100 frames drawn in 0.255 seconds => 391.9 frames per second
INFO: RenderCopy [mode: Blend]...100 frames drawn in 0.022 seconds => 4609.6 frames per second
INFO: RenderCopy [mode: Add]...100 frames drawn in 0.022 seconds => 4642.5 frames per second
INFO: RenderCopy [mode: Mod]...100 frames drawn in 0.022 seconds => 4626.4 frames per second
INFO: RenderCopyEx [mode: None]...100 frames drawn in 0.028 seconds => 3518.8 frames per second
INFO: RenderCopyEx [mode: Blend]...100 frames drawn in 0.030 seconds => 3342.1 frames per second
INFO: RenderCopyEx [mode: Add]...100 frames drawn in 0.029 seconds => 3468.7 frames per second
INFO: RenderCopyEx [mode: Mod]...100 frames drawn in 0.030 seconds => 3372.1 frames per second
INFO: Color modulation [mode: None]...100 frames drawn in 0.023 seconds => 4331.1 frames per second
INFO: Color modulation [mode: Blend]...100 frames drawn in 0.023 seconds => 4313.5 frames per second
INFO: Color modulation [mode: Add]...100 frames drawn in 0.023 seconds => 4337.3 frames per second
INFO: Color modulation [mode: Mod]...100 frames drawn in 0.023 seconds => 4324.0 frames per second
INFO: Alpha modulation [mode: None]...100 frames drawn in 0.029 seconds => 3466.1 frames per second
INFO: Alpha modulation [mode: Blend]...100 frames drawn in 0.030 seconds => 3362.5 frames per second
INFO: Alpha modulation [mode: Add]...100 frames drawn in 0.034 seconds => 2969.9 frames per second
INFO: Alpha modulation [mode: Mod]...100 frames drawn in 0.030 seconds => 3357.5 frames per second
INFO: UpdateTexture [mode: None]...100 frames drawn in 0.031 seconds => 3234.6 frames per second, 3364.0 operations per second
INFO: UpdateTexture [mode: Blend]...100 frames drawn in 0.032 seconds => 3127.6 frames per second, 3252.7 operations per second
INFO: UpdateTexture [mode: Add]...100 frames drawn in 0.031 seconds => 3247.7 frames per second, 3377.6 operations per second
INFO: UpdateTexture [mode: Mod]...100 frames drawn in 0.032 seconds => 3145.3 frames per second, 3271.2 operations per second
INFO: ReadPixels [mode: None]...0 frames drawn in 2.098 seconds => 0.0 frames per second, 47.7 operations per second
INFO: ReadPixels [mode: Blend]...0 frames drawn in 1.934 seconds => 0.0 frames per second, 51.7 operations per second
INFO: ReadPixels [mode: Add]...0 frames drawn in 2.027 seconds => 0.0 frames per second, 49.3 operations per second
INFO: ReadPixels [mode: Mod]...0 frames drawn in 2.071 seconds => 0.0 frames per second, 48.3 operations per second

INFO: Starting to test renderer called [software], flags 0x9
INFO: Points [mode: None]...100 frames drawn in 0.359 seconds => 278.6 frames per second
INFO: Points [mode: Blend]...100 frames drawn in 0.354 seconds => 282.2 frames per second
INFO: Points [mode: Add]...100 frames drawn in 0.355 seconds => 281.6 frames per second
INFO: Points [mode: Mod]...100 frames drawn in 0.360 seconds => 278.1 frames per second
INFO: Lines [mode: None]...100 frames drawn in 0.395 seconds => 253.0 frames per second
INFO: Lines [mode: Blend]...100 frames drawn in 0.507 seconds => 197.3 frames per second
INFO: Lines [mode: Add]...100 frames drawn in 0.502 seconds => 199.0 frames per second
INFO: Lines [mode: Mod]...100 frames drawn in 0.502 seconds => 199.2 frames per second
INFO: FillRects [mode: None]...100 frames drawn in 0.661 seconds => 151.3 frames per second
INFO: FillRects [mode: Blend]...100 frames drawn in 3.568 seconds => 28.0 frames per second
INFO: FillRects [mode: Add]...100 frames drawn in 2.998 seconds => 33.4 frames per second
INFO: FillRects [mode: Mod]...100 frames drawn in 3.105 seconds => 32.2 frames per second
INFO: RenderCopy [mode: None]...100 frames drawn in 0.453 seconds => 220.6 frames per second
INFO: RenderCopy [mode: Blend]...100 frames drawn in 0.700 seconds => 142.8 frames per second
INFO: RenderCopy [mode: Add]...100 frames drawn in 0.643 seconds => 155.6 frames per second
INFO: RenderCopy [mode: Mod]...100 frames drawn in 0.643 seconds => 155.6 frames per second
INFO: RenderCopyEx [mode: None]...100 frames drawn in 1.305 seconds => 76.6 frames per second
INFO: RenderCopyEx [mode: Blend]...100 frames drawn in 1.275 seconds => 78.4 frames per second
INFO: RenderCopyEx [mode: Add]...100 frames drawn in 1.747 seconds => 57.3 frames per second
INFO: RenderCopyEx [mode: Mod]...100 frames drawn in 1.754 seconds => 57.0 frames per second
INFO: Color modulation [mode: None]...100 frames drawn in 0.413 seconds => 242.4 frames per second
INFO: Color modulation [mode: Blend]...100 frames drawn in 0.428 seconds => 233.4 frames per second
INFO: Color modulation [mode: Add]...100 frames drawn in 0.418 seconds => 239.4 frames per second
INFO: Color modulation [mode: Mod]...100 frames drawn in 0.420 seconds => 238.3 frames per second
INFO: Alpha modulation [mode: None]...100 frames drawn in 0.548 seconds => 182.4 frames per second
INFO: Alpha modulation [mode: Blend]...100 frames drawn in 0.772 seconds => 129.5 frames per second
INFO: Alpha modulation [mode: Add]...100 frames drawn in 0.728 seconds => 137.3 frames per second
INFO: Alpha modulation [mode: Mod]...100 frames drawn in 0.663 seconds => 150.9 frames per second
INFO: UpdateTexture [mode: None]...100 frames drawn in 0.575 seconds => 173.9 frames per second, 180.8 operations per second
INFO: UpdateTexture [mode: Blend]...100 frames drawn in 0.781 seconds => 128.0 frames per second, 133.1 operations per second
INFO: UpdateTexture [mode: Add]...100 frames drawn in 0.719 seconds => 139.1 frames per second, 144.7 operations per second
INFO: UpdateTexture [mode: Mod]...100 frames drawn in 0.702 seconds => 142.5 frames per second, 148.2 operations per second
INFO: ReadPixels [mode: None]...0 frames drawn in 0.029 seconds => 0.0 frames per second, 3406.0 operations per second
INFO: ReadPixels [mode: Blend]...0 frames drawn in 0.028 seconds => 0.0 frames per second, 3550.9 operations per second
INFO: ReadPixels [mode: Add]...0 frames drawn in 0.028 seconds => 0.0 frames per second, 3620.8 operations per second
INFO: ReadPixels [mode: Mod]...0 frames drawn in 0.028 seconds => 0.0 frames per second, 3627.5 operations per second
INFO: Bye bye

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SDL2
Home away from home
Home away from home


See User information
@Capehill
Strange that in some parts opengles2 one is slower than minigl one.. For example:

Points [mode: None]:
minigl - 2593.4 frames per second
ogles2 - 195.7 frames per second

RenderCopy [mode: None]
minigl - 1924.1 frames per second
ogles2 - 391.9 frames per second

And readpixels in all modes a little faster in Minigl than on Ogles2.

All the other values faster in ogles2 for about 2 times, just those ones somehow drastically slower, just like almost software mode :)

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

  Register To Post
« 1 ... 11 12 13 (14) 15 16 17 ... 74 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project