Home > other >  Consult a dual monitor refresh rate of different questions
Consult a dual monitor refresh rate of different questions

Time:09-22

Master taught,
Recently in OpenGL, is such a function: double screen, in the main screen to open a video, window display, click on the full screen, the home screen to stop, according to the vice screen full screen, the home screen refresh rate of 60 hz, vice screen refresh rate of 90 hz, found SwapBuffer block in the right time: if only 60 hz screen, the rendering time is 16.6 ms, and the consumption of SwapBuffer about if only take 90 hz screen, consumption is 11 hz, basically is the vertical synchronization time based on the screen to perform rendering shows, so time to a program's logic is very good control, know how long it will take to sleep and then render the next frame data, but the two screens are connected to, feel SwapBuffer time not sure, seems to be mixed two screen refresh cycle, shown in the picture will be a slight trembling,
I guess that is caused by two different screen refresh rate, in the two screen 60 hz or 90 hz screen, display is very stable, I think I can full screen let SwapBuffer blocking time according to the screen refresh cycle to execute,
Master of hope can give to give directions,
  • Related