Home  >  Article  >  What is the use of vertical synchronization?

What is the use of vertical synchronization?

藏色散人
藏色散人Original
2020-12-29 13:47:59169305browse

The function of vertical synchronization is to prevent screen tearing, because the rendering of the screen is not rendered at the same time as the entire screen, but is rendered row by row or column by column; if vertical synchronization is turned off and the computer configuration is not enough, the screen will move at high speed There will be a situation where the tearing of the next picture starts before the rendering of this picture is completed.

What is the use of vertical synchronization?

The operating environment of this tutorial: Windows 7 system, Dell G3 computer.

What is the use of vertical synchronization?

The function of vertical synchronization is to prevent screen tearing. Because the rendering of the picture is not rendered together with the entire picture, it is rendered line by line or column by column. If vertical synchronization is turned off and the computer configuration is not sufficient, the screen will be torn apart before the rendering of this screen is completed while the screen is moving at high speed.

The main difference between turning on and off vertical synchronization is that for games that run at high speeds, such as live and FPS games, turning it on can prevent screen tearing when the game screen moves at high speed.

What is the use of vertical synchronization?

Related introduction:

The concept of screen tearing

Screen tearing can be simply understood as the data of this frame is broken When I enter the monitor, the previous frame has not been erased. The result is that the upper and lower displays on the screen are out of sync.

In fact, image display is a high-speed overlay of pictures one by one to form an image. The number of frames usually refers to the number of times the image is refreshed per second. The computer calculates the picture result and renders it on the screen, and the rendering and calculation time are different. Usually the calculation is very fast, but the rendering is much slower.

If vertical synchronization is turned on, the computer will wait for the rendering of the previous picture to be completed before issuing a command to start the next rendering; if vertical synchronization is not turned on, the computer will be impatient to complete the calculation. The result is rendered on the screen, so it is easy to see that the previous picture has not been rendered yet, and a new picture comes to cover it. If the time difference is too large to a certain extent, screen tearing will occur.

Recommended: "Programming Video"

The above is the detailed content of What is the use of vertical synchronization?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn