We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm experiencing a weird effect. When I set the framerate to 120, the actual framerate will hover around 50-65. If I set the framerate to 60, I'll get around 18-24fps. If I set it to 61fps I'll get about 50fps again. If I set the framerate to 30, it might be even slower. What's going on here?
Also, why does drawing a full frame pimage with transparency under a PGraphics object lower the fps from max 100 to 60?
In other words, I have a max fps at a certain resolution of 120fps. I have a drawing function with a fps "cost" of 20fps. If I display the result of that function as a pg.pimage my fps drops another 40fps. Is there any faster way to render pimages?
Basically, I'm forced to set the fps to 120 to get an acceptable framerate, it seems like there is some kind of optimization going on with the renderer which kicks in when the framerate is set to above 60. How do I make sure whatever that optimization is always on, and if possible how do I crank it up?