I’ll start with a simpler, more understandable answer first. It isn’t really what I’m doing, but it’s an analogy. Imagine I have a main game window where all the action happens, and a 2nd window that is not as important (secondary camera or a monitor or something). Naturally I want the main game window to be running optimally since the player does everything in it. One way to do this is to reduce the frame rate of the 2nd window. I’ve checked the frame rate for both windows and they currently run at the same framerate, which is a waste.
The complex answer (and what I’m really doing): I’m trying to do some resource management. I’ve been modifying the engine so that 1 game process allows for multiple game windows, each having their own game instance, game world, and player. It’s like split screen, but using separate windows and the players are not in a shared world. I’d like to have the ability to control the maximum frame rate a particular player’s window will get. If it sounds strange… I’m doing some research.