Re: Uneven V-sync
Triang3l <[email protected]> Tue, 17 Jan 2017 16:06:37 +0300
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <[email protected]> |
Most likely you just have too low framerate in your game, it's way below 60. Maybe you're doing something fundamentally wrong like calling glDrawElements/glDrawArrays for each sprite or uploading textures every frame. Also on Android, there are very few GPU drivers that DON'T let you disable vsync (but, for example, on Adreno only occasionally up to 70-80) without specific system development options, so vsync is a rule, not an exception, there shouldn't be anything broken with it. On 17/01/2017 01:30, rtrussell wrote: > > > > > > > > Edition Chamäleon wrote: > Playing the game, fps can take any number ( 22, 27, 33, 37, 39, 44, 45 > ), means there is no common divisor. Looks like VSYNC isn't working at > all > > > My experience is that SDL_RENDERER_PRESENTVSYNC works as expected on > Android. On four separate devices (like yours, with a wide range of > performances) doing little else but waiting in SDL_RenderPresent() > results in a constant frame rate very close to 60.0 fps. However I am > using GLES 1, not GLES 2, and I don't know whether that makes a > difference. > > Richard. > > > _______________________________________________ > SDL mailing list > [email protected] > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org