Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Windows / SetWindowSize and performance issue

Author
Message
gibs
2
Years of Service
User Offline
Joined: 26th Feb 2016
Location:
Posted: 1st Jun 2018 14:37
Hello,

I have some performance issues with my laptop, let's says a recent atom laptop.

To understand where the issue is coming from I took the benchmark the example and noticed that it was running fine with the 500 sprites.

But, if I set the Window Size (SetWindowSize let's says 640/480 fullscreen), it runs at slowly at 30FPS.
I have removed the particles and only display 2 sprites and it runs at 45Fps.

The documentation says:

SetWindowSize
Description:
This sets the window size for platforms that support it, such as Windows and Mac. This will not affect mobile devices. In fullscreen mode the width and height will be ignored and the desktop resolution will be used.

So it means that I can't animate 2 sprites in 1920*1080 fullscreen at 60fps ?
When I remove the SetWindowSize instruction but let the virtual resolution all runs nicely with no performance issues.

What's wrong ?
Thanks.

Login to post a reply

Server time is: 2018-06-22 04:58:53
Your offset time is: 2018-06-22 04:58:53