Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
70 user(s) are online (58 user(s) are browsing Forums)

Members: 0
Guests: 70

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: SDL2

Subject: Re: SDL2
by kas1e on 2019/4/9 17:02:38

@Capehill
Quote:

By default renderer batching is not enabled (this is a new thing, added after official 2.0.9 I think) and this hurts at least the opengles2 renderer. Without patching, each primitive is drawn separately by glDrawArrays.

So, please try:

setenv SDL_RENDER_BATCHING 1


Tested : just crashed in ogles2.library :)

Quote:

For me testdraw2 --renderer opengl didn't actually work. I think opengl renderer broke at some point after 2.0.8 release. SDL2 keeps changing and it's sometimes difficult to keep up with them.

But, again, all these "renderer stuff" is about 2D API and we have a pretty good "compositing" backend.


I only tested your testdraw2 binary from bugreport on matnis , and that one for sure works with "--renderer opengl" and giving 410fps for me on minigl.library 2.20.


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project