Home > Software engineering >  How to use openGL precise control screen refresh rate
How to use openGL precise control screen refresh rate

Time:09-24

In using VS2013 environment, cooperate with openGL, using vertical synchronization methods, set up the monitor refresh rate of 120 hz, in actual operation, the screen refresh rate has dropped below 120 hz occasionally, such as 119 hz and 118 hz, excuse me each friend, is there any way to use the program control method to screen refresh rate fixed at 120 hz, don't throw the frame?

CodePudding user response:

Although don't understand, but did not say those big games refresh rate has been constant ah 120 frames is very high in the game has a 60 frames are not card

CodePudding user response:

How much without limit, can brush to frame rate?
QueryPerformanceCounter QueryPerformanceFrequency hardware clock, the precision is higher

CodePudding user response:

Stable frame rate is impossible, even if you display fixed 60 hz, actual it is floating around 60 hz, not absolute

CodePudding user response:

refer to the second floor zgl7903 response:
without limit, can brush to the frame rate?
QueryPerformanceCounter QueryPerformanceFrequency hardware clock, high accuracy


I tried this, feeling is not as good as vertical synchronization stability,

CodePudding user response:

reference dustpg reply: 3/f
stable frame rate is impossible, even if you display fixed 60 hz, actual it is floating around 60 hz, no absolute


Can you ask the reasons for this phenomenon is what?

CodePudding user response:

The refresh rate is affected by model calculation

CodePudding user response:

Baidu search relevant keywords,
  • Related