SDL_RenderCopy very slow on Lumia 520 Windows Phone 8.1 |
nivrig2
|
|
|||||||||||||
|
SDL_RenderCopy very slow on Lumia 520 Windows Phone 8.1 |
slvn
|
Hello,
I got a similar issue on Windows 10, on a Lumia 1320 phone. Rendering was jerky, compared to IOS, and compared to Android. And also compared with the same phone running an old Windows 8 app build (with SDL2 code like it was 1.5 year ago). I found out (and reported) this small modification : in the file "SDL_render_d3d11.c" (line 1423), change the "BufferCount" from "2" to "3". Cheers, Sylvain On 27 January 2016 at 23:28, John Girvin wrote:
|
|||||||||||||||
|
SDL_RenderCopy very slow on Lumia 520 Windows Phone 8.1 |
nivrig2
|
Thanks, but I just tried that and it made no difference.
Sylvain Becker wrote:
_______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
SDL_RenderCopy very slow on Lumia 520 Windows Phone 8.1 |
slvn
|
Strange, because it definitively solves a very similar issue for me !
I will send you a test case. On 28 January 2016 at 12:15, John Girvin wrote:
|
|||||||||||||||
|
nivrig2
|
Should I report this as a bug?
|
|||||||||||
|
SDL_RenderCopy very slow on Lumia 520 Windows Phone 8.1 |
slvn
|
I tried your test case and my Lumia 1320 + win10, it could reach almost 300 sprites, before going under 60 fps.
On android (htc m7), it was better with 700 sprites. Don't know what performance should be expected though. |
|||||||||||
|
nivrig2
|
Lumia 1320 has a 1.7Ghz core speed compared to the Lumia 520's 1.0Ghz, so your result of 300 sprites is consistent with the Windows version being CPU bound at a very low number of sprites.
|
|||||||||||
|
SDL_RenderCopy very slow on Lumia 520 Windows Phone 8.1 |
slvn
|
Maybe someone more experienced could help or suggest something to try ...
|
|||||||||||
|
DLudwig
|
Hi John, This is David Ludwig. I wrote much of SDL's D3D11 renderer. Admittedly, SDL's D3D11 renderer is a pretty naive implementation, and could -definitely- use some performance work. :-) A bug report sounds fine. Tested patch(es) would be better. Cheers! -- David L. |
|||||||||||||
|
nivrig2
|
Bug 3254 posted. I'm afraid I can't help with the patches though...
|
|||||||||||
|